In Windows Server you will have to enable Web Server Role and below is an example of IIS features selected. Be aware that it will still say ASP.NET 4.5 after ASP.NET 4.6 or higher has been installed.