You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mark Lowe <ma...@boxstuff.com> on 2004/05/23 22:57:50 UTC

[users@httpd] ip aliases vhosts

Hello

I started a thread on this some time ago, and while I appreciated the 
help that was given I still haven't managed to configure things as I've 
tried.

I'd really appreciated hearing from anyone who has this working, rather 
than just understanding the principles as I  understand what the docs 
are saying what I should be able to do, but still cant find a way of 
getting it running.

I've created several ip aliases

10.0.0.10, 10.0.0.11, 10.0.0.12

Listen *:80
Listen *:443

I've tried the following variations.
NameVirtualHost *
and
NameVirtualHost *:80
NameVirtualHost *:443
and
NameVirtualHost 10.0.0.10
NameVirtualHost 10.0.0.11
NameVirtualHost 10.0.0.12
and
NameVirtualHost 10.0.0.10:80
NameVirtualHost 10.0.0.11:80
NameVirtualHost 10.0.0.12:80
NameVirtualHost 10.0.0.10: 443
NameVirtualHost 10.0.0.11: 443
NameVirtualHost 10.0.0.12: 443

And virtual hosts

<VirtualHost 10.0.0.10:80>
ServerName www.foo.com
...

<VirtualHost 10.0.0.10:443
ServerName www.foo.com

and so on.

I need to have this running so I can have multiple ssl certs being 
served from the same box. So wildcarding so Joey's example wont work in 
this case.

Someone must have this working, I've read a few bits and pieces on 
doing this. But something just isn't playing the game .

Many thanks

Mark





---------------------------------------------------------------------
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