Question

I added domain and now getting ERR_CONNECTION_REFUSED

Posted March 15, 2020 135 views
Apache

Hi,
I have added a GoDaddy domain to my server but getting

ERRCONNECTIONREFUSED

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

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

thanks

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.

×
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 - https://www.digitalocean.com/docs/networking/dns/

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 - https://www.digitalocean.com/community/tutorials/how-to-point-to-digitalocean-nameservers-from-common-domain-registrars

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 - https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-18-04-quickstart

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.

Regards,
KDSys

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.
Submit an Answer