Creating your first web application on SharePoint 2013

So, you have successfully installed SharePoint Prerequisites, and SharePoint 2013. Now, it's time to create your first web application.

First, create an AD user to be used with the new Application Pool. I named mine 'SP_PortalUser'. Make sure to check 'password never expires'.

Now open your SharePoint 2013 Central Administration page. We placed it on port 50000, so we'll open Internet Explorer and navigate to http://portaltest:50000 (portaltest is my servers hostname). Alternatively, start it by running the link in the start page.

Enter your administrative username and password, and you will be presented with the Central Administration page. Follow these steps in order to register the newly created user:

Follow these steps in order to create your first web application:

Now you have create first site collection for the newly created web application. Follow these steps in order to create a site collection:

If you decide to test the site (while working on the server where you installed Sharepoint), you might be presented with a 'HTTP 401.1 – Unauthorized: Logon Failed' message. This is an IIS loop-back check security feature. You can resolve this by editing the registry.

You should now be able to open the portal by navigating to http://portaltest.example.com in Internet Explorer. The log in can be done seamlessly if you put the URL to the 'Trusted sites' list, and if you enable 'Automatic log on with the current user name and password' in internet options.

Many users will want to skip entering the FQDN of the site. To be able to access the site by entering just 'portaltest', open IIS management console and find the newly created site. Add another host header named 'portaltest' on port 80 and configure alternate access mappings.

You can now access the site by entering:

That's it for now.