Web Site 2004-11-03 - By TAYLOR, TIM (CONTRACTOR)
Henry, A server address consists of an IP address and port often implied by the application (80 for http). Change either the IP or the port and you have a different address. Now some confusion may come about if you have seen DNS (or host file) use of discrete host names for the same IP address. In this case the host names resolve to the same IP. If you try configure the same ports on these different host names, there will definitely be a problem. However, using discrete IP addresses, each can use port 80 safely. In fact, as someone else has already mentioned, it is the basis of IP-Based Virtual Hosts to do so and described in the book by Ben and Peter Laurie, Apache: The Definitive Guide. regards, tt
-----Original Message----- From: Leach, Henry [mailto:HLeach@(protected)] Sent: Wednesday, November 03, 2004 2:16 PM To: Subject: RE: [users@(protected)] Web Site
So in a nut shell, even though I will have different IP Addresses, any other web site listening on port 80 will have to be moved to another port....provided I want Apache on port 80?
-----Original Message----- From: Emyr Tomos [ mailto:Emyr.Tomos@(protected)] Sent: Wednesday, November 03, 2004 11:13 AM To: users@(protected) Subject: RE: [users@(protected)] Web Site
Ok I'm a little curious about something - two IP addresses? Surely the only way a single machine can have more than one IP address is to have two separate network interfaces - like two ethernet cards?
Even if you could set one interface to answer to two different IP addresses, surely there would be only one port 80 between them?
Sorry again for going off topic - this piqued my curiosity as it's a little lower-level than I normally go and goes against my (slight) understanding
em
-----Original Message----- From: Patrick Campbell [ mailto:PCampbell@(protected)] Sent: 03 November 2004 19:07 To: 'users@(protected)' Cc: 'HLeach@(protected)' Subject: RE: [users@(protected)] Web Site
Henry,
We answered this yesterday in depth...
You can't run 2 different web server softwares on the same port on the same IP.
You have to either run them on different ports, different IP addresses, or with 1 IP and 1 port, use name based virtual hosts on Apache and ReverseProxy the IIS website.
Patrick Campbell OurVacationStore.com Website Administrator pcampbell@(protected) -----Original Message----- From: Leach, Henry [ mailto:HLeach@(protected)] Sent: Wednesday, November 03, 2004 11:59 AM To: 'users@(protected)' Subject: [users@(protected)] Web Site
Question: I want to host a web site on a server that already has IIS running. The server already hosts another web site running IIS using port 80. I want to use a different IP Address and host another web site using Apache, can I use port 80 with Apache with this different web site using the different IP Address or will I run into trouble. Since port 80 is already occupied by a web site running IIS?
--------------------------------------------------------------------- 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@(protected) " from the digest: users-digest-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
--------------------------------------------------------------------- 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@(protected) " from the digest: users-digest-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE>RE: [users@(protected)] Web Site</TITLE>
<META content="MSHTML 6.00.2800.1476" name=GENERATOR></HEAD> <BODY> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=050494219-03112004>Henry,</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=050494219-03112004> </SPAN></FONT><FONT face=Arial color=#0000ff size=2><SPAN class=050494219-03112004>A server address consists of an IP address and port often implied by the application (80 for http). Change either the IP or the port and you have a different address. Now some confusion may come about if you have seen DNS (or host file) use of discrete host names for the same IP address. In this case the host names resolve to the same IP. If you try configure the same ports on these different host names, there will definitely be a problem.</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=050494219-03112004></SPAN></FONT> </DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=050494219-03112004>However, using discrete IP addresses, each can use port 80 safely. In fact, as someone else has already mentioned, it is the basis of IP-Based Virtual Hosts to do so and described in the book by Ben and Peter Laurie, Apache: The Definitive Guide.</SPAN></FONT></DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=050494219-03112004><FONT face=Arial size=2></FONT></SPAN></FONT> </DIV> <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=050494219-03112004><FONT face=Arial size=2>regards,</FONT> <BR><FONT face=Arial size=2>tt</FONT></DIV> <DIV> <P> <BR></SPAN></FONT><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Leach, Henry [mailto:HLeach@(protected)]<BR><B>Sent:</B> Wednesday, November 03, 2004 2:16 PM<BR><B>To:</B> <BR><B>Subject:</B> RE: [users@(protected)] Web Site<BR><BR></P></FONT></DIV><BR> <P><FONT size=2>So in a nut shell, even though I will have different IP Addresses, any other web site listening on port 80 will have to be moved to another port....provided I want Apache on port 80?</FONT></P> <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From: Emyr Tomos [<A href="mailto:Emyr.Tomos@(protected)">mailto:Emyr.Tomos@(protected)</A>] </FONT><BR><FONT size=2>Sent: Wednesday, November 03, 2004 11:13 AM</FONT> <BR><FONT size=2>To: users@(protected)</FONT> <BR><FONT size=2>Subject: RE : [users@(protected)] Web Site</FONT> </P> <P><FONT size=2>Ok I'm a little curious about something - two IP addresses? </FONT><BR><FONT size=2>Surely the only way a single machine can have more than one IP address is to have two separate network interfaces - like two ethernet cards? </FONT></P> <P><FONT size=2>Even if you could set one interface to answer to two different IP addresses, surely there would be only one port 80 between them? </FONT></P> <P><FONT size=2>Sorry again for going off topic - this piqued my curiosity as it's a little lower-level than I normally go and goes against my (slight) understanding</FONT></P> <P><FONT size=2>em</FONT> </P> <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From: Patrick Campbell [<A href="mailto:PCampbell@(protected)">mailto:PCampbell@(protected) .com</A>]</FONT> <BR><FONT size=2>Sent: 03 November 2004 19:07</FONT> <BR><FONT size=2>To: 'users@(protected)'</FONT> <BR><FONT size=2>Cc: 'HLeach@(protected)'</FONT > <BR><FONT size=2>Subject: RE: [users@(protected)] Web Site</FONT> </P><BR> <P><FONT size=2>Henry,</FONT> </P> <P><FONT size=2>We answered this yesterday in depth...</FONT> </P> <P><FONT size=2>You can't run 2 different web server softwares on the same port on the</FONT> <BR><FONT size=2>same IP.</FONT> </P> <P><FONT size=2>You have to either run them on different ports, different IP addresses,</FONT> <BR><FONT size=2>or with 1 IP and 1 port, use name based virtual hosts on Apache and</FONT> <BR><FONT size=2>ReverseProxy the IIS website.</FONT> </P> <P><FONT size=2>Patrick Campbell </FONT><BR><FONT size=2>OurVacationStore.com</FONT> <BR><FONT size=2>Website Administrator</FONT > <BR><FONT size=2>pcampbell@(protected)</FONT> <BR><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From: Leach, Henry [ <A href="mailto:HLeach@(protected)">mailto:HLeach@(protected)</A>] </FONT><BR> <FONT size=2>Sent: Wednesday, November 03, 2004 11:59 AM</FONT> <BR><FONT size=2>To: 'users@(protected)'</FONT> <BR><FONT size=2>Subject: [users@(protected)] Web Site</FONT> </P><BR> <P><FONT size=2>Question: </FONT><BR><FONT size=2>I want to host a web site on a server that already has IIS running. The</FONT> <BR><FONT size=2>server already hosts another web site running IIS using port 80. I want</FONT> <BR><FONT size=2>to use a different IP Address and host another web site using Apache,</FONT> <BR><FONT size=2>can I use port 80 with Apache with this different web site using the</FONT> <BR><FONT size=2>different IP Address or will I run into trouble. Since port 80 is</FONT> <BR><FONT size=2>already occupied by a web site running IIS?</FONT> </P> <P><FONT size=2>---------------------------------------------------------------------< /FONT> <BR><FONT size=2>The official User-To-User support forum of the Apache HTTP Server</FONT> <BR><FONT size=2>Project. See <URL:<A href="http://httpd.apache.org/userslist.html" target=_blank>http://httpd.apache.org/userslist.html</A>> for more info.</FONT> <BR><FONT size=2>To unsubscribe, e-mail: users-unsubscribe@(protected)</FONT> <BR><FONT size=2> " from the digest: users-digest-unsubscribe@(protected)</FONT> <BR><FONT size=2>For additional commands, e-mail: users-help@(protected)</FONT> </P><BR> <P><FONT size=2>---------------------------------------------------------------------< /FONT> <BR><FONT size=2>The official User-To-User support forum of the Apache HTTP Server Project.</FONT> <BR><FONT size=2>See <URL:<A href="http://httpd.apache.org/userslist.html" target=_blank>http://httpd.apache.org/userslist.html</A>> for more info.</FONT> <BR><FONT size=2>To unsubscribe, e-mail: users-unsubscribe@(protected)</FONT> <BR><FONT size=2> " from the digest: users-digest-unsubscribe@(protected)</FONT> <BR><FONT size=2>For additional commands, e-mail: users-help@(protected)</FONT> </P></BODY></HTML>
|
|