Connecting from IP working but domain has problems on Wordpress(Ubuntu 14.04)

Posted October 22, 2014 3.4k views

I just joined digitalocean and created a virtual host with wordpress(used the one click install). I followed the tutorial and now when i try to access the site, the domain works but all internal links point to IP.
My DO looks like this:
The test site link is : southparkromania[dot]com
If I need to give any more info, tell me :).


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.

Submit an Answer
1 answer

This will be a database issue.

You’ll need to modify the database for your site, and find all columns in wpoptions that are set to ’http://YOURIP’ and change them to ’http://YOUR_DOMAIN

something like this (this is merely an example – DO NOT COPY/PASTE THIS):

UPDATE wp_options SET option_value='' WHERE option_value='';