You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jennifer Zelazny <we...@calgb.org> on 2004/07/07 03:01:52 UTC

[users@httpd] serving web site locally

Hello.  I have a presentation coming up where I will need to connect 
locally to my web applications server.  I would like to set up a local 
network so the web server would be 10.0.0.2 and the web applications 
server would be 10.0.0.3.  I can access my web site locally by using 
127.0.0.1, but not 10.0.0.2. (I am using Apache 1.3.x and Mac OS X 
10.3.x)  What do I need to do to access it at 10.0.0.2?

The only reason I think I would need to serve 10.0.0.2 is to be on the 
same IP range as the web application server so I can connect to it at 
10.0.0.3 via a URL.  Or can I connect to the web applications server if 
it is configured as 10.0.0.3 while I serve the web site off 127.0.0.1?  
Sorry I do not know much about DNS issues.

Thanks in advance.
Jen




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] serving web site locally

Posted by suomi <ap...@ayni.com>.
Hi Jenny
create an interface of your servers on the 10.0.0.0 net:

ifconfig eth0:y 10.0.0.x

make apache listen on that interface (in httpd.conf)

Listen 10.0.0.x:80

if you use NameVirtualHost make them listen on that interface (in 
httpd.conf)

NameVirtualHost 10.0.0.x

and in the definition of the NameVirtualHost

<VirtualHost 10.0.0.x:80>

suomi

Jennifer Zelazny wrote:

> Hello.  I have a presentation coming up where I will need to connect 
> locally to my web applications server.  I would like to set up a local 
> network so the web server would be 10.0.0.2 and the web applications 
> server would be 10.0.0.3.  I can access my web site locally by using 
> 127.0.0.1, but not 10.0.0.2. (I am using Apache 1.3.x and Mac OS X 
> 10.3.x)  What do I need to do to access it at 10.0.0.2?
>
> The only reason I think I would need to serve 10.0.0.2 is to be on the 
> same IP range as the web application server so I can connect to it at 
> 10.0.0.3 via a URL.  Or can I connect to the web applications server 
> if it is configured as 10.0.0.3 while I serve the web site off 
> 127.0.0.1?  Sorry I do not know much about DNS issues.
>
> Thanks in advance.
> Jen
>
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org