Reverse Proxy Server 2: IIS back-end server: Difference between revisions

Jump to navigation Jump to search
Punctuation and grammatical changes; some clarification.
No edit summary
(Punctuation and grammatical changes; some clarification.)
Line 3: Line 3:
'''Uniform Server - IIS'''
'''Uniform Server - IIS'''


Apache is an awesome web server it will even run ASP applications just install [http://www.apache-asp.org/ Apache::ASP] and you are ready to go. Alternatively you could use that redundant IIS server sitting on your machine and run the appropriate ASP apps from it.
Apache is an awesome web server. It will even run ASP applications. Just install [http://www.apache-asp.org/ Apache::ASP] and you are ready to go. Alternatively, you could use that redundant IIS server sitting on your machine and run the appropriate ASP apps from it.


'''''IIS Server'''''
'''''IIS Server'''''


[http://www.uk.superiorpapers.com/ term paper]
[http://www.uk.superiorpapers.com/ term paper]
Hay! No way am I suggesting making it your main server, it needs putting in its place and that’s as a back-end server. On the previous page you saw how easy it is to run Uniform Server as a proxy. Make the modifications to your main server this gives you Apache and MySQL a powerful combination now proxy to IIS. OK IIS sucks for anything but using ASP.Net however at least you will have a set-up to explore.
Hey! No way am I suggesting making it your main server. It needs to be put in its place and that’s as a back-end server. On the previous page you saw how easy it is to run Uniform Server as a proxy. Make the modifications to your main server and this gives you Apache and MySQL as a powerful combination, now proxy to IIS. OK, IIS sucks for anything but using ASP.Net, however at least you will have a set-up to explore.


'''''Pain'':'''
'''''Pain'':'''


IIS is a pain when you try to tweak it, have a go at setting it as a proxy server and you will get some idea what I mean. Apache does it straight out of the box. In theory you should be able to run all your servers on port 80 and bind to different IP addresses. However IIS is a royal pain and grabs everything associated with the port it’s running on and that includes every IP address on the machine.
IIS is a pain when you try to tweak it; have a go at setting it as a proxy server and you will get some idea what I mean. Apache does it straight out of the box. In theory you should be able to run all your servers on port 80 and bind to different IP addresses. However IIS is a royal pain and grabs everything associated with the port it’s running on and that includes every IP address on the machine.


That said it is relatively easy to change the port it runs on however it is version specific. Below I have listed the common versions full details for other versions can be found at [http://support.microsoft.com/kb/149605 Microsoft support].
That said it is relatively easy to change the port it runs on, however it is version specific. Below I have listed the common versions. Full details for other versions can be found at [http://support.microsoft.com/kb/149605 Microsoft support].


'''''[[#top | Top]]'''''
== Change IIS port ==
== Change IIS port ==
Change the IIS port for example 8080 using Internet Service Manager, each site must bind to port 8080.  
Change the IIS port for example 8080 using Internet Service Manager, each site must bind to port 8080.  
Line 46: Line 45:
|}
|}


Load your ASP apps and check they run.
Load your ASP apps and check that they run.


'''''[[#top | Top]]'''''
== Vhost Set-up ==
== Vhost Set-up ==
The set-up is similar to that shown on the previous page. Edit configuration file C:\server_a\UniServer\usr\local\apache2\conf\httpd.conf\'''httpd.conf'''
The set-up is similar to that shown on the previous page. Edit configuration file C:\server_a\UniServer\usr\local\apache2\conf\httpd.conf\'''httpd.conf'''
Line 82: Line 80:
|}
|}


Depending on your application you may need to preserver host headers try something like this:
Depending on your application you may need to preserve host headers. Try something like this:
{|cellpadding="6"
{|cellpadding="6"
|-
|-
Line 113: Line 111:
Note: port 8080 If you set a different port for IIS use that
Note: port 8080 If you set a different port for IIS use that
|}
|}
'''''[[#top | Top]]'''''


== Summary ==
== Summary ==

Navigation menu