Nayan Patel
Nayan Patel

Reputation: 1761

Want to redirect naked domain name to www.example.com using Route53, my buckets are there in s3 with the same name as domain

My website is opening correctly for www.example.com but when i am trying to create the recordset for example.com and it is appending the www.example.com, and its getting incorrect,

how to remove the appending part, or is there any other way to redirect naked domain to www.example.com ?

Reverse is possible by adding www. But i dont want this.

You can see the beside the name the appending string is given in the screenshot.

enter image description here

Upvotes: 1

Views: 37

Answers (1)

Chris Williams
Chris Williams

Reputation: 35188

It looks as though you created a hosted zone with the www included.

Create a new hosted zone for example.com and migrate the contents of www.example.com into it (except NS and SOA records).

Once you have done this you will then need to update your registrar to use the nameservers for the example.com hosted zone.

Upvotes: 1

Related Questions