Today we will learn how to point domain to Amazon EC2 instance. We have two way to do that we will learn both of them. So let’s see how to point domain to EC2 instance
Get Elastic IP and Assign it to Amazon instance
The first thing you need to do is get an Elastic IP, the instance IP can change during reboot etc but elastic IP are static IP’s so you should make sure you create one of them and assign it your running instance.
Step 1 – Open the AWS Management Console, click the EC2 link, and display the page associated with your region.
Step 2 – Click the Elastic IPs link in the EC2 Dashboard.

Click Allocate New Address and choose Amazon’s pool of IPv4 Addresses from the list. Click Yes, Allocate to confirm your choice.


Select the newly created Elastic IP and choose Associate Elastic IP Address.

Choose your desired EC2 instance from the drop-down list of running instances and click Associate.

Method 1:
Step 1: Go to the EC2 instance and copy the IP address

Step 2: Goto Your Domain Provider
Next, Go to your domain provider and choose the domain you want to point. Now open DNS. Now add A record. Like below

Next, Click on Save button.
You can expect a propagation time up to 24 hours. This is because it takes time for the DNS to take effect across the internet. The actual time of propagation may vary in some locations based on your network setup.
Congrats! You have successfully point your domain.
Method 2
Create Hosted Zone and Record Sets
Now, Open the Route 53 console at https://console.aws.amazon.com/route53/.
Next, Select DNS management

After clicking on the DNS Management you will see a new screen where you will find another option called Create Hosted Zone
click on Create Hosted Zone
button

Next, Enter Domain name and hit Create
button

You should see something like below on your screen, Name Space servers, usually there are 4 different entries.Make note of these as you need them in the last step.

Now Create a recordset and add values as shown in image below
- Keep name field empty
- Select Type A
- Select Alias No
- Value – This should be your elastic IP
- Routeing Policy: Simple

Next, We need to bring subdomain too, so www.yourdomain.com should also work
- In name field type www.
- Select Type A
- Select Alias No
- Alias Target from dropdown select your site name
- Routeing Policy: Simple
Add the Amazon NameServers in Control panel of Domain Provider
Now go to your domain provider and select the domain from list you want to point. In my case i am using GoDaddy

Click on the DNS will redirect you on DNS Management page here go to the Nameservers sections and click on Change button

Next, Copy your DNS from aws panel and put here
- Choose I’will use my own nameservers
- Enter all the 4 namespace servers you got from AWS
- Click on Save button

You can expect a propagation time up to 24 hours. This is because it takes time for the DNS to take effect across the internet. The actual time of propagation may vary in some locations based on your network setup.
Congrats! You have successfully point your domain.
If you have any questions or thoughts to share, use the comment form below to reach us.
Thanks.
[…] a static IP so that when my AWS server is rebooted, the domain is still pointing at the correct IP. https://w3path.com/point-domain-to-aws-ec2-instance/ gives a good example of how to set this up. Tl;dr: Set up an Elastic IP through AWS, which […]
What’s up to all, it’s in fact a nice for me to visit this website, it
contains priceless Information.
Also visit my blog post … cheap flights
I am regular reader, how are you everybody? This article posted
at this web page is really pleasant.
Here is my blog post – cheap flights
Hi! Do you know if they make any plugins to help with SEO? I’m trying to get my blog to rank for some
targeted keywords but I’m not seeing very good success.
If you know of any please share. Many thanks!
Here is my website; cheap flights
Thanks for the good writeup. It in fact was a entertainment account it.
Look complex to more introduced agreeable from you! However, how could we communicate?
Feel free to visit my homepage cheap flights (tinyurl.com)
Pretty nice post. I just stumbled upon your blog and
wanted to say that I have truly enjoyed surfing
around your blog posts. In any case I will be subscribing
to your feed and I hope you write again very soon!
Feel free to visit my website; cheap flights
Great site you have got here.. It’s difficult to find high-quality
writing like yours these days. I really appreciate people like you!
Take care!!
Here is my homepage :: cheap flights (tinyurl.com)
canada prescriptions drugs walgreens pharmacy canadian online pharmacy
viagra super power viagra in usa cheap viagra in las vegas nv
legit online pharmacy walgreens pharmacy online pharmacies no prescription
cialis comparison fastest delivery service for cialis real cialis sublingual
skin care viagra canada online medicine order discount
prescription drug canadian pharmacies online prescriptions pharmacy online prescription
best 10 online canadian pharmacies canadian pharmacies online prescriptions prescription price comparison
viagra 50 mg cost of viagra 100mg viagra no prescription cialis
online pharmacies walmart online pharmacy canadian viagra generic pharmacy
generic for viagra viagra overniight how to purchase viagra
Hello colleagues, its enormous article regarding
tutoringand entirely explained, keep it up all the time.
Here is my webpage :: cheap flights (http://tinyurl.com/y3aeorj3)
peligro de usar cialis cialis ukash cialis daily or every other day
money loans richmond va laws regarding payday loans cash loan money centres head office
viagra buy viagra prices at walmart viagra online us pharmacys
viagra for women 2013 cheap viagra in australia viagra substitute over the counter
cialis viro cialis est il efficace buy daily dose cialis
The Expanse Books Tiamat’S Wrath Mosdos Press Literature Pearl
Here is my homepage: pdf file (https://dingssofunin1985.netlify.app/)
merchant cash advance books chase disney cash advance payday loans in lynnwood
payday loans pace fl payday loans effingham il payday loan conroe
cash loans without job illinois cash advance laws cash advance lancaster tx
Old Yiddish Literature Literary Pieces In Pre Colonial Period
my blog: pdf wordpress (https://iratgradzio1972.netlify.app)
Transcendentalism On The Literature Network Teachers To Parents How To Register
Also visit my web-site read online (exanlanro1977.netlify.app)
I just added this web site to my favorites. I enjoy reading your posts. Thanks!