Question

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

  • Posted on October 22, 2014
  • allkinAsked by allkin

Hello, 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: http://i.imgur.com/iEs7qZ9.png The test site link is : southparkromania[dot]com If I need to give any more info, tell me :).

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This will be a database issue.

You’ll need to modify the database for your site, and find all columns in wp_options that are set to ‘http://YOUR_IP’ 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='http://domain.com' WHERE option_value='http://1.2.3.4';