Domain forwarding in AWS Lightsail

0

For example, I have a domain named example.com and I want to direct it to my subdomain such as info.example.com. I'm trying to add a CNAME record for this from the DNS zone section, but I'm getting an error. Error

Berk
gefragt vor 9 Monaten186 Aufrufe
1 Antwort
0

Hello,

CNAME records cannot be configured at the top node (or zone apex) of a DNS namespace.

From Route 53's documentation:

The DNS protocol does not allow you to create a CNAME record for the top node of a DNS namespace, also known as the zone apex. For example, if you register the DNS name example.com, the zone apex is example.com. You cannot create a CNAME record for example.com, but you can create CNAME records for www.example.com, newproduct.example.com, and so on.

I've included links to documentation below, including a link to a community-provided historical context of CNAME records:

AWS
jscta
beantwortet vor 9 Monaten
profile picture
EXPERTE
Steve_M
überprüft vor 9 Monaten
  • Then how can I redirect example.com to info.example.com?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen