mail IN CNAME mail.domain.com
Thanks for explaining about the shorthand.Hey there! I'm not sure I totally understand the question. CNAME records are used when you want to point something to a domain name. For example, you could have this record:
The "@" in a DNS zone is just a shorthand way of not typing out the entire domain name, and is not related to a particular record type.Code:
mail IN CNAME mail.domain.com
Can you let me know what you're trying to do? Are you trying to point the content of domainA to domainB?
That's exactly what I want to do but cpanel won't accept this. What's the solution?Thanks for the additional details. I don't see why you couldn't have a main domain point to a CNAME. You'd just want to replace the main "domain.com IN A x.x.x.x" with "domain.com IN CNAME otherdomain.com" and that would take care of it.
Are you sure that will work? Let me try it again thenThanks for the additional details. I don't see why you couldn't have a main domain point to a CNAME. You'd just want to replace the main "domain.com IN A x.x.x.x" with "domain.com IN CNAME otherdomain.com" and that would take care of it.
If I setup a redirect it will have this funny redirect and when you hover over the links on the page it won't show the orginal website url.I did some more digging on this and found this:
"A CNAME cannot be placed at the root domain level, because the root domain is the DNS Start of Authority (SOA) which must point to an IP address. CNAME records must point to another domain name, never to an IP address."
A Canonical Name (CNAME) Record is used in the Domain Name System (DNS) to create an alias from one domain name to another domain name.ns1.com
So while it should *technically* be possible to have this be the only record, as long as an SOA exists, which is required in every DNS zone, this isn't going to be possible.
So no, it doesn't look like this is possible.
It would be better to setup a website and redirect that to the specific page or domain you want.
If the question you are asking, do I have permission to add my domain to their zone, I believe so. It's a parking company and I have linked my domain to their control panel but I can't add the cname for the life of me in cpanel
I'm not sure I understand, but when you say standard A record you mean having the record point to an IP address of the other server? If that's the case, that's not possible because the other server IP addresses changes now and again.You wouldn't be able to add a second domain to their existing zone either. An Alias sets up a redirect inside the Apache configuration so two domains point to the same content. This way, you just use your standard A record and then the site points to the existing content.
|Thread starter||Similar threads||Forum||Replies||Date|
|E||Error: The DNS zone file is invalid. (Line 34: CNAME and other data)||Domain Management||2|
|Can't add a CNAME required by AWS||Domain Management||9|
|O||Adding an SPF record for CNAME record (external email)||Domain Management||10|
|S||Custom Domain for Whitelabel with CNAME||Domain Management||2|
|O||SOLVED CNAME not working||Domain Management||6|