Results 1 to 3 of 3
Hi,
If I want to host a virtual web where should I config? is it in apache.conf or somewhere else?
Please help. I am just learning debian (I am just ...
- 12-10-2007 #1Just Joined!
- Join Date
- May 2005
- Posts
- 13
Apache2 Again (Virtual Host)
Hi,
If I want to host a virtual web where should I config? is it in apache.conf or somewhere else?
Please help. I am just learning debian (I am just a new victim of linux)
Thanks
- 12-11-2007 #2
The conf is usually in /etc/apache/httpd.conf
The basic syntax for virtual hosts:
<VirtualHost X.X.X.X>
ServerName www.domain.com
ServerAlias domain.com
ServerAdmin mail@domain.com
DocumentRoot /path/to/virtual/host/files
</VirtualHost>
- 12-18-2007 #3Just Joined!
- Join Date
- Nov 2005
- Posts
- 59
in debian it is not httpd.conf check this Creating Name and IP Based Virtual hosts in debian


Reply With Quote
