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
已提問 9 個月前檢視次數 186 次
1 個回答
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
已回答 9 個月前
profile picture
專家
Steve_M
已審閱 9 個月前
  • Then how can I redirect example.com to info.example.com?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南