By vshotarov
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
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.