I’m new to this and am having an issue creating this subdomain redirect.
I have Synology NAS, and I want to forward a subdomain to the quick connect ID URL.
When I try to name a CNAME record, I get: DNS Validation Error (Code: 1004) Content for CNAME record is invalid.
The URL is more than just a simple domain name, so I’m guessing it doesn’t like /MYID after the URL.
Whats the easiest way to do this?
janik1
4
Hi,
CNAMEs work at the DNS level, telling your browser to ask for a different domain instead. That’s why they can only contain domain names, not URLs.
To create an HTTP redirect, you could do something like this:
- Create a proxied A, AAAA or CNAME record at subdomain.example.com pointing to some web server you control (or set up a simple Cloudflare Pages site).
- Add a Page Rule to do the redirect: Understanding and configuring Cloudflare Page Rules (Page Rules Tutorial) · Cloudflare Support docs
1 Like
Oh thanks, new to this so wasn’t sure what I was doing wrong.
1 Like
Actually, I didn’t even need to make a DNS record or create Pages site.
I just went into the my domain admin panel > Rules > Page rules
Then I just created a simple redirect and it worked.
1 Like
system
Closed
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.