problem Wordpress down after change url

After changing the url of my wordpress installation from the local IP to domain name, the wp-log or wp-admin site won´t load. The home page as well as the post are working but it is still showing the IP adress instead of the domain (but just showing, if I type in the domain name it directs me to the site). Can anyone help me?

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.

Did you updated the references in the database? You need to check the home and siteurl rows in the wp_options table (the table might have a different prefix, but you need to access the options table). The references need to match the domain name. If they’re still set with the IP address, change them to the actual domain name.

Can you check your wp-config.php file for references of the IP address? Also if you can explain what have you done when changing the site name from the IP address to the domain name, as in this way we will know for sure what it’s already done.

Did you updated the home and siteurl references in the wp_options table in the database? They need to match the domain name. You can easily check/update this via phpMyadmin -->