On Windows XP and IIS 5.1, you cannot run moultiple websites.
However, you can run multiple ASP.NET hosts. You may have to write to the host yourself.
Something like this should start:
string FileLoction = "..Path to the branch ..";
HttpListenerWrapper lw = (HttpListenerWrapper) ApplicationHost.CreateApplicationHost (
typeof (HttpListenerWrapper), "/", FileLocation);
string [] prefixes = new string []
{
"http: // localhost: 8081 /",
"http://127.0.0.1:8081/"
};
lw.Configure (prefixes, "/", FileLocation);
lw.Start ();
source share