How to set multiple subdomains in the host file (DNS)?
Posted
by
Milos
on Server Fault
See other posts from Server Fault
or by Milos
Published on 2012-12-18T07:58:22Z
Indexed on
2012/12/18
11:04 UTC
Read the original article
Hit count: 200
I have a lot of subdomains in the main domain xxx.zzz
So, for this domain, I can have
aaa.xxx.zzz
bbb.xxx.zzz
ccc.xxx.zzz
ddd.xxx.zzz
eee.xxx.zzz
....ETC....
Istead of adding each subdomain in the host file, I would like to add only the main domain xxx.zzz and then to be able to access all the subdomains.
I have tryed with *.xxx.zzz but apparently, this will not work (Linux or Windows).
Any idea is welcome. Thank you very much.
© Server Fault or respective owner