DNS da instancia (EC2) com Google domains

0

I have my instance running and working perfectly, accessing the ec2 automatic DNS: http://ec2-35-171-112-70.compute-1.amazonaws.com/

I have my domain purchased on google domains with the name: ryanbarbosa.dev, I already create a router53 and I took the NS (name servers) and added it to the DNS settings on google domains, as shown in the images below:

Configuration in google domains Configuration in router53

Router53 is already associated with my instance with the public ip as you can see in the image. Instance IP

The problem is that I can't access my instance through dns: ryanbarbosa.dev, I don't know what I'm missing, can someone help me? my application is running with apache, with this config: Apache2 Configuration

I believe the apache configuration is ok. Something I thought was the instance's security group, but I released all possible entries, just to see if it resolved, but no, it didn't prevent it.

Some help? I'm willing to explain more if needed. Hug.

2 Answers
0

Are there any errors when accessing the site?

profile picture
EXPERT
answered a year ago
0

It's not your Apache config. A lookup of ryanbarbosa.dev gives a different address to the one you are expecting:

$ nslookup ryanbarbosa.dev
Server:		8.8.8.8
Address:	8.8.8.8#53

Non-authoritative answer:
Name:	ryanbarbosa.dev
Address: 75.101.184.39

The DNS record for ryanbarbosa.dev is still using the Google name servers - verify this by running dig ryanbarbosa.dev ns or at https://toolbox.googleapps.com/apps/dig/

Your screenshot shows that you have updated these to be the Amazon nameservers, but it clearly hasn't been implemented yet. When you made the change to the nameservers you would have got a confirmation message that the changes had been made. Did it also advise how long you might have to wait (24 or 48 or 72 hours , etc.)?

Your best place to start is Google Domains, and see if anything is still pending (or indeed, if the new config was properly saved in the first place).

profile picture
EXPERT
Steve_M
answered a year ago
profile picture
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions