Question

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

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hello,

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:

https://www.digitalocean.com/community/questions/how-to-i-change-wordpress-url-on-ubuntu-droplet-but-not-lose-my-log-in

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', 'https://example.com' );
define( 'WP_SITEURL', 'https://example.com' );

Best,

Bobby