I’ve acquired a domain (fecho.app) in Google Domains and I’ve been trying to link it with a Wordpress project that is running in a Digital Ocean droplet. However, when I access my domain I get the following error: ERR_CONNECTION_REFUSED. Before that, I was able to access my webpage through the IP address.

In order to apply the domain I did the following:

  • In Google Domains I chose “Use the Google Domains name servers”
  • Still on the same page, I added two records in the “Custom resource records” section
Name Type Data
@ A <ip-address>
www CNAME fecho.app

With that, I waited 48 hours as recommended by Google with no avail. The IP address redirects to fecho.app which returns connection refused, nslookup command returns the right IP address, I’ve also checked propagation in dnschecker.org, and the firewall doesn’t seem to be the problem. I’m out of ideas to solve this issue… so any help is really appreciated.

1 comment
  • One side note that CNAME not really necessary and slower than A records for the DNS resolution in the end. Just can use two A records with your IP 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.

2 answers

Hi @myopp,

Firstly, can you confirm if you are using the One-click app or have you installed everything on the droplet yourslef?

If you have configured the droplet on your own, it would seem you haven’t added fecho.app in your vhost configuration of your WebService-Apache.

You’ll need to create the website fecho.app a vhost file. If you are unsure how to do so, please follow the following tutorial - https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-18-04-quickstart


by Lisa Tagliaferri
This tutorial will guide you through setting up multiple domains and websites using Apache virtual hosts on an Ubuntu 18.04 server. During this process, you’ll learn how to serve different content to different visitors depending on which domains they are requesting. For a…
  • Hi @KDSys,

    Thanks for your answer :D

    I built a container in the droplet using the wordpress:5.3.2-php7.2-apache image. I’ll try what you suggested and then report my progress.

    • Thank you for the confirmation!

      I’ll be waiting to hear about it. If anything doesn’t work please do let us know what have you found out and we’ll be sure to help!

Show answer This answer has been marked as resolved by myopp.
Submit an Answer