dns - how to configure hostname to have identical name as subdomain? -
i've accomplished following on unix system, don't manage same configured on ms windows server:
subdomain.example.org
zone, can setup child hostnames host.subdomain.example.org
. furthermore, subdomain.example.org
entry point subdomain , runs webserver. purpose create a record
points ip address. is, hostname identical subdomain name.
i don't seem able reproduce on windows server. once create subdomain, can't add a record
. what's secret getting , running?
when creating records can use @
symbol record name indicate parent record i.e. no record name. in case applies subdomain zones (and beyond).
example.com = @ in 1.2.3.4 www.example.com = www in 192.168.0.2
example raw dns zone file:
$ttl 14400 $origin example.com. @ 1d in soa ns1.example.com. hostmaster.example.com. ( 2002022401 ; serial 3h ; refresh 15 ; retry 1w ; expire 3h ; minimum ) in ns ns1.example.com. ; in domain in ns ns2.smokeyjoe.com. ; external domain in mx 10 mail.another.com. ; external mail provider @ in 1.2.3.4 ; root record here value example.com ns1 in 192.168.0.1 ;name server definition www in 192.168.0.2 ;web server definition ftp in cname www.example.com. ;ftp server definition bill in 192.168.0.3 fred in 192.168.0.4
Comments
Post a Comment