By batcave
Hi DO Community,
I’m in the process of moving a client’s website from an old hosting to the DigitalOcean.
Setup: LEMP on Ubuntu 20.04 (+ Wordpress, phpMyAdmin)
I installed and configured SSL certificate (generated with the certbot, --certonly option) on NGINX.
DNS is configured thru DigitalOcean’s Networking panel.
Domain is registered by DirectNic and DNS is set to DigitalOcean’s thru their dashboard.
Issue:
When I run curl -v https://mydomain.io within the droplet I get
* Trying 74.117.219.199:443...
* TCP_NODELAY set
* connect to 74.117.219.199 port 443 failed: Connection refused
* Trying 74.117.219.198:443...
* TCP_NODELAY set
* connect to 74.117.219.198 port 443 failed: Connection refused
* Failed to connect to womaneze.io port 443: Connection refused
* Closing connection 0
curl: (7) Failed to connect to mydomain.io port 443: Connection refused
The IP address is not correct. It points to the old DNS handled by DirectNic.
I can confirm that my browser (after clearing the DNS on my laptop) hits a new IP using the same command mentioned above and loads the website with a valid SSL certificate.
Thanks to the Wordpress’ Site Health Status page I discovered a several Critical Issues which are related to this particular problem and would really appreciate any help/idea on how to fix this DNS issue (within the droplet).
P.S. Just for the reference… Issues reported by Wordpress:
The REST API encountered an error (cURL error 7: Failed to connect to womaneze.io port 443: Connection refused (http_request_failed))
There are problems with the HTTPS connection of your website
Your site could not complete a loopback request (cURL error 7: Failed to connect to womaneze.io port 443: Connection refused (http_request_failed))
Best Regards, Luka
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!
For anyone reading this question… DNS Propagation was the issue. I just waited for a few extra hours and everything seems to be fine now.
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.