I have a static website hosted in S3 inside the bucket client1.examplecorp.com
with a corresponding R53 record client1.examplecorp.com. A ALIAS s3-website-us-east-1.amazonaws.com.
I want my client's (client1.com) webadmin to create a dns record for the subdomain quotes.client1.com
which will point to AWS (The client1.com does not use R53).
Should it point to client1.examplecorp.com
?
Or directly at the S3 bucket endpoint ?
The concept is that, the final user will see only the quotes.client1.com
subdomain and not know about client1.examplecorp.com
.
I hope I describe it well enough...
I have read the AWS docs about Setting Up a Static Website Using a Custom Domain , Virtual Hosting of Buckets and also this SO post.
I have a feeling that what I am searching for is described here How to redirect domains using Amazon Web Services .
I just do not understand how the registrar of the client will redirect traffic for that specific subdomain (quotes.client1.com) to client1.examplecorp.com by adding the 4 nameservers.
Moreover, will the redirect affect only this subdomain or the whole client1.com .
Finally, will it be completely transparent? Meaning that, the client1.examplecorp.com
will not be shown to the end user?
I have not a firm grasp on explaining it , so please bear with me.