AWS - Redirecting a Route53 hosted zone to a URL

24 Views Asked by At

enter image description hereI created a hosted zone in Route53.

How can I point it to a url ( Ec2 - which has tomcat app running ) index.html

The Alias option comes disabled for hosted zone.

Thanks

1

There are 1 best solutions below

1
DilLip_Chowdary On

First Thing: You're trying to edit the record with type NS i.e name servers, that's why you have an aliases option non-editable there, this record is created by AWS by default, you shouldn't edit them.

Assuming your domain name is example.com

If you want your site to be hosted in example.com without any subdomain, You should follow the below steps:

  • Create Record
  • Leave record name as blank
  • Choose Record Type A
  • Place your EC2 instance IP Address in value.

This will work (assuming you own that domain, and mapped nameservers in the domain provider)