There Are 5 Steps to Add Free SSL Certificate To WordPress SubDomain in Cloudflare. But if you have Elementor Theme then you need to follow one more step to add Free SSL Certificate.
✪ Steps To Add Free SSL To Sub-Domain in CF :
1. Make Sure You Create Sub-Domain in Your Website Cpanel
2. Make Sure You Add Sub-Domain in CloudFlare DNS Page
3. Create SSL Certificate For Sub-Domain in CloudFlare
4. Install SSL Certificate in Our website Cpanel
5. Install SSL Plugin to our Sub-domain
6. only for elementor themes ( Updates)
1. Make Sure You Create Sub-Domain in Your Website Cpanel :
We Need to Create sub-domain in our website cpanel, simply go to yourwebsite/cpanel, and then log in to your account, now simply scroll down and go to the subdomain tab and click on it, now check if your subdomain added over there, if not the first add it.
2. Make Sure You Add Sub-Domain in CloudFlare DNS Page :
Cloudflare automatically add DNS Records Once we Added Cloudflare nameserver in our domain DNS Page, but sometimes it takes time to update, so if you manually add the subdomain to our Cloudflare account then we can quickly add SSL to our subdomain.
Simply Login to your Cloudflare account > then click on your root domain > then click on DNS > Now Add Sub-domain with A Record.
3. Create TSL Certificate For Sub-Domain in CloudFlare :
if you want to quickly mean within a few minutes you want to add SSL to subdomain then it’s better to create TSL Certificate and Add to Our Cpanel
Click on SSL / TSL > Click on Origin Server > Click on Create Certificate > Add Your Preference > Click on Create
4. Install TSL Certificate in Our website Cpanel :
Now We Need to Add Certificate and Private Key to our Cpanel, Simply Go to Your Website Cpanel, and then click on SSL / TSL and then click on install certificate, now select our subdomain and then add certificate text from cloudflare and also private key, once you added both text click on install certificate. now we added ssl certificate to our subdomain.
5. Install SSL Plugin to our Sub-domain :
Now Go back to your subdomain website and then log in to your dashboard. now click on plugins and then click on add new, now search for Really simple SSL, now click on install now and activate the plugin.
Now Click on Go, ahead and activate SSL, now we need to make some changes on the plugin settings page, simply go to the settings tab and then click SSL and then click on settings and then enable 301 .htaccess redirect and then click on save. Now We Done and your subdomain gets Free SSL Certificate for a lifetime.
6. only for elementor themes ( Updates) :
If Your WordPress Subdomain Run on Elementor Theme then You Need to Change some Settings on Elementor. First of all, go to your dashboard and then click on Elementor and then click on tools. now go to Replace URL, Here you Need to Replace URL. Once you Replace URL go to the General tab and then click on Regenerate CSS file then make all you file to https:// secure. and then click on save.
Now Your Sub-Domain Successfully Add Free SSL Certificate
✪ SSL ICON Credit : https://www.freeiconspng.com/img/15223