This Site Can't Be Reached. Connection Refused. Can access via IP, but not domain.

I pointed a new domain over to my Digital Ocean server for my Wordpress site yesterday morning. After the DNS propogated, everything was working fine. It worked for about 24 hours, but now I am getting a “This site can’t be reached. refused to connect.” error. I have pinged the IP address and it works, and I have done nslookup, and everything seems fine. I checked my domain ( on and everything is fine except I get a red x for CNAME. I deleted and re-added my CNAME record which was just for the www version of the address, but I’m still getting an error, and my site still won’t load. However, if I go to an old page on the site, using the IP address, it will load (i.e. Please advise what I need to do to get the main site to load:

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.

Hello @holepunchdesign

We see that the site is loading with the IP address, but not the domain. It could be because the web server configuration might be having issues. Please refer to our Community article for detailed instructions

Hope this helps!

Cheers, Lalitha