Sub-domain redirecting to root domain
Hello,
I have created a sub-domain and added the A records but its redirecting to the root domain. The apache server is already set up and the sub-domain mapped into it buts still same issue.
1 Reply
Depending how you imported or added the domain zone into Cloud Manager, you may have inadvertently added a CNAME redirecting your www. subdomain to your root/primary domain. This means that even if you have created another independent A Record for www, the conflicting entry may take precedence and result in an unwanted domain redirection.
I would encourage you to review the following DNS guide and audit your current entries to ensure that none are conflicting:
You should also be mindful that DNS changes are not immediate and can take upwards of 1-2 hours locally and 24-48 hours to propagate globally. DNS propagation can be tested by using tools like DNSChecker: