UrbanPro
true

Learn Amazon Web Services from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Pointing your domain to website hosted on AWS

Shiva Kumar
20/10/2018 1 0

You may have created and hosted a website on AW, and you would like to users to be accessed using a custom URL.

You can host a static website on S3 and use CloudFront or Route53 to point to your site. This post helps you to do the same.

 

In our example, we will be mapping www.tech-Disqus.in which is bought in GoDaddy to a website hosted on AWS.

 

Mapping custom domain to the website (Static or dynamic) hosted on AWS

You can map your custom domain to the website in two ways.

Create the DNS records in GoDaddy to map the CloudFront URL. It is the preferred way.
Hosting the static website on S3 and using AWS Route 53 and use the custom name servers in GoDaddy (CloudFront is not required).
In our example, we will be mapping www.tech-Disqus.in which bought in GoDaddy to a website hosted on AWS.

The below steps can use to map your CloudFront URL to the custom domain

Assuming you have already hosted a static website hosted on AWS and serving from CloudFront.
Copy the CloudFront URL
Login to GoDaddy with your credentials
Navigate to your domain
Select the domain (www.tech-Disqus.in, in our example) that you need to point to the website
Navigate to manage DNS
Create a new record with below information
Type: CNAME
Host: www
Points to: your AWS CloudFront URL
TTL: The minimum value should be an hour
Save


Note: Your DNS settings for your new WordPress website have successfully been changed in GoDaddy. Please note that DNS changes can take place immediately or up to 48 hours to propagate.

 

Updating/using custom nameservers in GoDaddy

Assuming you have already hosted a static website hosted on S3
Navigate to Amazon Route 53
Create a hosted zone
Input domain name, same as your custom domain
Create
Create Record Set
Input name as www
Type: A-IPv4 address
Select Alias as Yes
Select your S3 bucket as Alias Target
Create
Copy the name servers (select the record where type is NS on the same page in central panel)
Copy the name server values from the right board present in amount. The values start with "ns."
For example, ns-462.awsdns-57.com.,ns-1404.awsdns-47.org.
The below are steps to use custom nameservers in GoDaddy.

Login to GoDaddy with your credentials
Navigate to your domain
Select the domain (www.tech-Disqus.in, in our example) that you need to point to the website
Navigate to manage DNS
Navigate to Nameservers section and click on
select custom as value for choosing your new nameserver type
Enter the copied Nameservers
Save

Note: Your DNS settings for your new WordPress website have successfully been changed in GoDaddy. Please note that DNS changes can take place immediately or up to 48 hours to propagate.

1 Dislike
Follow 2

Please Enter a comment

Submit

Other Lessons for You

Java8 Filters and collectors
Lets say we have collection of strings and we would like to filter (remove) out certain strings from collection. We could achive the same in java 7 and earlier versions import java.util.ArrayList; import...

Java 8 Predicates
In the previous lession, we have learnt how to use filters and collectors. In filter we have passed the condition to evaluate whether the object is eligible to be filtered or not. Code given below for...
X

Looking for Amazon Web Services Classes?

The best tutors for Amazon Web Services Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Amazon Web Services with the Best Tutors

The best Tutors for Amazon Web Services Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more