Hi!
I’ve just recently set up an account at digitalocean and I love it so far! I moved my websites to the server and everything works great when i access them with the ip and using aliases in 000-default, but yesterday I changed the domain name servers to digitalocean and created a domain here and my website is no longer working.
I know it takes between 24 and 72 hours to propagate all the DNS servers, but what is really weird is that if I just create a plain index.php
file with just
<?php
echo "Hi";
?>
it works. As soon as I switch back to my wordpress index.php
and it gives me server not found. I tested it even through google pagespeed insights tool, and it is the same. When i use the simple “Hi” file it loads, when I use the wp file google gives me a DNS error.
Any help is much appreciated. Any suggestions?
Cheers Vasil
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.
It sounds to me like the domain is resolving but the settings in WordPress are not matching up with the newly configured domain. If you can access the wp-admin control panel via the IP address, try adjusting the siteURL fields on the settings page to ensure they match up with the new name.
Based on your description it sounds like WordPress is attempting to redirect connections to a URL that is no longer good.
Click below to sign up and get $100 of credit to try our products over 60 days!
Thanks a lot for that. I didn’t have to do it, as I just found out the problem. I will share it in the answers section.
In a login console, use the command
Look for any "GET"s that fail and examine the URLs for anything unusual. (Press control-c to kill the tail command)