Step -1: Go to Server Manager and click Manage > Add Roles and Features. Click Next.
Step -2: Select Feature-based or Role-based installation and click Next.
Step -3: Select the appropriate server. The local server is selected by default. Click Next.
Step -4: Enable Web Server (IIS) and click Next.
Step -5: No additional features are necessary, click Next.
Step -6: Click Next, on the Web Server Role (IIS) dialog box.
Step -7: Verify the web server components are enabled, on the Select role services dialog box and click Next.
Step -8: Verify that your settings are correct
Step -9: Click Install.
Step -10: Once the installation completes, click Close to exit.