I added domain and now getting ERR_CONNECTION_REFUSED

Posted March 15, 2020 1.7k views

I have added a GoDaddy domain to my server but getting


The server is ubuntu and I am running it with the apache server.

While accessing through IP site is working fine. Please assist.


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.

Submit an Answer
1 answer

Hi @twineradvertising,

Firstly, make sure you have pointed your domain name to your Droplet. If you are unsure how you can do that, please check the following documentation -

Additionally, DigitalOcean have a pretty good tutorial how to point your DNS to a DigitalOcean droplet using different registrars like GoDaddy. You can check the article here -

Now, to the fun stuff. You’ll need to create an Apache virtual host for your website in order for it to work properly. At the moment you don’t have a configuration for your domain and as such the server/droplet, doesn’t know what content to server. Luckily, DigitalOcean have a pretty good tutorial about that as well. You can check it here -

Please follow the mentioned tutorials and they will 100% help you out in your case. If something does happen and it doesn’t work, please update here where you got stuck.


by Josh Barnett
by Kathleen Juell
DNS is the naming system that is used to bind a domain name to a web server. In this guide, we will change the nameservers for a domain that we have registered and point it to a DigitalOcean Droplet.