N
news.microsoft.com
I have two completely distinct ASP.NET (2.0) web applications. They share no
code, they have distinct web.config files, they don't even link to each
other. During development, they have lived happily side by side in two
virtual directories in the same IIS website.
e.g. http://localhost/dotnetnuke
and http://localhost/mobilephoneapp
Now they are ready to be deployed to a production webserver (IIS 6.0). I
want the first app to be run through the site root and the second to be run
through a virtual directory:
e.g. http://www.company.co.uk <--- this is the dotnetnuke app
and http://www.company.co.uk/phone <--- this is the mobilephoneapp app
My problem is, with this setup, the mobilephoneapp uses the web.config of
the dotnetnuke app, because dotnetnuke is in the root of the site. How can I
make them live as distinct applications again, but keep the address of the
dotnetnuke app as http://www.company.co.uk?
FYI, I know I might be able to accomplish this by creating two IIS websites,
but the server only has 1 IP address.
code, they have distinct web.config files, they don't even link to each
other. During development, they have lived happily side by side in two
virtual directories in the same IIS website.
e.g. http://localhost/dotnetnuke
and http://localhost/mobilephoneapp
Now they are ready to be deployed to a production webserver (IIS 6.0). I
want the first app to be run through the site root and the second to be run
through a virtual directory:
e.g. http://www.company.co.uk <--- this is the dotnetnuke app
and http://www.company.co.uk/phone <--- this is the mobilephoneapp app
My problem is, with this setup, the mobilephoneapp uses the web.config of
the dotnetnuke app, because dotnetnuke is in the root of the site. How can I
make them live as distinct applications again, but keep the address of the
dotnetnuke app as http://www.company.co.uk?
FYI, I know I might be able to accomplish this by creating two IIS websites,
but the server only has 1 IP address.