httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Crongeyer" <rcronge...@oceaneering.com>
Subject Re: [users@httpd] IP address and apache
Date Tue, 16 Mar 2004 21:50:19 GMT
Like this:  
 
  NameVirtualHost *

    <VirtualHost *>
    ServerName www.kwwa.org
    ServerPath /domain
    DocumentRoot /webroot/domain
    </VirtualHost>

    <VirtualHost *>
    ServerName www.seconddomain.org
    ServerPath /domain2
    DocumentRoot /webroot/domain2
    </VirtualHost>

Ralph

>>> Remember14a@aol.com 3/16/2004 3:07:24 PM >>>

Dear friends,
 
    Every time I connect to internet my IP address changes, I have a
dynamic IP address I don't have a static IP address.
I want to host 
www.kwwa.org 
www.seconddomain.org 
 
At present if I check my computer IP address is say  111.22.33.44.
I entered directive as posted below.

 
 
    NameVirtualHost 111.22.33.44

    <VirtualHost 111.22.33.44>
    ServerName www.kwwa.org 
    ServerPath /domain
    DocumentRoot /webroot/domain
    </VirtualHost>

    <VirtualHost 111.22.33.44>
    ServerName www.seconddomain.org 
    ServerPath /domain2
    DocumentRoot /webroot/domain2
    </VirtualHost>
 
Have I done it correctly, Once second time I logon IP address will
change. How do I configure Apache.
 
Comments, please


Mime
View raw message