Last Updated on April 19, 2021 by amitoverflow1
In this article I will show you how to point a Cloudflare domain to 000webhost using CNAME records and NameServers.
A lot of 000webhost users are having problems connecting their domain to the 000webhost free hosting account so I thought it would be worth posting an article to help those users.
000webhost provides two types of domain mapping services.
- Park domain using Name servers
- Point domain using DNS CNAME regards
You can use any of the above mentioned methods to connect your custom domain to your free hosting account.
The first method is really simple . You need to change your domain Nameservers to 000webhost name servers.
Connect domain to 000webhost using nameservers
000webhost provides two nameservers
- ns02.000webhost.com .
You need to change your domain name servers to 000webhost nameservers in order to use your custom domain.
Log in to your domain dashboard on your hosting provider and select the domain you want to change nameservers on.
In case your hosting provider is Hostinger , the Nameserver interface will look something like :
Change or replace your existing nameservers with the two provided by 000webhost and cick on save .
That’s it . Now the next step is to connect your domain to 000webhost dashboard.
Go to your free hosting dashboard and select the site you want to manage.
Click on the Park domain menu and select Park :
On the next page, you will need to add your domain name . Add the root domain name ,ie: example.com :
Click on the “Park domain” and your domain will be added to your 000webhosting account .
You can find your domain on parked domain list.
Here you will have to wait a few hours if the domain NameServers are still not pointing to your hosting account. You can click on the recheck NameServers button to check the status.
If the domain parking is successful , you will have an option to map your custom domain to your 000webhost domain.
000webhost doesn’t provide SSL certificate for custom domains
000webhosting doesn’t provide an SSL certificate for custom domains. You will not be able to use https on your custom domain on 000webhost.
To use SSL for your 000webhost custom domains you need to get an SSL first . You can get free https certificate for your domain from Cloudflare and then point your domain from Cloudflare to 000webhost.
The next section bellow will teach you how to point your Cloudflare domain to 000webhost.
Point Cloudflare domain to 000webhost
You can point your Cloudflare domain to 000webhost using DNS CNAME records.
- Login to your Cloudflare dashboard and select the domain.
- Select the “DNS” option and
click on add new record.
- On the DNS page, create a new record, select
“Type” CNAME .
“Name” : yourdomain.com.
“Target” : “[email protected]
“TTL” : Automatic
You must turn off the orange cloud otherwise 000webhost will not accept your domain as its behind a proxy server. You can turn it on later when your is linked to your hosting account successfully.
This is main reason why users are unable to connect their Cloudflare domain to 000webhosting. You need to turn the yellow cloud off on the DNS page to connect your domain successfully. By turning the yellow cloud off you won’t be able to avail the SSL functionalities of Cloudflare but you can turn it on once your domain is verified in your 000webhosting account.
Finally click on the “Save record” button to save your CNAME records.
This is the easiest way to point your Cloudflare domain to 000webhost using CNAME. Hope this article is helpful.
Thanks for reading!