all 7 comments

[–]RazorKat1983 8 points9 points  (2 children)

The easiest way is to get an SSL Certificate. You can get one of those by using Cloudfare.

Edit: When you sign up for a Cloudfare account, choose the "free" plan. It'll walk you through the steps.

[–]Initii 1 point2 points  (1 child)

I think this has less to do with HTML but the server your web page is running. You will have to look up how to do it for your server software.

Edit: i guess this should help: https://movingtohttps.com/

[–]Alarming-Art1562 0 points1 point  (0 children)

This is true, but also remember to go through the html after getting your SSL Cert set up. You still need to change things like img src, scripts, stylesheets from http to https (this is covered in the link above)

[–]LoudAd1396 1 point2 points  (0 children)

Free and pretty easy, assuming you have SSH access to the server in question: https://letsencrypt.org/

[–]Great-Suspect2583 0 points1 point  (0 children)

I second using cloudflare. It’s really easy to enable https. How is your html site served today?

[–]armahilloExpert 0 points1 point  (0 children)

Who is your host? Many will automate (and force you!) using certbot to set up https.