Wednesday, May 1, 2013

Hosting prefixed domain name web site on S3 using Route 53

This the process for hosting a domain with a prefix.  For example, you have the domain name migrating2cloud.com already hosted.  Assuming you also have core prefix (aws.migrating2cloud.com) already built.  You now want to create specific prefixes (for example boston.aws.migrating2cloud.com) to hold localized information.

1. Create in S3 bucket in the account where the web site on S3 will be hosted. The bucket name needs to the same name as the web site. In this example: boston.aws.migrating2cloud.com
2. Check radial button next to "Enable website hosting" to make this a S3 bucket that holds a web site. Type in a name for the base html page. In this case, index.html
3. Upload the index.html file into the bucket. Example HTML file is below:
4. Try accessing the web site boston.aws.migrating2cloud.com. It will not work. There is nothing pointing the ‘internet’ (no DNS Name mapping in our DNS provider which in this case is AWS Route 53) to your web site on S3.
5. Create a record set in your Route 53 Hosted zone for aws.migrating2cloud.com for your S3 web site bucket.
A. Go into the Route 53 service
B.Go into the record sets by checking the box next to the hosted zone (aws.migrating2cloud.com) and clicking on “Go to Record Sets”
C. Click “Create Record Set”
The record set has the following values:
- Name: boston
- Type: A- IPv4 address
- Alias with target name: Click and drop down box will show you boston.aws.migrating2cloud.com S3 endpoint
6. Does it work … no … set permissions on the index.html
7. Set permissions on the index.html as well. For open/download by everyone.


More on how point your zone apex and zone www records to Route 53 from your domain name is parked (AWS is not a domain registry)

http://cloudconclave.blogspot.com/2012/10/aws-route-53-domain-name-configuration.html
http://cloudconclave.blogspot.com/2012/07/aws-ec2-amazon-cloud-domain-name-and-ip_11.html

5 comments:

  1. Today website is the most needed thing for everyone. Whether its business or anything else, for everything, website is important. To have a website, the most important thing that is needed is domain name, to make a website host on the internet.

    Domain Name
    Search Domain Name

    ReplyDelete
  2. With it's virtual advent in the penultimate decade and various ameliorative phenomena it went through cloud hosting providers india be it in terms of plans or the speed, cloud hosting tops the list of online availabilities in the current market. The conceptual definition of cloud hosting is running websites on internet using cloud servers. The concept of cloud hosting involves more than one servers working together as one to maximize the hosting services.

    ReplyDelete
  3. Very amazing blog from a accomplished person thank you for sharing Using a website-hosting for something other than your Blogger blog with us. when we read your blogs some unique information we get it.

    bcheap website hosting

    ReplyDelete
  4. Wonderful post and very informative points you have shared in this post. So glad to find this blog.
    webhosting

    ReplyDelete
  5. "Your blog has quickly become one of my favorites. The combination of informative articles, beautiful visuals, and your unique perspective keeps me coming back for more. Kudos to you for creating such an inspiring and enjoyable blog!"
    afghani salwars
    Samprada

    ReplyDelete