Networking Forums

Networking Forums > Computer Networking > Windows Networking > Mulitple Web Sites (IIS and Apache) and SSL

Reply
Thread Tools Display Modes

Mulitple Web Sites (IIS and Apache) and SSL

 
 
tshad
Guest
Posts: n/a

 
      01-16-2007, 03:47 PM
We have multiple Websites on one server (IIS) and one appache (tomcat) also
on the same server.

This has worked fine until now. We need secure pages on all the Websites.
We can handle the multiple Websites on IIS by adding a different address on
the NIC card and adding one of the address to each Web Site. Then all the
Websites can share port 443.

But can we do the same with Apache? Can we have the Apache sharing 443 on
the same Web Server as IIS? I assume you can't as you can only have one
application listening on each port. If there is a way around this without
having to buy another server we would be thrilled.

Thanks,

Tom


 
Reply With Quote
 
 
 
 
Andrei Ungureanu [MVP]
Guest
Posts: n/a

 
      01-16-2007, 04:12 PM
use a different IP address for the Apache web server.

--
Regards,
Andrei Ungureanu
www.eventid.net
Test our new EventReader!
http://www.altairtech.ca/eventreader...lt2.asp?ref=au

"tshad" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> We have multiple Websites on one server (IIS) and one appache (tomcat)
> also on the same server.
>
> This has worked fine until now. We need secure pages on all the Websites.
> We can handle the multiple Websites on IIS by adding a different address
> on the NIC card and adding one of the address to each Web Site. Then all
> the Websites can share port 443.
>
> But can we do the same with Apache? Can we have the Apache sharing 443 on
> the same Web Server as IIS? I assume you can't as you can only have one
> application listening on each port. If there is a way around this without
> having to buy another server we would be thrilled.
>
> Thanks,
>
> Tom
>



 
Reply With Quote
 
tshad
Guest
Posts: n/a

 
      01-16-2007, 08:23 PM
"Andrei Ungureanu [MVP]" <contact me via www.itboard.ro> wrote in message
news:(E-Mail Removed)...
> use a different IP address for the Apache web server.


That was the confusion we were running into.

I had thought that only one application (service) on a machine can listen on
one port (having nothing to do with the IP). I know that an IP and Port
Number constitute a socket.

But if you could have more than one application listening on a port, does
that mean that if I have SMTP running on a machine I could add another IP
address to my NIC and have my application listen on Port 25 (what SMTP uses)
but on the other IP Address.

Also, I didn't know you could hook Apache to a different IP Address.

Thanks,

Tom
>
> --
> Regards,
> Andrei Ungureanu
> www.eventid.net
> Test our new EventReader!
> http://www.altairtech.ca/eventreader...lt2.asp?ref=au
>
> "tshad" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> We have multiple Websites on one server (IIS) and one appache (tomcat)
>> also on the same server.
>>
>> This has worked fine until now. We need secure pages on all the
>> Websites. We can handle the multiple Websites on IIS by adding a
>> different address on the NIC card and adding one of the address to each
>> Web Site. Then all the Websites can share port 443.
>>
>> But can we do the same with Apache? Can we have the Apache sharing 443
>> on the same Web Server as IIS? I assume you can't as you can only have
>> one application listening on each port. If there is a way around this
>> without having to buy another server we would be thrilled.
>>
>> Thanks,
>>
>> Tom
>>

>
>



 
Reply With Quote
 
Andrei Ungureanu [MVP]
Guest
Posts: n/a

 
      01-20-2007, 09:46 AM
Ok, so let's say it in a different way: "only one application on a machine
can listen on one SOCKET". So, different IP address, same port number =>
different socket. I haven't worked with Apache but I doubt that it can't be
configured to listen on another ip address.

--
Regards,
Andrei Ungureanu
www.eventid.net
Test our new EventReader!
http://www.altairtech.ca/eventreader...lt2.asp?ref=au

"tshad" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "Andrei Ungureanu [MVP]" <contact me via www.itboard.ro> wrote in message
> news:(E-Mail Removed)...
>> use a different IP address for the Apache web server.

>
> That was the confusion we were running into.
>
> I had thought that only one application (service) on a machine can listen
> on
> one port (having nothing to do with the IP). I know that an IP and Port
> Number constitute a socket.
>
> But if you could have more than one application listening on a port, does
> that mean that if I have SMTP running on a machine I could add another IP
> address to my NIC and have my application listen on Port 25 (what SMTP
> uses)
> but on the other IP Address.
>
> Also, I didn't know you could hook Apache to a different IP Address.
>
> Thanks,
>
> Tom
>>
>> --
>> Regards,
>> Andrei Ungureanu
>> www.eventid.net
>> Test our new EventReader!
>> http://www.altairtech.ca/eventreader...lt2.asp?ref=au
>>
>> "tshad" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> We have multiple Websites on one server (IIS) and one appache (tomcat)
>>> also on the same server.
>>>
>>> This has worked fine until now. We need secure pages on all the
>>> Websites. We can handle the multiple Websites on IIS by adding a
>>> different address on the NIC card and adding one of the address to each
>>> Web Site. Then all the Websites can share port 443.
>>>
>>> But can we do the same with Apache? Can we have the Apache sharing 443
>>> on the same Web Server as IIS? I assume you can't as you can only have
>>> one application listening on each port. If there is a way around this
>>> without having to buy another server we would be thrilled.
>>>
>>> Thanks,
>>>
>>> Tom
>>>

>>
>>

>
>



 
Reply With Quote
 
tshad
Guest
Posts: n/a

 
      01-22-2007, 07:23 PM
"Andrei Ungureanu [MVP]" <contact me via www.itboard.ro> wrote in message
news:%(E-Mail Removed)...
> Ok, so let's say it in a different way: "only one application on a machine
> can listen on one SOCKET". So, different IP address, same port number =>
> different socket. I haven't worked with Apache but I doubt that it can't
> be configured to listen on another ip address.


No, your right. Only one application can listen on one Socket (IP:Port).
The problem was that IIS grabs all the addresses so it looked like when it
was listening on one address the application would listen to all. This is
the case but not because ports are Application dependant, as I thought.

Apache will do the same thing. If you don't define a particular Address, it
will listen on all address on the machine. This would conflict with IIS
which would grab all the addresses. This is solved by using httpcfg to
exclude the address you want to have Apache listen to.

The problem is that it doesn't work completely as documented but close.

Thanks,

Tom
>
> --
> Regards,
> Andrei Ungureanu
> www.eventid.net
> Test our new EventReader!
> http://www.altairtech.ca/eventreader...lt2.asp?ref=au
>
> "tshad" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> "Andrei Ungureanu [MVP]" <contact me via www.itboard.ro> wrote in message
>> news:(E-Mail Removed)...
>>> use a different IP address for the Apache web server.

>>
>> That was the confusion we were running into.
>>
>> I had thought that only one application (service) on a machine can listen
>> on
>> one port (having nothing to do with the IP). I know that an IP and Port
>> Number constitute a socket.
>>
>> But if you could have more than one application listening on a port, does
>> that mean that if I have SMTP running on a machine I could add another IP
>> address to my NIC and have my application listen on Port 25 (what SMTP
>> uses)
>> but on the other IP Address.
>>
>> Also, I didn't know you could hook Apache to a different IP Address.
>>
>> Thanks,
>>
>> Tom
>>>
>>> --
>>> Regards,
>>> Andrei Ungureanu
>>> www.eventid.net
>>> Test our new EventReader!
>>> http://www.altairtech.ca/eventreader...lt2.asp?ref=au
>>>
>>> "tshad" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> We have multiple Websites on one server (IIS) and one appache (tomcat)
>>>> also on the same server.
>>>>
>>>> This has worked fine until now. We need secure pages on all the
>>>> Websites. We can handle the multiple Websites on IIS by adding a
>>>> different address on the NIC card and adding one of the address to each
>>>> Web Site. Then all the Websites can share port 443.
>>>>
>>>> But can we do the same with Apache? Can we have the Apache sharing 443
>>>> on the same Web Server as IIS? I assume you can't as you can only have
>>>> one application listening on each port. If there is a way around this
>>>> without having to buy another server we would be thrilled.
>>>>
>>>> Thanks,
>>>>
>>>> Tom
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Andrei Ungureanu [MVP]
Guest
Posts: n/a

 
      01-29-2007, 05:55 PM
Yeap .. forgot about that "feature" of IIS, socket pooling.
http://support.microsoft.com/kb/238131

--
Regards,
Andrei Ungureanu
www.eventid.net
Test our new EventReader!
http://www.altairtech.ca/eventreader...lt2.asp?ref=au

"tshad" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "Andrei Ungureanu [MVP]" <contact me via www.itboard.ro> wrote in message
> news:%(E-Mail Removed)...
>> Ok, so let's say it in a different way: "only one application on a
>> machine can listen on one SOCKET". So, different IP address, same port
>> number => different socket. I haven't worked with Apache but I doubt that
>> it can't be configured to listen on another ip address.

>
> No, your right. Only one application can listen on one Socket (IP:Port).
> The problem was that IIS grabs all the addresses so it looked like when it
> was listening on one address the application would listen to all. This is
> the case but not because ports are Application dependant, as I thought.
>
> Apache will do the same thing. If you don't define a particular Address,
> it will listen on all address on the machine. This would conflict with
> IIS which would grab all the addresses. This is solved by using httpcfg
> to exclude the address you want to have Apache listen to.
>
> The problem is that it doesn't work completely as documented but close.
>
> Thanks,
>
> Tom
>>
>> --
>> Regards,
>> Andrei Ungureanu
>> www.eventid.net
>> Test our new EventReader!
>> http://www.altairtech.ca/eventreader...lt2.asp?ref=au
>>
>> "tshad" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> "Andrei Ungureanu [MVP]" <contact me via www.itboard.ro> wrote in
>>> message news:(E-Mail Removed)...
>>>> use a different IP address for the Apache web server.
>>>
>>> That was the confusion we were running into.
>>>
>>> I had thought that only one application (service) on a machine can
>>> listen on
>>> one port (having nothing to do with the IP). I know that an IP and Port
>>> Number constitute a socket.
>>>
>>> But if you could have more than one application listening on a port,
>>> does
>>> that mean that if I have SMTP running on a machine I could add another
>>> IP
>>> address to my NIC and have my application listen on Port 25 (what SMTP
>>> uses)
>>> but on the other IP Address.
>>>
>>> Also, I didn't know you could hook Apache to a different IP Address.
>>>
>>> Thanks,
>>>
>>> Tom
>>>>
>>>> --
>>>> Regards,
>>>> Andrei Ungureanu
>>>> www.eventid.net
>>>> Test our new EventReader!
>>>> http://www.altairtech.ca/eventreader...lt2.asp?ref=au
>>>>
>>>> "tshad" <(E-Mail Removed)> wrote in message
>>>> news:(E-Mail Removed)...
>>>>> We have multiple Websites on one server (IIS) and one appache (tomcat)
>>>>> also on the same server.
>>>>>
>>>>> This has worked fine until now. We need secure pages on all the
>>>>> Websites. We can handle the multiple Websites on IIS by adding a
>>>>> different address on the NIC card and adding one of the address to
>>>>> each Web Site. Then all the Websites can share port 443.
>>>>>
>>>>> But can we do the same with Apache? Can we have the Apache sharing
>>>>> 443 on the same Web Server as IIS? I assume you can't as you can only
>>>>> have one application listening on each port. If there is a way around
>>>>> this without having to buy another server we would be thrilled.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Tom
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mulitple IP to a single NIC ? Peter Windows Networking 2 12-21-2007 07:09 AM
Mulitple WAN IP Brian Sullivan Windows Networking 3 11-22-2006 05:20 PM
Explorer not opening http sites while https sites work Hendrik G. Seliger Windows Networking 0 09-13-2005 09:12 PM
WiFi Hotspot Directory now includes over 12,000 sites including Intl sites! Riverwalk Mobile Windows Networking 0 09-16-2004 02:49 PM
mulitple (concurrent) RDP connections? =?Utf-8?B?UkRQX25vdmljZQ==?= Windows Networking 2 06-09-2004 01:36 PM



1 2 3 4 5 6 7 8 9 10 11