Report this

What is the reason for this report?

Domian name refused to connect

Posted on April 25, 2020

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 “jdhall.dev refused to connect”.

I checked on https://www.whatsmydns.net and the domain seems to be ok there, my website works when I go to the ip address but not the domain address.



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!

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 - jdhall.dev.

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 :

Apache

https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04

Nginx

https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-18-04

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.