[CentOS] Virtualhost, Alias & Subdomains

Jim Perrin jperrin at gmail.com
Fri Jun 9 22:17:26 UTC 2006


> Could I skip the alias part and enter:
> ServerName www.subdomain.domain.com subdomain.domain.com
> subdomain.altdomain.com www.subdomain.altdomain.com


No. You get one ServerName directive, but you can have multiple
ServerAlias entries.
See http://httpd.apache.org/docs/2.0/vhosts/name-based.html and
http://httpd.apache.org/docs/2.0/mod/core.html#serveralias

-- 
This message has been double ROT13 encoded for security. Anyone other
than the intended recipient attempting to decode this message will be
in violation of the DMCA



More information about the CentOS mailing list