Whether you have an existing static website that you now want to host on Amazon S3 or you are starting from scratch, this example will help you host websites on Amazon S3., you will need to create and register one with a registrar of your choice.
You can typically register a domain for a small yearly fee.
You will create a hosted zone in Amazon Route 53 for your domain and configure applicable DNS records.If you are switching from an existing DNS provider, you will need to ensure that you have transferred all of the DNS records for your domain.As you walk through this example, a basic familiarity with domains, Domain Name System (DNS), CNAME records, and A records would be helpful.A detailed explanation of these concepts is beyond the scope of this guide, but your domain registrar should provide any basic information that you need.In this step, we use Amazon Route 53, however most registrars can be used to define a CNAME record pointing to an Amazon S3 bucket., with a registrar of your choice.
After you have chosen a registrar, you will register your domain name according to the instructions at the registrar’s website.For a list of registrar web sites that you can use to register your domain name, see Information for Registrars and Registrants at the website.When you have a registered domain name, your next task is to create and configure Amazon S3 buckets for website hosting and to upload your website content. One bucket will contain the content and you will configure the other bucket to redirect requests.You perform the following tasks in Amazon S3 console to create and configure your website: When you configure a bucket for website hosting, you can access the website using the Amazon S3 assigned bucket website endpoint.In this step, you will configure both buckets for website hosting.First, you will configure Now you will do additional configuration to serve requests from the domain you registered in the preceding step.