getting https:// for free.

2023-04-09

how to set up cloudflare for that shiny lockpad and https:// :) (for free.)

(do note that this process is for a github-pages hosted site. you might need to configure sum else in other cases)

prerequisites:

  • a cloudflare account (its free).
  • a custom domain name. (you do have to pay for it unless you use something like .tk)

setting up cloudflare nameservers.

"cloudflare is a company that provides a suite of services designed to improve the security, performance, and reliability of websites and internet applications."

anyways so yeah i used cloudflare's free plan to enable https:// on this website.

once you make a cloudflare account, you need to add your site to it.

to do so, add your site by clicking on the button add a site. add a site

after that, put in your site's url, and click on add site. input ur url

scroll down till you get the free plan, select it and then click on continue. free plan yay

confirm that the dns records are matching by heading over to your domain's registrar's dns records. dns records

after that click on continue and then complete the nameserver set up by following the steps given.

you will have to change the nameservers provided by your domain registrar and replace them with the nameservers assigned by cloudflare. name servers

once that is done, click on check nameservers. check nameservers

it might take a while (around an hour) but you will recieve an email once the process is done.

ssl.

okay so you will have to select ssl/tls from the sidebar on the left. sidebar

and then in the overview, you'll have to make sure that the encryption mode is full. encryption

woo shiny lockpad!1!

ayyy we now have this shiny little lockpad :) lockpad