Wildcard A record not resolving to main domain [RESOLVED]
; benmillett.us [761605]
$TTL 86400
@ IN SOA ns1.linode.com. me.benmillett.us. 2016081669 14400 14400 1209600 86400
@ NS ns1.linode.com.
@ NS ns2.linode.com.
@ NS ns3.linode.com.
@ NS ns4.linode.com.
@ NS ns5.linode.com.
@ A xx.239.31.41
* 300 A xx.239.31.41
blog A xx.239.31.41
@ AAAA xxxx:3c00::f03c:91ff:fea8:6409
* 300 AAAA xxxx:3c00::f03c:91ff:fea8:6409
blog AAAA xxxx:3c00::f03c:91ff:fea8:6409
2 Replies
What happens when a web request reaches a server is determined by the webserver configuration.
Apache loads virtual hosts in alphabetical order, and the first one becomes the default. If you want benmillett.us to be the default, you can edit the config file name so that it becomes the first in alphabetical order, e.g., 00-benmillett.us or aa-benmillett.us.