Re: Which web server for multiple domains?

2001-06-29 Thread Bruce Sass
On Thu, 28 Jun 2001, Craig Dickson wrote:

> I've been using the web server Boa, and generally it has done a good job
> without using up too much memory or CPU time. The one thing it doesn't
> do that I now need is to host multiple domains as logically-distinct
> sites. E.g. if someone requests www.domain1.com (not my real domain
> name, btw), I want a different page to come up than if they request
> www.domain2.com, even though the DNS addresses for those sites are
> identical. From the docs, I think Boa could do it if the two sites were
> served through separate network interfaces, but that's not the case
> here. There's one network interface, and the only difference between
> www.domain1.com and www.domain2.com is the domain in the URL (which I
> believe HTTP does provide to the server, so the server should be able
> to differentiate based on it).
>
> Does anyone know if Boa can do this, or if any of the other servers
> could? (I daresay AOLServer or Apache could, but I'd rather go with a
> smaller, simpler server if it will do what I need).

Hmmm, it sounds like you want the virtual host thing...

- add "VirtualHost" to  /etc/boa/boa.conf

- edit /etc/hosts to look like, say...
127.0.0.1   you localhost
127.0.0.2   other1  localhost
127.0.0.3   other2  localhost

- setup /var/www to have dirs named, 127.0.0.{1,2,3}

- restart boa

requests for:
http://you/, http://other1/, and http://other2/ will be served out of
localhost/var/www/127.0.{1,2,3}, respectively.


- Bruce



Re: Which web server for multiple domains?

2001-06-29 Thread nestor diaz
El Vie 29 Jun 2001 01:03, Craig Dickson escribió:
> I've been using the web server Boa, and generally it has done a good job
> without using up too much memory or CPU time. The one thing it doesn't
> do that I now need is to host multiple domains as logically-distinct
> sites. E.g. if someone requests www.domain1.com (not my real domain
> name, btw), I want a different page to come up than if they request
> www.domain2.com, even though the DNS addresses for those sites are
> identical. From the docs, I think Boa could do it if the two sites were
> served through separate network interfaces, but that's not the case
> here. There's one network interface, and the only difference between
> www.domain1.com and www.domain2.com is the domain in the URL (which I
> believe HTTP does provide to the server, so the server should be able
> to differentiate based on it).
>
> Does anyone know if Boa can do this, or if any of the other servers
> could? (I daresay AOLServer or Apache could, but I'd rather go with a
> smaller, simpler server if it will do what I need).
>
> Thanks,
>
> Craig

Check Roxen2,
I am quite happy with it, though is not usually supported by php+mysql 
applications, so you have to make your own installing instructions.
But for simple sites is quite ok
Yours
Nestor Di

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Re: Which web server for multiple domains?

2001-06-29 Thread monolith
AFAIK (and I didn't see documentaion on BOA's site) BOA does not support
Virtual Hosting (what you are talking about). I'm sure some other
httpd's support it, but I _know_ apache does (as I run it).

http://httpd.apache.org/docs/vhosts/index.html

I'm quite happy with Apache, and there is a lot of functionality you
actually might find useful. It really isn't that hard to setup/maintain
either. The documentation is a blessing :)

David

On Thu, Jun 28, 2001 at 10:03:24PM -0700, Craig Dickson wrote:
> I've been using the web server Boa, and generally it has done a good job
> without using up too much memory or CPU time. The one thing it doesn't
> do that I now need is to host multiple domains as logically-distinct
> sites. E.g. if someone requests www.domain1.com (not my real domain
> name, btw), I want a different page to come up than if they request
> www.domain2.com, even though the DNS addresses for those sites are
> identical. From the docs, I think Boa could do it if the two sites were
> served through separate network interfaces, but that's not the case
> here. There's one network interface, and the only difference between
> www.domain1.com and www.domain2.com is the domain in the URL (which I
> believe HTTP does provide to the server, so the server should be able
> to differentiate based on it).
> 
> Does anyone know if Boa can do this, or if any of the other servers
> could? (I daresay AOLServer or Apache could, but I'd rather go with a
> smaller, simpler server if it will do what I need).
> 
> Thanks,
> 
> Craig
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 



Re: Which web server for multiple domains?

2001-06-29 Thread Lamer
If you don't mind, would you like to try a even more bloated one, roxen?

Calvin "Lamer"
Uncertified Linux Player
Email: [EMAIL PROTECTED]
> 



Which web server for multiple domains?

2001-06-29 Thread Craig Dickson
I've been using the web server Boa, and generally it has done a good job
without using up too much memory or CPU time. The one thing it doesn't
do that I now need is to host multiple domains as logically-distinct
sites. E.g. if someone requests www.domain1.com (not my real domain
name, btw), I want a different page to come up than if they request
www.domain2.com, even though the DNS addresses for those sites are
identical. From the docs, I think Boa could do it if the two sites were
served through separate network interfaces, but that's not the case
here. There's one network interface, and the only difference between
www.domain1.com and www.domain2.com is the domain in the URL (which I
believe HTTP does provide to the server, so the server should be able
to differentiate based on it).

Does anyone know if Boa can do this, or if any of the other servers
could? (I daresay AOLServer or Apache could, but I'd rather go with a
smaller, simpler server if it will do what I need).

Thanks,

Craig