Subdomain resolves the wrong server when a path is entered

We’re here to help :slight_smile:

May I ask if your domain is using the assigned Cloudflare nameservers to your CF account? :thinking:

Furthermore, may I ask if the specified DNS record dev.domain.com is pointed to the correct IP address of the origin host/server which you’re expecting to respond?

In past, do you remember if you have used some other 3rd-party service which hosted something on that particular sub-domain, which could result in such case as you’re describing? :thinking:

Could point to your old hosting IP, which is why you’re experiencing this kind of event and issue.

You should double-check the DNS records at DNS tab of Cloudflare dashboard for your CF account and change it to the correct one, if so, if you’ve changed your hosting provider or service.

I’d suggest you the below post for the start of the troubleshooting: