I actually believe you can do the same thing with Lighttpd, and I think
configuring the proxying is alot easier.

For example, in the lighttpd config file, if you're running your servers on
ports, say, 9000 and 9001:

$HTTP["host"] == "domain1.net" {
  proxy.server  = ( "" => (( "host" => "127.0.0.1", "port" => 8080 )) )

  accesslog.filename = "/home/lighttpd/domain2.net/logs/access.log"
}

I hope that helps. Either way, I don't really know my way around IIS, so you
would need to run a lighttpd server somewhere.

On Thu, Aug 20, 2009 at 5:40 PM, Gerald Drouillard
<[email protected]>wrote:

> On 8/20/2009 5:22 PM, Gilberto Nunes wrote:
> > Hi all
> >
> > I need a miracle here :)
> >
> > I have one and jsut one Public IP.
> >
> > I need that this one Public IP get response for two different domain and
> > get response to and from port 80.
> >
> > One of web server is in windows 2003 server and other web server is in
> > other host, both running IIS 6.0.
> >
> > So, with simple words, I nedd have different DNS names, using the same
> > public IP and the same port 80.
> >
> Have your Linux server be the main web server.  Use Apache's ProxyPass
> and ProxyPassReverse along with VitualHost entries.
>
> --
> Regards
> --------------------------------------
> Gerald Drouillard
> Technology Architect
> Drouillard & Associates, Inc.
> http://www.Drouillard.biz
>
> --
> ubuntu-server mailing list
> [email protected]
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> More info: https://wiki.ubuntu.com/ServerTeam
>
-- 
ubuntu-server mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to