How do I make my wordpress site and admin page show after changing from IP to URL

I decided to self host my existing wordpress website (it was previously hosted on Natro) so I set about purchasing a new computer to use as a server, got a dell server and I installed Ubuntu desktop 20.04 (because I find it difficult working with Ubuntu live server) i made my router IP static and also created a static IP for the server. then I installed LAMP on it and it was running. I created a database in the mysql using the same credentials on my existing website. I then proceeded to make a backup of my existing website using Duplicator Pro and installed the website on my new server. The website was up and runnning fine albeit with the IP address of my server. so I went to godaddy that manages my domain name and pointed my domain name to my router IP address. Then I proceeded to change my wordpress website IP to url for both site url and home page to my domain now.

When I did that… My website keeps loading for minutes and then shows A CONNECTION TIME OUT + SERVER TAKING TOO LONG TO RESPOND message without taking me to my website or my wp-admin dashboard anymore. Please help

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.


Once you point a domain name to your server, you would need to change your WordPress site and home URLs to match your new domain name as described here:

Another way fo chaning your site and home URLs is by editing your wp-config.php file and adding the following lines:

define( 'WP_HOME', '' );
define( 'WP_SITEURL', '' );