How to Use Cloudflare for SSL

By default, 000webhost provides a secure connection for all 000webhostapp.com subdomains; however, this isn’t the case for custom domains. But, with this method, you can setup your custom domain with a secure HTTPS connection for free.

First, sign up for an account at 000webhost.com if you don’t already have one. Pick a unique site name and password to ensure security for your account.

Now, create a Cloudflare account at https://dash.cloudflare.com/sign-up. At the next screen, enter your domain name in the text box and click “Add Site”.

Make sure that the free plan is selected by clicking 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. Unless you know you should be keeping some of the records, you should delete them all now. If a dialogue box about missing records appears, click “Confirm”.

Next, you’ll be asked to change your nameservers. This is done at your domain registrar, and it varies by registrar. If you need help changing your nameservers, ask your registrar for help. When you’re done changing your nameservers, go back to Cloudflare and click “Done, check nameservers”.

Now, Cloudflare show you some basic settings to be configured. Configure them as follows, then click “Done”.

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 on the official Cloudflare Community forum. In order to enable full security via SSL, we suggest upgrading to Hostinger services, 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 “Content” section.

Make sure that the orange cloud is turned off, or otherwise 000webhost will not accept your domain name. When all of that is done, your DNS page should look similar to what’s below:

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!

If you want to skip all these steps and use HTTPS on your website, upgrade to Hostinger! All plans come with free automatic Let’s Encrypt SSL certificates, and also allow the use of third-party SSL certificates!

This tutorial was last updated on January 12, 2021.

30 Likes
Https, Site is not safe
Using CloudFlare
Where can I get the IP (for DNS A) and the name of my server?
Enable wildcard subdomains
Site gives a 404 error when www not in URL
My site is missing
Deceptive Site!
Chrome shows my site as not secure
How to activate SSL in my new website?
Beingcrazy.in not working
Error message: 'your connection is not private'
HTTPS error? Connection not private
Un problema que tengo con un dominio nuevo
My website not running for 48 hours now after registering name servers with cloudflare
Freenom CNAME Pointing
Cloudfare ssl domain trouble
Couldn't point my custom domain into 000webhostapp
Cannot access wp-admin after setting https access
How to get ssl certificate?
3rd Party SSL Cerificate
I do not know how to point my domain
Mi sitio dice que no es seguro
Ssl in 000webhost no premium
O dominio não foi renovado e agora não acesso o site
Domain help needed
Email Forwarder not working with my domain anymore
Problem with certificate SSL
Https, Site is not secure
Dirección IP de mi sitio
Wrong URL Redirection
Charlie help Request
Hi cannot point my domain from freenom
Cannot properly link my custom domain to my website
Having A problem With My Nameservers
cPanel Update / Control Panel Fresh Look
Kate cloudflare nameserver question
Wrong SSL certificate after restoring from backup
Wordpress invalid certificate
Problem with domain link
Segui el tutorial de como usar cloudflare pero no funciona
WordPress not showing graphics; only plain text visible
Using Migadu Email Hosting to create and handle domain emails
Use SSL/HTTPS on 000webhost subdomain?
A problem with CloudFlare and Wordpress
Problem with SSL certificate after buying a domain
My website is not secure just in chrome
Migration tutorial > Backing up > Deleting old panel > Migrating to new panel
Is it possible to make blacklist to whitelist?
Website is not accessable
Issue of my domain
Your connection is not private error
Domain not safe
Why https are not secure
My website and cpanel acount is not working
Deleted site, redirect the domaine name
Using Zoho Mail (Free) to manage your domain emails
SLL for Free Account
Still can't access my site (Solved)
How to point domain name to 000webhost.com
Registras MX y TXT en 000webhost
Parked domain not open
Nuevo website para empezar
Not secured website http to https
Application error while trying to enter administrator
Como puedo dirigir mi dominio en hostinger a webhost?
Setting up SSL | Hostinger, 000webhost and Cloudfare
DNS for my domain
Not secure in chrome
Twitter lo considera spam
Website Error | Returning User
Issues with upgrading website to html5 & https
Spf dkim dmarc check
Setting up Cloudfare SSL when domain is already parked
Website not secure anymore
Cant access dashboard
my web loads without end
Spf dkim dmarc check
Use domain name
How to setup Cloudflare in my website
I parked a domain, but I can't see it in the domains list
Connecting an SSL certificate to a domain in Cpanel
Chrome is telling my my site is not secure
Mixed Content - Errors on my site
My webiste walkingdoctor.me is not working
Your connection is not secure
No puedo configurar email forwarders
I want a free and secure site with https://
WordPress Redirection Issue
Help urgent i cannot apont my .com domain here
Too many redirects TTV
Secure connection error
Need help asap on my new webiste
Seting up Cloudflare for SSL
After installtion of wordpress in webhost ,my web site is not working, not able to connect. I only install the wordpress and customize theme . How to sort out this prob .?
Custom domain is being redirected to hosting domain. Need solution
Malware detected on my website
Changing from HTTP to HTTPS is good for SEO?
Problem with changin DNS on frenoom
Urgent Secure website
Custom font load with www and without www
Problema con SSL
Certificat SSL avec domaine externe
Error message: 'your connection is not private'
My Website does not Open
My Website does not Open
Securing a website
How to point domain from hostinger.com to 000webhost hosting?
Get Universal SSL certificate?
My website is unsecure
Website currently HTTP, Google will block after July unless HTTPS?
I need help about domain
Can i get http:// Ssl on my website while using a free plan?
Redirect domain i bought. How?
I want to secure my site so that no one can inspect my site
How to keep custom domain's url (via Cloudflare)?
How To Setup A Free Status Page For Your Website
How To Redirect HTTP to HTTPS Using Cloudflare
How to keep custom domain's url (via Cloudflare)?
SSL Problem
I can not park my own domain correctly
Pointing domain Question
Migrar una web a vuestro servicio
Error accessing my custom domain
Facebook share not working after parking domain
Ssl not secure (error)
Image not shown on 000webhost forum
Https identified my site as not secured
Application error 500 due to w3 total cache
Problemas com a conexão - site não seguro
Unable to Point Domain
Having some issues with SSL and crazy domain
Self Signed SSL Certificate
SSL email activation not recived
SSL email activation not recived
My HTTPS Couldflare security doesn't works
Website say not serure on my domain
Install SSL Certificate
Wp login phishing warning
New Domain https and missing images
I start editing my site for a hours in wordpress and it suddenly gets down and takes 5-6 hours to come back. why?
Site Can't Provide A Secure Connection
Website can't be seen after switching from other hosting
Website is not showing up
My domain appears wrong
Problem with the https
Problem with the https
Too many redirects
I need your help urgently admins
Security steps for website
Having lots of problems with my website
Certificates Mismatch
Cloudflare SSL is not working on my site
Parked My Domain But Still Showing 000webhostapp
My subdomain website does not have a site lock
Point new url to existing url with wordpress
Blacklisted Domain Name Link
DNS propagation
DNS propagation
Captcha anti bot request
Can't seem to find a way to add MX records
What to do with msg entered domain contains words that are blacklisted
Is it possible to restore an unlinked free subdomain?
How To Redirect HTTP to HTTPS Using .htaccess
Where can I see My IP Adress?
Https://www.000webhost.com/forum/t/stuck-on-waiting-for-nameservers-status-for-parked-domain/40579
Site redirects to crackapksite.000webhost.com
Nameservers propagated but website still not ready
Clicked pages loading as mywebsite.000webhostapp.com/example.html and not my domain/example.html
HTTPS Not Private
Cannot set up YANDEX MX record
Ask me a question
Can you have ssl on free hosting?
Can you have ssl on free hosting?
Own domain doesn't appear
Website not loading? Web hosting down?
Create a subdomain such as example.puffycheeses.tk
Help with replying with unmasked email
I cant get 000webhostapp off my name domain
Ayuda con mi dominio
Freenom domain name
Please Help! When I park my domain, I lose my email services
I purchased a domain from Hostinger
Continually redirected to the actual website of "www.domain.com"
My website won't load pages and images properly and its saying https connection not secured
Park Domain Error. Internal Error
Not Secure Site
How to remove .000webhostapp.com from my paid domain
My web site is very slow
How i add free ssl in my domin?
Search google problema https to http
How add SSL to me website?
Chrome issues with my website
How add SSL to me website?
Go daddy domain, zoho mail, 000webhost hosting
How to Park My domain .tech to 000webhost?
504 Gateway Time-out
Website is really slow
Insecure website warning
Google is saying the site is deceptive
Website "Not Secure" messages
I need my ip for my hosting
Nameservers aren't changing
What if I want to have site with www?
Nameservers aren't changing
Malware - not letting me open one of my tabs
Application error 500 please help
Domain not working - keeps redirecting to old domain
Security certificate
Error with dns ns01.000webhost.com and ns02.000webhost.com
How do i use the mx record?
HTTPS Issue - throwing security error
Sitio no seguro
How do I make a custom adress?
Conection is not private error
Conection is not private
Firefox security alert may deter visitors from my sub domain
ERROR The website you are about to access is misleading
Certificate problem
How to set dns of my site on cdn
Error parking domain after panel migration (domain already in use)
My Site is marked as dangerous by google chrome
Security warning
Reset CNAME record
Security error when loading website
Insecure/certificate issue
Certificate Error
My old URL can't be reached
Migration Discussions
(Only) Sub domain isn't working
Can't use cloudflare proxy anymore?
My own domain redirecting to 000webhostapp.com address
Migration tutorial > Backing up > Deleting old panel > Migrating to new panel
What is wrong with my site's security?
Does Lets Encrypt Work?
Webpage is not loading after changing nameservers in freenom from cloudflare
Mydomain.netai.net unsafe warning!
Enable ssl domain on hosting
DNS, cloudflare, e 000webhost
How to set MX Records for GoDaddy under NEW cpanel?
Cloudflare
Unable to access pages under my site
[IMPORTANT] Read this before creating a new topic
Unable to access pages under my site
SSL Certificate Issues
Installating SSL Certificate help
Getting a "ERR_TOO_MANY_REDIRECTS" error when using cloudflare
How to associate a domain-name with hosting
Configuración DNS confusa y complicada
Issue with updating Nameservers to Cloudflare
Where can I find the SSL/TLS Manager?
Transfer domain from web to 000webhost
How to get the IP of your website
Website has invalid https certificate...?
My website has an invalid HTTPS certificate
How to Create a Subdomain Using Cloudflare
Will hosting with free webhosts (such as 000webhost) make a site less optimised?
Ssl certeficate problems
I have only 1 small quick question
Certificado CA, SSL, HTTPS; site identity has not been confirmed
Certificado CA, SSL, HTTPS; site identity has not been confirmed
Compré dominio y no aparece en mi panel
Parked Domain SSL
Parked Domain SSL
Setting another webadress for my 000webhost website
Website appears as not secure
Domain not display
Redirected domain causing security notification
Website is Not Reachable after adding to cloudflare
Issues with redirecting to domain
DNS / SSL with CloudFlare
DNS / SSL with CloudFlare
Mensaje de conexión sitio web no seguro
Too Many Redirects Error when active Cloudflare SSL
Drophunter question
Issues after setting up Cloudflare
Website not responding due to domain
Website is not secure

I would also recommend that any of you using WordPress with a universal SSL certificate use the CloudFlare plugin as there are a few issues that can occur if you don’t {Insecure content and redirect loops}.

8 Likes

Thank you for this, if anyone wants to use this they can read your comment :wink:

4 Likes

No worries. I would also recommend a plugin called SSL Insecure Content Fixer to fix some issues as the content is loaded from a HTTP address and not a HTTPS address.

4 Likes