httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simeonidis, Steve" <>
Subject RE: [users@httpd] Virtual Hosting With 2 domains, 1 IP?
Date Fri, 04 Apr 2003 05:59:49 GMT

You need something like in a simple form

NameVirtualHost your_ip

<VirtualHost your_ip>
    DocumentRoot /var/www/html/<something>

<VirtualHost your_ip>
    DocumentRoot /var/www/html/<something>


Steve Simeonidis 
Network Engineer, Spherion Education 
Spherion Group Ltd 
"Making the Workplace Work Better" 
1st Floor, 493 St. Kilda Rd, 
Melbourne VIC 3004, 
+61 3 9243 2382 

-----Original Message-----
From: Marc Boorshtein []
Sent: Friday, 4 April 2003 3:58 PM
Subject: [users@httpd] Virtual Hosting With 2 domains, 1 IP?


I have one server that will have two domains with only 1 IP address.  I
want to use one virtual host to handle mass hosting (, and 1
for administrative functions (  Here is part of my
httpd.conf file :
UseCanonicalName off


        DocumentRoot /var/www/html

<VirtualHost *>
        LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
        CustomLog logs/access_log vcommon

        # include the server name in the filenames used to satisfy
        VirtualDocumentRoot /var/www/hosts/%0/docs

        <Location />
         DAV on


If the first <VirtualHost> is there, I only get what would result from  Any thoughts?

Marc Boorshtein

Marc Boorshtein <>

The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any interference with,

use, disclosure or copying of this material is unauthorised and prohibited; and

(b) may contain personal information of the recipient and/or the sender as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
collect, hold and use such information and any personal information contained in a 
response to this email, for any reasonable purpose in the ordinary course of 
business, including forwarding this email internally or disclosing it to a third party. All

personal information collected by Spherion will be handled in accordance with 
Spherion's Privacy Policy. If you have received this email in error, please notify the 
sender and delete it.

(c) you agree not to employ or arrange employment for any candidate(s) supplied in 
this email and any attachments without first entering into a contractual agreement with 
Spherion. You further agree not to divulge any information contained in this document 
to any person(s) or entities without the express permission of Spherion.

View raw message