New sub domain is pointing to existing sub domain webserver folder location

Hello All,

I have configured a new sub domain called “to.domain.com” in cloudflare by creating CNAME rec. when i try to hit to.domain.com it is pointing to existing another subdomain web server location that is api.domain.com

Can anyone help me on this.

Thanks in Advance.

Thanks,
Bala

You probably did not configure your server properly. You need to configure that hostname on your server as well.

Hi Sandro,

i am using vestCP panel to configure my server. there i have created two hostname www.domain.com and www.to.domain.com. and created record A for to.domain.com under domain.com dns.

Thanks,
Bala

Try pausing Cloudflare and check whether it fixes the issue. If it does not the issue is with your server configuration.

Also, www.to wont work on Cloudflare on HTTPS, unless you purchased a dedicated certificate.

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