jeudi 2 juillet 2015

Domain and subdomain setup in AWS Route 53 DNS Service

I am trying to point domain.com and sub.domain.com to the same EC2 instance's elastic ip.

Here's how my zone file looks like:

domain.com -  A record - ELASTIC_IP_ADDRESS
www.domain.com - ALIAS - domain.com
sub.domain.com - ALIAS - domain.com.

There are also SOA and NS records for the domain.com

I have tried making sub.domain.com an A record pointing to the same IP too and no luck whatsoever. DNS resolution is failing for sub.domain.com The strange thing is that resolution is not failing for the www.domain.com

As such, visiting domain.com and www.domain.com function properly but not sub.domain.com

Any idea what is going on?




Aucun commentaire:

Enregistrer un commentaire