I have a Windows 2003 server with WAS 8 installed.
I have read the threads on hosting multiple domains on WAS, as in:
"You can't host multiple domains on WAS unless you do:
www.mysite.com/site1
www.othersite.com/site2"
I don't want do that.
I want my server to handle the redirects so that www.mysite.com resolves to the proper application folder, www.othersite.com to its folder, and so on.
I also read the thread on using the Apache web module with Apache Virtual Hosts. That does exactly what I want, but I understand it has now been discontinued. I know it was being used by some Alpha Five hosting companies to do virtual hosting.
I called Alpha today and asked what their recommended solution for virtual hosting was using WAS 8, and they said "buy our new Cluster server addon for V9 that's being released this month."
I'd really rather leverage my investment in WAS 8, thanks just the same.
I know I can do limited virtual hosting by handling Request.host in an Alpha page, but it's not really the way I want to manage this and it can break.
I read the threads on using host header redirects in IIS to handle multiple domains on a single server. I know how to set that up, but what I'm sketchy on is how I handle the port forwarding.
Obviously IIS runs on 80, and I can have WAS run on, say, port 81.
I can make IIS redirect www.mysite.com to www.mysite.com:81/site1, etc. Not pretty, but I can make it work if I open another port, etc.
I'd like the user to just see www.mysite.com instead. So now I'm leaning toward using Apache to do VirtualHost with mod_proxy installed and use it as a reverse proxy to handle the server responses.
I have a feeling that's pretty much what the Apache module for WAS facilitated. I'm not certain the Apache module is really needed if you have a reverse proxy.
Before I start down this path, I thought I would just ask the community if anyone has done this successfully, or has used IIS to do the same thing. I realize this has been asked in different ways before, and there's been a lot of "well, I suppose you could do this, but I don't know if it would work" responses.
I'd like to get a definitive answer because I know A5 hosting companies are doing this and I want to do it on my server to host multiple applications on different domains.
Any help would be appreciated.
I have read the threads on hosting multiple domains on WAS, as in:
"You can't host multiple domains on WAS unless you do:
www.mysite.com/site1
www.othersite.com/site2"
I don't want do that.
I want my server to handle the redirects so that www.mysite.com resolves to the proper application folder, www.othersite.com to its folder, and so on.
I also read the thread on using the Apache web module with Apache Virtual Hosts. That does exactly what I want, but I understand it has now been discontinued. I know it was being used by some Alpha Five hosting companies to do virtual hosting.
I called Alpha today and asked what their recommended solution for virtual hosting was using WAS 8, and they said "buy our new Cluster server addon for V9 that's being released this month."
I'd really rather leverage my investment in WAS 8, thanks just the same.
I know I can do limited virtual hosting by handling Request.host in an Alpha page, but it's not really the way I want to manage this and it can break.
I read the threads on using host header redirects in IIS to handle multiple domains on a single server. I know how to set that up, but what I'm sketchy on is how I handle the port forwarding.
Obviously IIS runs on 80, and I can have WAS run on, say, port 81.
I can make IIS redirect www.mysite.com to www.mysite.com:81/site1, etc. Not pretty, but I can make it work if I open another port, etc.
I'd like the user to just see www.mysite.com instead. So now I'm leaning toward using Apache to do VirtualHost with mod_proxy installed and use it as a reverse proxy to handle the server responses.
I have a feeling that's pretty much what the Apache module for WAS facilitated. I'm not certain the Apache module is really needed if you have a reverse proxy.
Before I start down this path, I thought I would just ask the community if anyone has done this successfully, or has used IIS to do the same thing. I realize this has been asked in different ways before, and there's been a lot of "well, I suppose you could do this, but I don't know if it would work" responses.
I'd like to get a definitive answer because I know A5 hosting companies are doing this and I want to do it on my server to host multiple applications on different domains.
Any help would be appreciated.
Comment