Checked the CF help documentation and some posts on the community
What feature, service or problem is this related to?
DNS records
What are the steps to reproduce the issue?
I’m using a digital ocean droplet to host my website(funfreegames.online) and cloudflare for DNS.
I’m attempting to create a subdomain eg: 8m1h.funfreegames.online in cloudflare, but it keeps redirecting to the primary domain.
The TTL is 1 min and proxy is turned off. (DNS only). Any suggestions?
If this behaviour continues even when the sub-doimain DNS record is unproxied ( DNS-only), then I am afraid at the origin host/server something is wrong with the configuration vhost file of the Web server, if it redirects to the primary domain.
Otherwise, I’d suggest you to create a sub-domain, proxy and reply here or unproxy so we could help you to troubleshoot where from does the redirection issue come.
I tried with a proxy as well (enabled currently on 8m1h.funfreegames.online). Its still redirecting to the primary domain. To note, I’m want both the domain and the subdomain to display the same content that is available on the primary server, so I’ve pointed them both to the same IP.
Do you think the issue is at DigitalOcean or Wordpress? I couldn’t find any settings in DigitalOcean to disable the redirect. Could it have something to do with Wordpress?