V
V
VITYA-XY12021-02-10 20:27:26
Amazon Web Services
VITYA-XY1, 2021-02-10 20:27:26

How to set up a main domain on Route53 with the same CNAME as its subdomains without error?

What is the point? I have a main domain:
example.com
This domain has subdomains:
api.example.com
www.example.com

....
etc.

Subdomains are directed to the ELB balancer
How can I point the main domain to the same balancer without error?
(InvalidChangeBatch 400: RRSet of type CNAME with DNS name example.com. is not permitted at apex in zone example.com.)

Do I have to remove:
NS, MX, SOA records for the same domain

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2021-02-11
@VITYA-XY1

How can I forward the main domain to the same balancer without error?

Using an alias - https://aws.amazon.com/premiumsupport/knowledge-ce...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question