Basti G.
Basti G.

Reputation: 441

set aws route53 as a cname target

i have bought a domain, for example examp.com, by hoster x. A little bit later i have realized that aws is better for me. I have register a hosted zone with my domain and change the NS-records by hoster x to the NS-Server from my hosted zone.

It works perfect!

But now i would like to whitelabeling my website.

For example a client have a domain abc.de and he would like to access my website with a subdomain sub.abc.de. My idea was to create a CNAME-Record on sub.abc.de that points to examp.com. But that not work (Not Found - The requested URL was not found on this server.).

I have read that the target server gotta know from the CNAME-Record that points to him. But i don't know how can i do that. In my hosted zone i can only register subdomains for examp.com for a ALIAS or so but not for another domain.

Can anybody help me?

Upvotes: 0

Views: 503

Answers (1)

Chris Williams
Chris Williams

Reputation: 35156

If they control the domain of abc.de they are able to create the record their side for sub.abc.de as a CNAME record with the value set as your domain (examp.com).

They should never be attempting to CNAME to your NS server records, these are records for where your DNS records can be retrieved from.

Other than you providing the CNAME value of examp.com to them it is upto them to configure their DNS to target your hostname.

Upvotes: 1

Related Questions