Setting up a DNS for a Sub Domain

HI

I am trying to set up a subdomain for a staging site that has been set up for WordPress. I have been told to use CNAME to set it up but I get an error “DNS Validation Error (Code: 1004) Content for CNAME record is invalid.” the domain I am trying to set up the DNS for is 404 Error but I can’t find away to set it up. any help or advice? Thank you

A CNAME can only point to a hostname. It’s a like-for-like alias. You can’t use paths in CNAMEs.

Thank you for the quick reply. Is there a way to set up my staging site? my Host who is hostgator say that I need to set it up in Cloudflare so that the DNS is propagated. Sorry, I am not technical when it comes to setting up websites.

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