You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Zachary Uram <ne...@gmail.com> on 2010/07/04 08:14:59 UTC
[users@httpd] multiple domains served by 1 IP?
how can i setup my apache2 instance (debian squeeze) on my box (1 ip)
so that i can serve multiple website domains (foo.org, bar.org etc.)?
an explanation or a pointer to specifics on the nitty gritty would be
much appreciated. and i'd like to use named based virtual hosts on
each website served as well.
zach
<>< http://www.fidei.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] multiple domains served by 1 IP?
Posted by Zachary Uram <ne...@gmail.com>.
Great. Thanks Eric and J!
Zach
<>< http://www.fidei.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] multiple domains served by 1 IP?
Posted by "J. Greenlees" <li...@jaqui-greenlees.net>.
Eric Covener wrote:
~snip~
>
> There's no "as well" if you have one IP. You just want name-based
> vhosts where apache will pick the right virtualhost based on the host
> requested:
>
> http://httpd.apache.org/docs/2.2/vhosts/name-based.html
There is one as well, ssl for the virtual hosts will have to be a shared
certificate if ssl is going to be enabled, since it is ip based unlike
the name based vhosts.
[ figure lets save headaches forthe op by mentioning that limitation ;) ]
---------------------------------------------------------------------
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] multiple domains served by 1 IP?
Posted by Eric Covener <co...@gmail.com>.
On Sun, Jul 4, 2010 at 2:14 AM, Zachary Uram <ne...@gmail.com> wrote:
> how can i setup my apache2 instance (debian squeeze) on my box (1 ip)
> so that i can serve multiple website domains (foo.org, bar.org etc.)?
> an explanation or a pointer to specifics on the nitty gritty would be
> much appreciated. and i'd like to use named based virtual hosts on
> each website served as well.
There's no "as well" if you have one IP. You just want name-based
vhosts where apache will pick the right virtualhost based on the host
requested:
http://httpd.apache.org/docs/2.2/vhosts/name-based.html
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
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