UoAWS Route 53 masking

by Rohan Kandwal   Last Updated March 28, 2016 08:01 AM

I have bought my domain from Godaddy and I want to host the website on AWS. I have already setup my AWS hosting account and have updated the NS records on Godaddy to point to AWS using Route 53. Everything is working fine, the domain is picking up AWS hosting data. Now I want to mask a subdomain subdomain.abc.com to subdomain.xyz.com. In Route 53, I can easily forward the subdomain but I can't find any information on how to mask the said domain. Any help will be appreciated.

P.S - If masking isn't possible from Route 53 then what are my best options?

Update:- I am able to redirect subdomain.abc.com to subdomain.xyz.com but the url also changes to subdomain.xyz.com. How can I redirect the subdomain while keeping the url in address bar same? Hope this is more clear.

Answers 1

Masking, no.

Redirecting, yes, with help from S3.

You can create an empty S3 bucket named abc.example.com, configured to redirect all requests to another host, xyz.example.org. Configure an A record in Route 53 for abc.example.com, set "Alias" to "Yes," and select the abc.example.com bucket from the drop-down list of alias targets.

Note that the bucket name of the empty bucket you create must exactly match The original hostname.

https://aws.amazon.com/blogs/aws/root-domain-website-hosting-for-amazon-s3/ explains how configure example.com to redirect to www.example.com but this can also be done across domains, using exactly the same steps.

The target domain does not have to be in Route 53 or even in AWS at all -- only the original domain (the one you want to redirect).

Michael - sqlbot
Michael - sqlbot
March 27, 2016 13:09 PM

Related Questions

How to use AWS S3 Route 53 with Gmail business domain?

Updated September 02, 2017 09:04 AM