Well, not sure I fully understand what you are trying to do, but if you have ‘main’ and ‘admin’ running on two separate servers (behind elastic IP), you can easily create main.example.com
and admin.example.com
by adding example.com
nameservers to Route53 and then create an A record for both main
and admin
.
http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/CreatingHostedZone.html
solved How to set up subdomain on AWS [closed]