Host a subdomain on InfinityFree without downtime

I’d like to point subdomain.mydomain.com to mydomain.epizy.com , but the instructions I’ve found here on the forum involve temporarily changing the domain to point entirely to InfinityFree for a while before switching back.

I’d like not to have the interruption now, nor in the future if I create another subdomain.

Is there any way to configure my InfinityFree site to handle these requests from my epizy site?

Welcome

It’s not possible to add your domain name here without changing your nameservers. While it can take 72 hours for DNS to propagate, it can take as little as a few minutes.

I would recommend putting up a maintenance notice on your site, then a few days later, change the nameservers, add the base domain and subdomain to your account, then change the nameservers back again.

And if you want to add more subdomains to a base domain that is already on InfinityFree, you don’t need to change your nameservers to do that.

3 Likes

Thank you for your reply. Unfortunately, I’m not comfortable with the DNS hosting change and the downtime. Thank you anyway for replying so quickly.

would creating a cname of subdomain on your domain host pointing to mydomain.epizy.com work ?

No, that wouldn’t work. The CNAME record only takes care of the DNS part, i.e. pointing your domain to the same IP address of the free subdomain. While making the web request, all that happens is that the browser connects to the IP address and asks for a particular website. But if the server on the IP address doesn’t know which website is linked to the particular domain name, it’s not going to work.

The web server has no way to know which path was taken by DNS to resolve the domain name, or if such a path was taken at all (e.g. hosts file overrides or DNS cache).

2 Likes

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