Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

How To Use Cloudflare For SSL

First, sign up for an account at 000webhost.com 71 if you don’t already have one.

Then, create a site, picking a name and a password.

Now, create a Cloudflare account at https://dash.cloudflare.com/sign-up 978

Next, click the blue button that says “Add a Site”.


Now, enter your domain name in the text box, then click “Add Site”.

Then, click “Next”.


Now you need to make sure that the free plan is selected. Click the first box on the left, then when you’re
ready, click “Confirm Plan”.

On this next screen, you’ll be asked to confirm your existing DNS records. If they look good, or this is a
new domain and you don’t yet have any records, click “Continue”.
Next, you’ll be asked to change your nameservers. This is done at your domain registrar, and if you’re
using Freenom, it will look similar to this. When you’re done, click “Continue”.

Now, Cloudflare will check for changes in your nameservers. If they don’t show up immediately, click the
“Recheck Nameservers” button to try and speed up the process.

Once the nameservers changes have been verified, you’ll see this screen.
Next, go to the “Crypto” tab of your Cloudflare dashboard. Make sure “SSL” is set to flexible.

Note: This setup, while it enables some of the benefits of SSL (including fixing the insecure warning in
some browsers), is partially insecure. However, it is the only option for setting up a domain on
000webhost. To read more, check out this article 19 on the official Cloudflare Community forum. In order
to enable full security via SSL, we suggest upgrading to Hostinger services 10, which allow for
easy origin-based SSL installation.

Now, go to the “DNS” tab of your Cloudflare dashboard. Add the two cname records for your 000webhost
free site, as seen in the “My Domains” section of your Control Panel. The cname records that you need to
add are below.

"@" points to "yoursite.000webhostapp.com"


"www" points to "yoursite.000webhostapp.com"

“yoursite” needs to be replaced with your website name. And don’t use quotes. The “@” and “www” go in
the “name” section when adding the records, and the 000webhostapp URL goes in the “Domain name”
section.
Make sure that the orange cloud is turned off, or otherwise 000webhost will not accept your domain name.

Then, add your domain in your Control Panel, allowing a few minutes for DNS to propagate.
Once it has been added to your 000webhost panel, go back to Cloudflare and turn the orange cloud on.
This will enable the SSL.

Then, simply design your website and add HTTPS in front of your domain when accessing your site.
Simple as that!

You might also like