[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: running two webservers on the same machine



hi...

I have multiple web servers on the same machine...

- same ip# for various servers...
- different ip# for various web servers

	sales.foo.com
	rnd.foo.com
	www.foo.com
	www.bar.com
	www.xxxxxxxx.com

- just make sure IP_ALIAS is enabled
- make sure you have defined virtual hosts in apache
- make sure you have dummy drivers defined ( dummy_xx... or eth0:xxx
- you have to tweek ifconfig/route/httpd startup sequence

if you want o also have ftp.virtual.com  than it gets trickier..
	- same ip#... you have to bend a little
	- different ip#... no problem ( except it will not say connected ftp.domain.com
		will say "connected ftp.real_machine.com )

if you want email to go to different webmaster for each domain....
no problem... if you are willing to have ( joe_1  and joe_2 and joe_3
for real logins that only you know about )
	joe@foo.com
	joe@bar.com
	joe@xxxxxx.com

have fun
alvin
http://www.Linux-Consulting.com/FAQ_Virtual
	- kinda obsolete but still works..
	- more one one way to solve the 'virtual domain" problems..



> On Wed, Dec 15, 1999 at 06:35:58AM -0800, Pann McCuaig wrote:
> > On Wed, Dec 15, 1999 at 16:35, Shao Zhang wrote:
> > > 	I would like to know if it is possible:
> > > 
> > > 		to run two different web servers on the same physical
> > > 		machine binded to two different ip addresses, both of
> > > 		them using port 80
> > 
> > Try it. (This is always my first answer to this sort of question.)
> 
> It should fail.  If so, you can probably set up a redirector in Apache
> that sends the request to the other web server on another port.  Maybe
> squid can be setup to do something like this.  
> 
> -- 
> William Burrow -- New Brunswick, Canada
> How the Internet explodes myths...
> - the GOOD TIMES email virus hoax, brought to life courtesy Microsoft
> - MAKE MONEY FAST brought to reality on Wall Street by dot-coms and Linux
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 


Reply to: