Question

I added domain and now getting ERR_CONNECTION_REFUSED

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

ERR_CONNECTION_REFUSED

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

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

thanks

Subscribe
Share

Submit an 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 @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