You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jean-Rene Cormier <je...@cipanb.ca> on 2003/06/11 14:20:35 UTC
[users@httpd] Name-based virtual hosting behind NAT
I was wondering if it was possible to do Name-based virtual hosting on a
server behind NAT.
Jean-Rene Cormier
---------------------------------------------------------------------
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] Name-based virtual hosting behind NAT
Posted by Miguel González Castaños <mg...@tid.es>.
You need to configure your apache with the local ip address. Therefore if your
apache web server
has an ip address like 192.168.1.2, thats the one you need to use.
As long as you can see your web server now behind the router/firewall you would
be able to use
virtual domains based on names, because this is done at the HTTP headers level not
at TCP/IP level.
HTH
Miguel
Jean-Rene Cormier ha escrito:
> Yes that's what I mean but if the web server is behind a NAT firewall
> will it still works? Will the NAT firewall break something? Or as long
> as the domains points to the internal IP on the internal DNS server and
> to the external IP on the external DNS server it'll work?
>
> Jean-Rene Cormier
>
> On Wed, 2003-06-11 at 09:22, Miguel González Castaños wrote:
> > If you mean you have different domains on the same IP address, yes, Its
> > possible.
> >
> > Have a look in the Apache documentation...
> >
> > Regards
> >
> > Miguel
> >
> > Jean-Rene Cormier ha escrito:
> >
> > > I was wondering if it was possible to do Name-based virtual hosting on a
> > > server behind NAT.
> > >
> > > Jean-Rene Cormier
> > >
> > > ---------------------------------------------------------------------
> > > 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
> >
>
> ---------------------------------------------------------------------
> 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
Re: [users@httpd] Name-based virtual hosting behind NAT
Posted by Jean-Rene Cormier <je...@cipanb.ca>.
Yes that's what I mean but if the web server is behind a NAT firewall
will it still works? Will the NAT firewall break something? Or as long
as the domains points to the internal IP on the internal DNS server and
to the external IP on the external DNS server it'll work?
Jean-Rene Cormier
On Wed, 2003-06-11 at 09:22, Miguel González Castaños wrote:
> If you mean you have different domains on the same IP address, yes, Its
> possible.
>
> Have a look in the Apache documentation...
>
> Regards
>
> Miguel
>
> Jean-Rene Cormier ha escrito:
>
> > I was wondering if it was possible to do Name-based virtual hosting on a
> > server behind NAT.
> >
> > Jean-Rene Cormier
> >
> > ---------------------------------------------------------------------
> > 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
>
---------------------------------------------------------------------
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] Name-based virtual hosting behind NAT
Posted by Miguel González Castaños <mg...@tid.es>.
If you mean you have different domains on the same IP address, yes, Its
possible.
Have a look in the Apache documentation...
Regards
Miguel
Jean-Rene Cormier ha escrito:
> I was wondering if it was possible to do Name-based virtual hosting on a
> server behind NAT.
>
> Jean-Rene Cormier
>
> ---------------------------------------------------------------------
> 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