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:
| 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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Looks like the error was related to the fact that the server was not configured with SSL. The HTTP requests would always redirect to HTTPS and so the error I reported would happen.
In order to apply SSL to my server, I changed my project structure while following this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-docker-compose-pt
Now everything is working as expected :)
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
Regards, KDSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.