Create ASP.NET web application in the Default Web Site

G

Guest

On my local sandbox , in IIS I created some Websites .

Now when I try to create a ASP.NET web application , it tries to create it
in the
website last created and fails .

But my requirement is to create it in the Default We Site mapped to
C:\Inetpub\wwwroot

Can anybody guide me how to do that ?

I have a doubt that when a new website is created in IIS , it becomes the
Default web site . If it is so , how to revert the default back to 'Default
Web
Site'
 
G

Guest

The problem is not about creating a website in Root Web .

I have a scenario where I have multiple websites set up on the local sandbox .

Now , When i try to create a new web app , it tries to create it with the
website created last and not within Default Web Site(Root Web) .

If I delete the last website , VS.NEt tries to create the web app within the
website created before that . If I continue the process till all websites
other than the Default Web Site remains on IIS , then only the web app is
created with the Default Web Site ( Root Web ) .

I am not sure whether this is a limitation of IIS .

To Note , while creating multiple websites on IIS , I have assigned unique
host headers to all websites except the Default Web Site .
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top