apache - apache2 - can I setup a subdomain without creating an A record? -
so have
mydomain.com
and want
test.mydomain.com
can set without creating record subdomain? either .htaccess or
you need in dns. can a
, cname
, or can use wildcard entry like
*.mydomain.com. in cname mydomain.com.
the above wildcard record, match name under mydomain.com
. can use record specific name.
; alias name pointing mydomain.com test.mydomain.com. in cname mydomain.com. ; or, regular dns record test.mydomain.com. in 1.2.3.4
without dns entry, browser not know apache instance begin with. cannot solve .htaccess
or apache config alone, dns must route request apache first.
Comments
Post a Comment