Latest Posts

How to Create Web Application in SharePoint

Web Application is an IIS web site and it is on top position in SharePoint structure/hierarchy. Creating Web Application is first and foremost part of starting development in SharePoint. In this article, we are going to create a web application manually in SharePoint 2013.

Step-by-step process to create web application manually

  1. Go to Central Administration >> Application Management >> Manage web applications
  2. Manage web application navigation
  3. Click on New Link as shown below
  4. New web application link
  5. A form will appear to create a new web application
  6. Create new web appliction IIS Web Site
    1. IIS Web Site:
      1. Use an existing IIS web site:

        If you are using the existing web site. For this option, the existing web site should be present on all the servers in the farm.

      2. Create a new IIS web site:

        If you want to go for a fresh web application, enter a web site name. For this option, the new web site will get created on all the servers in the farm.

    2. Port

      Enter the port number for the new web application.

    3. Host Header

      This will allow you to give your site a Domain Name or a Host Name.

      You will be able to access your site using a friendly URL. (e.g. http://SharePointsite.net) rather than entering the server name and followed by the port number (e.g. http://destuserver123:2222).

      You can leave this field blank and configure the Host header later.

    4. Path:

      This is the path of the location, where the virtual directory of the new web site will get created. Don’t change unless you specifically want the location other than the default one.

    5. Create new web appliction IIS Web Site security configuration
    6. Allow Anonymous

      If you tick Yes, then Allow Anonymous option will be available to all the site collections created under this web application. Selecting No will disable this option for all the site collections. You can select No and later update as per the requirement.

    7. Use Secure Sockets Layer (SSL) –

      If you tick “Yes”, you must add the certificate on each server in the farm.  Until this is done, the web application will be inaccessible from this IIS web site.

    8. Create new web appliction claims authentication types
    9. Claims Authentication Types Below are the supported authentication types.
      1. Windows authentication
        • NTLM
        • Negotiate (Kerberos)

          NTLM and Kerberos are Integrated Windows Authentication method. That will allow users to access SharePoint without prompting to enter credentials.

        • Digest
        • Basic
          In Digest, user credentials are sent over the network as an MD5(encryption) message.
          In Basic, user credentials are sent over the network in plain text. If you select this option, ensure that Secure Sockets Layer (SSL) is enabled.

          NOTE: Negotiate (Kerberos) is recommended. If this option is selected and Kerberos is not configured, NTLM will be used.
      2. Forms-based authentication

        Form-based authentication is used to authenticate the user against an identity management system which is NOT WINDOWS BASED. You have to register ASP.NET Membership provider and ASP.NET Role manager in Web.config file.

      3. SAML token-based authentication / Trusted Identity Provider Authentication
      4. Create new web application enable windows authentication

        Trusted Identity Provider Authentication enables federated users in this Web application. This authentication is Claims token based and the user is redirected to a login form for authentication.

        NOTE: If you do not Enable Windows Authentication, crawling for the Web application will be disabled. So, it is always better to enable the Windows authentication at the time of creating the Web application and later you can configure your Web application to add FBA or any other authentication you want.

    10. Sign In page URL

      If you are using Claim Based Authentication, a URL is provided to redirect the user to custom Sign In page and you need to provide that page URL over here.

    11. Create new web applicion sign in page url
    12. Public URL
    13. Create new web appliction public url

      By default, it will be http://servername:Portnumber

    14. Application Pool
    15. Create new web appliction Application pool

      You can either choose any of the existing Application pools or you can create New Application Pool. Application pool defines account and credentials that will be used by this service

    16. Security account -

      Define a security account for this application pool. The application pool will run under this identity. You can change this later from IIS.

    17. Database name and Authentication
    18. Create new web appliction database name and authentication
      • Database server – Enter the SQL server name where your content database will be created.
      • Database Name – Enter the Database name for New web application
      • Database authentication - As shown below you can keep windows authentication which is recommended or you can provide Account and password for SQL Authentication
      • Failover server – If you have any other server as part of database mirroring, then specify the server name here.
    19. Service Application Connections
    20. Create new web appliction IIS Web Site service application connection
      • If you select default, the new Web application will be connected to the default set of services.
      • You can choose custom and select the services you want the new Web application to connect to.
      • You can anytime change the set of services connected to a Web application by using the Configure service application associations page in Central Administration
    21. Enable Customer Experience Improvement Program
    22. create new web application CEIP Customer Experience Improvement Program
      • Do Not Enable CEIP (Customer Experience Improvement Program)

      Click OK.

      Finally, your Web Application is created and you should be able to see it in your Web Applications List.

Conclusion

We have gone through all the steps and their use/importance in order to create Web Application. The steps mentioned over here were performed on SharePoint 2013 on-premise environment.


We value your Feedback:

Page URL:

Name:

Email:


Suggestion:

© 2024 Code SharePoint