How To setup A Custom Domain For A Website Hosted On Amazon S3

If you would prefer not to have the S3 extension in the URL for your website hosted on amazon S3 ,you have an option to choose a custom domain and point it to your S3 website.

Getting Started:

Step1:Assuming that you have already hosted your webpages on S3 bucket, Select the bucket,click properties button and select the “static web hosting “option under properties. Make sure that you name and your custom domain name should be the same.

Step2: Under static web hosting, copy the endpoint address and save it in a notepad or any other editor, it will be used later.

Step3:Select the “enable website hosting” option under static web hosting , give the index document name as “index.html” and save the changes. (document name is the index page of your website)

s3 custom domain

Step4:Login to your DNS providers website and go to DNS manager. Here am going to use godaddy.com.

Step4:Go to DNS settings ,change the CNAME value to the S3 endpoint provided by amazon S3 and save the settings. It might take 48 hours for the changes to take place.

S3 cname value

ALSO READ:  How To Upload And Download Files In Amazon AWS EC2 Instance

Leave a Reply

Related

To launch an UBUNTU instance on amazon EC2 , you need an account in www.aws.amazon.com. You need to have a valid credit…

Read more
apache mesos on amazon ec2

Mesos is a cluster manager for various applications like Hadoop, spark, docker etc..You can manage clusters for any…

Read more
Password Authentication For AWS ec2 Instances

By default, ec2 instances don't┬áhave password authentication. You have to use the private key to connect to the…

Read more

Have some content ideas! We will help you publish it!

About

Cloud Computing Tutorial Blog

Navigation