I'm trying to configure a domain name setup like below and having trouble with Route53.
base.com
sub.base.com
*.sub.base.com => CNAME sub.base.com
I've attempt to create a new hosted zone sub.base.com
and add the NS records to base.com
. This does appear to delegate (though I'm not sure it is necessary on AWS). I then add the wildcard CNAME to the sub.base.com
Zone, and also add an A record to the zone. Now when I lookup a name (dig demo.sub.base.com
) dig just gives me back the SOA record and doesn't resolve to the A record.
How should I be configuring this domain layout?