"Server not found" only when using wordpress after changing hosting of the domain
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?
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.