Hosting only a custom subdomain with InfinityFree

Hello!

This guide will explain how you can add a subdomain of a domain name you own without adding the main domain. Here is the example I will use in the guide.


Note: I will be using terms that you may not recognize. Please read the first section of this article on domain names if you get confused.


You own the domain example.com and want to add the subdomain blog.example.com to InfinityFree. However, you do not want example.com to be hosted with InfinityFree. Here is how we can accomplish this!

  1. (Optional) Send out a notice to your users saying that your website may be down for a few hours starting at X time.

  2. Change the namservers of your second level domain (example.com) to epizy namservers. And add the domain to your InfinityFree account.

  3. Open the control panel, and select the “Subdomains” section. Enter your subdomain name (blog), then select your domain name (example.com) from the drop down.

  4. Open the file manager and confirm that there is a folder with the name of your subdomain (blog.example.com). If there is not, please open a new topic in the hosting #support category.

  5. Change the namservers of your second level domain (example.com) back to what they were before.

  6. Locate your DNS zone provider (This is the company you pointed your namservers to, it is not InfinityFree.

  7. Add a new CNAME record with your DNS zone provider with the following information:

CONTENT: The name of the sub-domain (blog)
VALUE: The IP address of your account. This can be found in the client area.

  1. Wait for DNS propagation. This process can take up to 72 hours.

  2. Once your new subdomain starts working, congratulations! Now sit back, relax, and like this post :slight_smile:

Have additional questions? Reply below or open a new topic in the hosting support catagory.

7 Likes

I would just add the NS record for the subdomains with my DNS manager. Then add the domain to my hosting account. It works with Hostinger, GoDaddy, Namesilo, and even Cloudflare.

Namservers can only be set at the second level domain level. NS records can be set at most levels. NS records are not the same as namservers, there are slight differences.

4 Likes

work for me though :wink:

1 Like

same

1 Like

Nameservers or Namservers?

You know what I mean

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.