Report this

What is the reason for this report?

How do I set up my domain for being visible in everypage of my droplet

Posted on November 16, 2014

Hey there,

I followed this tutorial (https://www.digitalocean.com/community/tutorials/how-to-set-up-a-host-name-with-digitalocean) to setup my domain in a droplet I have previously configured.

I had my domain (hopsfully.com) registered on DreamHost and if I enter my webpage that way, I can access the index of my droplet without any problem. The issue is when I try to click a link a post and instead of showing something like this:

http://www.hopsfully.com/?p=14

It shows this:

http://104.236.56.173/?p=14

I don’t know what I’m doing wrong so any help is really appreciated. Thanks.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi!

Log in to your WordPress admin dashboard and navigate to Settings -> General. You should see two fields named “WordPress address (URL)” and “Site address (URL)”. Edit them replacing your droplet’s IP address (104.236.56.173) with your domain name (www.hopsfully.com).

That should fix it :)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.