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

November 16, 2014 1.2k views

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.

1 comment
  • Wordpress? You need to change the domain name in Wordpress settings most likely.

1 Answer

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 :)

Have another answer? Share your knowledge.