> ## Content Index
> Fetch the complete content index at: https://comtechies.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How To setup A Custom Domain For A Website Hosted On Amazon S3
- URL: https://comtechies.com/how-to-setup-a-custom-domain-for-a-website-hosted-on-amazon-s3/
- Published: 2013-01-18T17:59:00.000Z
- Updated: 2013-01-18T17:59:00.000Z
- Author: Michael Hayes
- Tags: Amazon AWS, #Migrated-1755084814468, #wp, #wp-post, #Import 2025-08-13 11:34

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](http://1.bp.blogspot.com/-PyQX0l3_N5o/UPmKFw6S5FI/AAAAAAAAAxM/MhkzsJphw-o/s400/1.PNG "s3 custom domain setup")](http://1.bp.blogspot.com/-PyQX0l3%5FN5o/UPmKFw6S5FI/AAAAAAAAAxM/MhkzsJphw-o/s1600/1.PNG?ref=comtechies.com)

**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](http://4.bp.blogspot.com/-3T_E7eZtAMo/UPmNDtfz6fI/AAAAAAAAAxo/ODWGWnNKfRQ/s400/2.PNG "s3 cname")](http://4.bp.blogspot.com/-3T%5FE7eZtAMo/UPmNDtfz6fI/AAAAAAAAAxo/ODWGWnNKfRQ/s1600/2.PNG?ref=comtechies.com)