This is an era when web is being revolutionized towards making web experience whole lot better and to a completely new level. A lot of development is taking place, such as web virtual reality, progressive web apps, accelerated mobile pages, instant articles, etc. And by any chance if your platform is still on http protocol, you immediately need to take some action. So for all those who still are running on http protocol, this article is for you explaining how you can convert your http site into https.
This is not a yet another article explaining how to implement ssl and other related stuff to get your platform to https. In this, I will demonstrate, how you can get your platform https using cloudflare in simple steps. Believe me, this is way lot easier than implementing ssl certificate, and besides it is free.
Here we go!
1- Go to https://www.cloudflare.com and do free sign up.
2- Add your platform name(https://www.escalatingweb.com) and get it scanned for existing dns records.
3- Wait till scanning of the records are completed.
4- When the scanning completes, click on continue.
5- Next you see the screen with all your dns records listed for the entered domain.
6- Now click on continue button at the bottom of the page(end of list).
7- Next you see the page to choose plan for your cloudflare. Select Free Website option and click on continue.
8- Next you see list of cloudflare’s nameservers. The current nameservers(coby.ns.cloudflare.com, ulla.ns.cloudflare.com) are the nameservers provided by your domain supplier(godaddy, bigrock, etc.).[Mine is already shifted to another cloudflare account, that is why it’s showing cloudflare.] Now, in the respective dashboard from wherever you bought your domain, change the nameserver there to listed “change nameservers to”(jerry.ns.cloudflare.com, lisa.ns.cloudflare.com).
i- Open your godaddy account. Find Manage Domain and then manage dns for the corresponding domain.
ii- Next you should land on to dns management page. Click on change button under Nameservers heading.
iii- Choose custom nameserver type and then edit current nameservers to nameservers provided by cloudflare and then save it.
i- Open your bigrock account. Choose your domain name you want to shift to cloudflare.
ii- Next you see Domain Registration page. Click on Name Servers link.
iii- Next you will see a pop up listing nameservers for the corresponding domain. So edit your existing nameservers to the new ones provided by cloudflare.[Do not add more]. Then click on Update Name Servers.
9- Click on continue after you have changed nameservers. Now wait for sometime(10-15 minutes, could be earlier) until your nameservers get shifted.
10- After successful shift of name server, you will see something like this.
11- Choose Page Rule Menu and then click on Create Page Rule.(3 page rules can be created for free)
12- You will see a pop up. Now edit rule(url matches) to redirect all your http web traffic to https. So for that, enter the rule like this, http://www.domain.com*
13- Now click on add a setting and then pick a setting, and then choose Always Use HTTPS option.
14- Now you might see order option, if this is your first page rule for the domain. So, now your click on Save and Deploy.
15- Now you can see your newly created page rule as listed under Page Rules.
16- Now wait for sometime(5-10 mins), and then try to refresh your website(use incognito window to avoid cache effect on to your changes).
17- Bingo! You have converted your http site into https.
Quick Wrap Up- We changed your dns to cloudflare from your non-cloudflare dns, and used cloudflare’s Always Use HTTPS page rule feature. It offers free ssl at dns level, so you don’t have to do anything on your server and can very simply convert your http site into https.
Other useful stuff