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.
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
Nginx
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
Click below to sign up and get $100 of credit to try our products over 60 days!
An update. I still can’t get on to my website in most cases but on another computer I am able to get on my website using safari. It is an unsecure connection using http not https. I have since tried to add and update the ssl certificate on digital ocean but it still isnt fixed.