Home > SharePoint 2010 > Create Second Web Application using the Default port 80 In SharePoint2010

Create Second Web Application using the Default port 80 In SharePoint2010

As a SharePoint developer, one of the common tasks is to create SharePoint Web Application. In this post I will show you how to create second Web Application using the default port 80 in SharePoint2010.You need to follow the steps below.

1. Go to Central Admin => Application Management =>Manage web applications and click new Web Application

2. I choose YBBEST as my IIS site name and host header name, change the port number to 80 and leave the rest settings as default.

3. After the web application creation wizard completes, add an entry in the host file located at C:\Windows\System32\Drivers\etc\hosts .

4. Create a root site collection for the new web application. After the site collection is created , you can browse to the site collection using URL http://ybbest.

You can download the PowerShell script to create the web application here (classic mode) and here (claim mode)

Categories: SharePoint 2010
  1. Jordan
    January 19, 2012 at 3:03 pm

    I used this site it it causes 503 error in iIS !!! I did made a copy of the host file in front and tried to restore later but no luck!
    How can this be true ?????

    • ybbest
      January 19, 2012 at 3:18 pm

      You only create a web application , you need to create a site collection so that you can browse to the site.Here is the MSDN link show you how.

  2. Jordan
    January 20, 2012 at 9:02 am

    I did that .. what is going on i think is that I have to have an entry in dns for mysite.spqa. is this all? after I chnaged the host my accounts for the app pool were disabled.
    i am on win 2008 R2 64 bit.
    what has to be done to resolve names when they pont to the same port?

  1. No trackbacks yet.

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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: