I created droplet today, and installed WordPress.
After that i change website site URL HTTP to Https:
After that website is not loading,
Error: This site can’t be reached refused to connect. Try:
Please help.
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.
Hi @kuldeepsinghurchin,
You need to install an SSL certificate and then depending on what you are using either Nginx or Apache2 enable it to listen on port 443. The best and easiest way is to use certbot. It will install a Let’s Encrypt certificate and automatically configure your WebSerivce(Nginx or Apache2).
You can follow this article for further assistance:
https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04
Hi there,
Before changing the WordPress URL from HTTP to HTTPS you need to install an SSL certificate.
Depending on wether you are using Apache or Nginx you can follow the steps on how to obtain a free Let’s Encrypt certificate using
cerbot
here:Once you’ve installed the SSL, you will be able to access your website via HTTPS.
Hope that this helps!
Best,
Bobby