[CentOS] Virtualhost, Alias & Subdomains
Ben Gore
ben at cleocat.comFri Jun 9 22:10:20 UTC 2006
- Previous message: [CentOS] Virtualhost, Alias & Subdomains
- Next message: [CentOS] Virtualhost, Alias & Subdomains
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Dave J. Hornford wrote: > I am having a problem with subdomains, alias & virtual hosts > Centos 4.3, Apache 2.0.52 & PHP 5.04 > I can get the primary to work, but not the aliased servers. > http.conf extract > ********* > NameVirtualHost * > <VirtualHost *> > ServerName www.domain.com <http://www.domain.com> > DocumentRoot /var/www/html/domain/ > ServerAlias www.altdomain.com <http://www.altdomain.com> > </VirtualHost> > > <VirtualHost *> > ServerName subdomain.domain.com > DocumentRoot /var/www/html/subdomain/ > ServerAlias www.subdomain.altdomain.com > <http://www.subdomain.altdomain.com> > </VirtualHost> > ********** > Are you trying to access the alias on the local machine or a remote machine? Does DNS reflect the correct information, or need to be updated to reflect the alias(es)?
- Previous message: [CentOS] Virtualhost, Alias & Subdomains
- Next message: [CentOS] Virtualhost, Alias & Subdomains
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list