httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remember...@aol.com
Subject [users@httpd] Configuration of Apache
Date Sun, 21 Mar 2004 19:14:01 GMT
Dear friends,

(Apache2 configuration)
I created directory home and within that created two directories for  
www.domain.com
 www.domain2.org 
within directory of each site I put index files of web sites in each directory

In Apache configuration file I entered following directives

<IfModule mod_ssl.c>
    Include conf/ssl.conf
</IfModule>


    NameVirtualHost *

    <VirtualHost *>
    ServerName www.domain.com
    DocumentRoot /home/domain
    </VirtualHost>

    <VirtualHost *>
    ServerName www.domain2.org
    DocumentRoot /home/domain2
    </VirtualHost>



Once I enter http://localhost I get www.domain.com , how do I visualize 
second web site 
 www.domain2.org 

and how do I see both of these sites over the internet.

Comments, please

Mime
View raw message