httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: [users@httpd] Using Virtual hosts for all the websites in one instance of Apache
Date Sat, 05 Dec 2009 21:51:09 GMT
Charan wrote:
> Hi,
> we have hundreds of websites and each website has multiple sub
> domains. All the sites are running under sun web server 7.0
> For example, is the main domain, it also has sub
> domain as will be redirected back to
> sometimes, if the domain name is
> then it is redirected to a deep link of
> like or else some
> external link. All these redirections should be 301 and also non wwww
> to www. These domain names have been setup at the DNS level.
> Instead of adding virtual host for in sun web server. Our
> company wants to add all these subdomains of all websites in one
> instance of apache web server. Is it possible to do?
> -
Probably, but it would help if you stopped using words like "subdomain" 
in a context that does not seem to make sense.
In no way is for example a subdomain of, 
and talking of subdomains of a website makes no sense at all.
You may want to have a look at the on-line Apache documentation, and 
particularly at directives such as ServerName and ServerAlias, and at 
the virtual host documentation at
and also maybe at mod_rewrite :

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message