Re: Running Multiple Windows Services on port 8080

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

 



You /can/ run multiple sites from different IP addresses on the same
or different ports, using virtual hosts, which are well documented in
apache. It basically just allows you to use custom configurations
depending on which IP address is accessed. So for instance, you could
have a different DocumentRoot for each ip address, which will quite
effectively give you different sites.

Do you actually have different network interfaces for each ip address?
Or do they all map to the same interface? If they're distinct
interfaces, I don't see any reason you couldn't set up a different
service for each one, but then again, I have no idea how to do it. If
they're all just a single network interface, then I'm pretty certain
it's not possible. This would pretty much defeat the purpose of a
port, which is to map a specific network connection to a specific
process.

But it sounds like virtual hosts might be sufficient for what you
need. You don't actually need different apache services to run
different sites at the same time.

Hope that helps.
-Brian

On Tue, Sep 30, 2008 at 3:36 PM, jwberger <jwberger28@xxxxxxxxxxx> wrote:
>
> I am novice when it comes to Apache.  I have installed 2.2.9 on a Windows
> 2003 server and can get it to run fine.  The server has one NIC with three
> IP addresses bound to it.  In installed Apache as a Windows service and
> edited the httpd.conf file so that the server listened on port 8080.  I
> would like each IP address to run a different site on port 8080 and I would
> like each site to have its own Windows service so that I can individually
> shut down a site.  Is this possible?  It seems like if I start just one
> service I can hit each IP at port 8080 and they all work.  Can you assist me
> in what I am doing wrong.
> --
> View this message in context: http://www.nabble.com/Running-Multiple-Windows-Services-on-port-8080-tp19748920p19748920.html
> Sent from the Apache HTTP Server - Users mailing list archive at Nabble.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@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux