How to point my namecheap domain to my EC2 intance

0

So far I found my way to Route 53 and it is probably what I need to use. So I found my way to a page called hosted zones and created a new Hosting zone, it asked for a domain name and i used the domain name I bought from Namecheap let us call it example.com. Continuing from there I saw that some record sets were already created one with the type "NS" and another with the type "SOA" I thought that the four NS values I got might be the ones I needed to connect to my Custom Namecheap DNS. I did so and waited a day and now and still nothing has happened. I have a feeling I am doing something wrong, which is why I ask for help now.

Artonn
질문됨 4년 전1867회 조회
8개 답변
0
수락된 답변

Hi,

I just realized that you didn't mention creating any records of your own in your Route 53 hosted zone. That's how you specify that you want to route internet traffic for your domain (for example, artonn.com) to your resources. For information about creating records, see "Working with Records":

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/rrsets-working-with.html

If you're using an Amazon EC2 instance, see "Routing Traffic to an Amazon EC2 Instance":

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-ec2-instance.html

Scott

전문가
답변함 4년 전
0

Hi,

Based on your description, you've taken the correct steps to make Route 53 the DNS service for the domain that you registered with Namecheap. It can take a couple of days for a change of DNS service to take effect because DNS resolvers typically cache your name servers for two days. For an explanation of how this works, see "How Amazon Route 53 Routes Traffic for Your Domain" in the Route 53 Developer Guide:

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-dns-service.html#welcome-dns-service-how-route-53-routes-traffic

Scott

전문가
답변함 4년 전
0

Hi Scott.

What makes me a bit confused is, how does the route 53 hosted record that I made know to point the domain to my E3 Instance? I am running a web server on it.

Artonn
답변함 4년 전
0

Thank you very much for the links Scott, I will check them out.

I have hear people talk about elastic ip, is that something i need to do as well?

  • Artonn
Artonn
답변함 4년 전
0

Hi,

Yes, you'll want an Elastic IP address. That prevents the IP address of your EC2 instance from changing when you restart it. That's mentioned in "Routing Traffic to an Amazon EC2 Instance":

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-ec2-instance.html

Scott

전문가
답변함 4년 전
0

Perfect thank you, Scott.

I have created an A record, that contains my elastic IP associated with the EC2 instance in the value. I have used the NS values for my NameCheap DNS custom record.

Am I all set up now, and it is only about time before my domain name points to my server?

EDIT:

I just checked my url today, and I am simply getting an "Cannot connect to this website" browser error.

Artonn
답변함 4년 전
0

Hi,

If you post your domain name, I'll take a look at your DNS configuration.

Scott

전문가
답변함 4년 전
0

Today my domain finally connected to the elastic IP. I can now access my website with the url, without problem. Thank you very much for your help, greatly appreciated.

Artonn
답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠