Installed a fresh droplet. Certbot gave message “Connection Refused” Domain is propagating A record on www and without. Wordpress page loads under http://ip-address, but not under domain name.

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.

×
3 answers

Thanks for the answer. It was just that the domain propagation has not completed.

Hi,

It’s been a while since you posted the question, are you able to connect via domain name now?
May I know if you have added the domain from the SSH prompt script?

Best,
Eric

Hello, eleu

To use Certbot, you’ll need a registered domain name and two DNS records:

  • An A record from the domain (e.g., example.com) to the server’s IP address
  • An A record from the domain prefaced with www (e.g., www.example.com) to the server’s IP addressAdditionally, if you’re using a virtual hosts file, you’ll need to make sure the server name directive in the VirtualHost block (e.g., ServerName example.com) is correctly set to the domain.

Also keep in mind that there might be a DNS propgation still in place. DNS changes might take up 24-48h in order to fully update due to ISPs DNS cache and other factors.

You can make sure that you’re not blocking requests on port 80 via your Firewall. If you have custom UFW rules this can be the case. You can quickly check this with:

sudo ufw status

Hope that this helps!
Regards,
Alex

Submit an Answer