Recreate “Default Web Site” in Internet Information Services 7.0/7.5

Many a times during the installation of Team Foundation Server, typically application tier, I found that there are people who purposely delete the Default Web Site. I need to recreate the deleted Default Web Site so that I can proceed with the installation of Team Foundation Server, namely application tier.

You can recreate Default Web Site in Internet Information Services 7.0/7.5 by performing the following steps:

1. Right click on Sites folder and click Add Web Site….
2. Under Site name, type Default Web Site.
3. Under Application pool, select DefaultAppPool.
4. Under Physical path, type C:\Inetpub\wwwroot.
5. Click OK.
6. Verify that the Default Web Site is created with the ID 1. If the Default Web Site does not show ID 1 , then perform the following additional steps.
7. Open Command Prompt as an Administrator.
8. Go to C:\Windows\System32\inetsrv\config and type notepad applicationHost.config.
9. Find Default Web Site and change id=”x” to id=”1”.
10. Save applicationHost.config.
11. Now refresh IIS Manager and start the Web Site.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: