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

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -