http to https Change

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.

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Site Moderator
Site Moderator badge
October 22, 2022

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:

Bobby Iliev
Site Moderator
Site Moderator badge
October 21, 2022

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:

  • Nginx:

  • Apache:

Once you’ve installed the SSL, you will be able to access your website via HTTPS.

Hope that this helps!



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up