Domian name refused to connect

I bought a domain from google domains and have pointed it to the digital oceans name servers but whenever I go to the domain name it comes back with “ refused to connect”.

I checked on and the domain seems to be ok there, my website works when I go to the ip address but not the domain address.

Show comments

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.

Hi @jdhall,

It sounds like to me like you didn’t have a proper virtual configuration created about your domain -

As for the https related problem, it would mean you don’t have an SSL certificate and it does seem like the configuration file for SSL was not configured.

As I don’t see you posting if you are using either Apache or Nginx, I’ll provide you with both articles :



Both tutorials use Let’s Encrypt which is free to work with and I’ll recommend going through the tutorial which is relevant to your WebService.

Regards, KDSys