Recommended method for routing www to zone apex (naked domain) using AWS Route 53

Dan Christian asked:

In my AWS Route 53 control panel I simply have 2 A records currently set up for the ‘www’ and the ‘non www’ names. Both point to the Elastic IP address associated with my EC2 Instance. This works well and my website is available at both variations but I really want all ‘www’ to route to the ‘non www’.

What is the reccomened method, using AWS Route 53, for routing all traffic that comes to…


My answer:

It is not the function of DNS to rewrite your web application’s URLs. You do this in the web server or in the web application itself.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.