I am looking for a solution to host multiple websites for multiple domains. From this discussion, it seems that if I want to do so under one account, I can use Winhost, but would have to setup some code and aliases to redirect to subdirectories. Is this correct? What about if I just wanted to host multiple websites under one domain? Do I still need to setup aliases and change code or could I use the subdirectory structure to house different websites without any changes? Ex: http://domain.com/website1, http://domain.com/website2 are different websites and all I had to do was publish them from Visual Studio. Thanks
You can host multiple applications in different subdirectories. If you want to have different domains pull up those applications, then you would add the other domains as domain pointers. We point those domain pointers to the root of the main Site. Then you can redirect those domain pointers to any subfolder you want with your code. You don't need to keep logging into the control panel, you control everything with your code.
Howto: Solving the Winhost.com multiple (sub)domain rewriting problem properly I couldn't find the answer to this on the forums, but I managed to solve it myself. For a walkthrough solution of how to solve this try this: http://blog.benpowell.co.uk/2010/02/Winhostcom-how-to-really-run-multiple.html
Ben, nice blog post, thanks! "I've been with Webhost4life.com for 4 years now..." You have my condolences.
Thanks for the information Ben. I tried your suggestion but ran into issues with the application path. To fix it i used the rewrite tool for redirect instead of rewrite. Details here: http://serverfault.com/questions/13...nhost-with-iis7-url-rewrite-2-0/135533#135533