amazon ec2 - Domain and subdomain setup in AWS Route 53 DNS Service -


i trying point domain.com , sub.domain.com same ec2 instance's elastic ip.

here's how zone file looks like:

domain.com -  record - elastic_ip_address www.domain.com - alias - domain.com sub.domain.com - alias - domain.com. 

there soa , ns records domain.com

i have tried making sub.domain.com record pointing same ip , no luck whatsoever. dns resolution failing sub.domain.com strange thing resolution not failing www.domain.com

as such, visiting domain.com , www.domain.com function not sub.domain.com

any idea going on?

there more 1 way this, think want like:

domain.com -  record - elastic_ip_address www.domain.com - cname - domain.com. sub.domain.com - cname - domain.com. 

cname records non-alias.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -