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
asked 8 months ago170 views
1 Answer
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
answered 8 months ago
profile picture
EXPERT
Steve_M
reviewed 8 months ago
  • Then how can I redirect example.com to info.example.com?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions