I have already added subdomain entry under DNS. but subdomains are not working properly for all time. like if I refresh my subdomain site or call any file more 3-5 times it redirect to main domain and says subdomain not exist, I need to click back to reach to subsite again.
Before moving to Cloudflare, were your sub-domains working over HTTPS connection?
May I ask if they are like example sub.domain.com or www.sub.domain.com?
May I ask what SSL option have you got selected under the SSL/TLS tab at Cloudflare dashboard for your domain ( Flexible, Full, Full Strict … )?
Not sure if it’s HTTP(S) issue, if so:
May I ask have you tried using a different Web browser, or tried clearing your Web browser cache?
How about using a Private window (Incognito mode) or a VPN connection if possible?
Is it the same behaviour on your mobile phone (4G LTE, mobile data, cellular)?
And it’s pointed to the correct IP address, therefore status is proxied ?
Thanks for your response. Here is detail about your queries:
Sub domains are working over https without www, you can check this sub domain: https://healthwebsite.coachleads.pro/ if refresh multiple time it move to main domain.
SSL option selected “Full” under SSL/TLS tab
3.Yes, DNS entery is already added for subdomain and its status is proxied. And it is pointing to correct IP, that’s why subsite works, but with too many reloads or ajax requests from subdomain. It redirect to main domain.
Yes, tried in multiple browsers Mozila private mode, Google chrome guest mode, Microsoft edge guest mode.
If we normally access subsite it works, but if we post some ajaxrequests or reload several times it redirect to main domain. Please help me with this.Thanks
I cannot replicate this at my end.
I refreshed enough times in different Web browsers and cannot get the same result as you.
It doesn’t redirect me, nor loads “main page”. It stays “as-is” on the sub-domain URL.
I am not aware of the code itself, neither what the response does look like, nor should be a JSON format or rather HTML code, or something else
Furthermore, the Ajax form for “newsletter” is working fine.