@arberzylfiu the cheapest way is 0.00$ for you.
- Register domain.
- Set nameservers to InfinityFree and add your domain into vPanel so you can manage its things on IF hosting-side.
- Set nameservers to Cloudflare without removing domain from InfinityFree’s vPanel.
- Add your domain to cloudflare system, basically it should scan your domain for DNS records and restore them, but sometimes it doesn’t work, but however you don’t really need them so you can start it over without any DNS saved from InfinityFree.
- Set up settings like encryption, caching and other things that CF provides.
- Let’s get your domain work with InfinityFree:
6.1. Your domain “still” in InfinityFree network so it should accept connections, if you deleted domain from InfinityFree’s vPanel then it won’t work and probably will redirect to suspendeddomain.
6.2. Go to your vPanel and in left menu bar search for Main Domain, should be like
6.3. Go to DNS section(cloudflare) and set up CNAME record of your domain:
CNAME | name | domain name
CNAME | example.com | somethings.epizy.com
CNAME record will point your website to the same IP address that your main domain pointed to, you could use A record but it’s not recommended since your account IP may be changed without any warning.
6.4. Make sure all of your DNS go through CloudFlare, the cloud to the left of record should be orange.
6.5. Wait and test when your domain will get working with SSL, if you had experience with CloudFlare you know how to configure it i guess.
BTW: also add cname record with name
www that points to your main.epizy.com or your own domain, since your own domain pointed to mainepizy domain you can use it instead of mainepizy to point subdomain to right IP.
- Let’s get subdomain working!
7.1. First, create the subdomain in vPanel. You go to InfinityFree cPanel, then to vPanel, clicking on Subdomains section and adding your subdomain, so it won’t redirect to suspendeddomain.
7.2. Now you gotta add subdomain to your Cloudflare DNS section:
**Record shouldn’t look like
subdomain.domain.com points to
domain.com, it should be like
subdomain points to
domain.com, I’ll give screenshot example below.
So since you added DNS record and your subdomain works, it actually should be working with SSL, some screenshots and URLs I have for you:
- My domain: mrjunior.ml -> SSL secure
- Subdomain: api.mrjunior.ml -> SSL secure as well.
ALSO: screenshot of my DNS record if you didn’t understand something. You can ask me also
I guess it will help you, @arberzylfiu! And can become kinda KB article, @Admin.