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.
When I run
curl -v https://mydomain.io within the droplet I get
* Trying 184.108.40.206:443... * TCP_NODELAY set * connect to 220.127.116.11 port 443 failed: Connection refused * Trying 18.104.22.168:443... * TCP_NODELAY set * connect to 22.214.171.124 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!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!