• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question Domain alias and DNS

Erwan

Regular Pleskian
Server operating system version
AlmaLinux 9.4
Plesk version and microupdate number
18.0.69
Hi all,

I have a primary domain "a.com" on which I want to place an alias with a subdomain "cdn.a.com".
Usually, when the DNS for "a.com" is managed on the server, I know that you must first create the alias and then add the A zone to the DNS. If you do the opposite, the addition of the alias is rejected because the DNS entry is detected.

I have a problem with this case, however, because the entry to add to the DNS is not an A entry but a CNAME.
And now I'm stuck: I can't add the CNAME:cdn entry to "a.com".

I get the message:
Error: This record will conflict with the glue record for zone 'cdn.a.com'.

I don't understand, there are no other "cdn.a.com" entries.

If I delete the alias, I can enter the DNS CNAME entry, but then I can't add the alias again...

What should I do?

Erwan
 
Since your using a sub domain as an alias, the alias probably does not need it own zone. So what you could do is to disable the DNS for the alias in Plesk. Make sure you'll have dns synchronization turn off first, before you can disable the DNS completely for the alias. That way you can add the CNAME to the primary domain.
 
Hello Sebahat,

No... it's not a CNAME on the root.

I want to create a CNAME cdn.a.com (to 'cdn.anotherdomain.com') on my domain 'a.com'.
It works but after i can not create my domain alias "cdn.a.com" on "a.com".

It's possible to create alias first but after i can not create CNAME...
 
I don't have checked DNS service for the alias.
You mean you haven't checked DNS synchronization when adding the alias? In that case you can go to the DNS settings of the alias directly and disable the DNS. Afterwards you will be able to add the CNAME record on the main domain without any issue.
 
Back
Top