How do I get IIS 7.0 to run virtual hosts as in Apache?
I've tried the hosts file but it doesn't work, and using Apache's reverse proxy didn't help either - as suggested elsewhere on the net.

Anyone able to figure this one out?


8 Years
Discussion Span
Last Post by dizid

Hi, i also need to configure Apache style virtual hosts. To host multiple sites on 1 hosting account.
This is supposedly done through the IIS 7 Manager module URL Rewrite.
You might have to first install the MS Platform installer.
Connect to your site and open up theURL Rewrite module.

Then is becomes, duh, complicated.

So far i have this, which won't work:

Apache virtualhost solution:

<VirtualHost *>
ServerName www.tweetcheck.me
DocumentRoot /tweetcheck

IIS 7 Manager - URL Rewrite solution:

<?xml version="1.0" encoding="UTF-8"?>
<rule name="tweetcheck.me" patternSyntax="ECMAScript" stopProcessing="true">
<match url="tweetcheck.me" />
<action type="Redirect" url="/tweetcheck" />
<rewriteMap name="301" />

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.