3

I'm struggling to add a website in IIS. I have a new W2016 installation and in IIS I see

enter image description here

I installed IIS but when I right cliinck I can't see the option to add it:
enter image description here

Why do I not have this option?

To open IIS, I type inetmgr into the Windows search.

I've tried re-installing IIS.

2 Answers 2

2
+100

When not caused by a version conflict between IIS and IIS Management Tools, these symptoms are often caused by some corruptions in configuration files under %WinDir%\System32\Inetsrv\Config. What's in your administration.config and applicationHost.config? IIS Configuration Reference:

  • ApplicationHost.config - This configuration file stores the settings for all your Web sites and applications.

  • Administration.config - This configuration file stores the settings for IIS management. These settings include the list of management modules that are installed for the IIS Manager tool, as well as configuration settings for management modules.

  • Redirection.config - IIS 7 and later support the management of several IIS servers from a single, centralized configuration file. This configuration file contains the settings that indicate the location where the centralized configuration files are stored.

Is your Windows Server 2016 installation a completely fresh installation or is it upgraded from a former version? It's unlikely that the configuration files would be corrupted after a clean install. Is it possible in any way that there was old versions from some previous IIS installation? Does the Date modified of these configuration files correspond your installation date?

As your installation is new, there shouldn't be anything you need to recover. After uninstalling IIS, you could check whether these files still exists and manually remove whole System32\Inetsrv\Config, if necessary. Then, reinstalling IIS should re-create the files with default settings.

2
  • It is a totally new installation of W2016 (on a VPS). I uninstalled but %WinDir%\System32\Inetsrv\Config only had a schema folder (which I removed. The Date Modified matches the re-installation date. It appears to be working now so maybe the issue was that schema folder? Anyway, I'm rebooting the server to make sure this did fix the issue
    – Dave
    Commented May 16, 2017 at 11:28
  • True, %WinDir%\System32\Inetsrv\Config\schema could also have corrupted .xml files. I improved my suggestion to cover that. Commented May 16, 2017 at 11:59
0

To avoid anyone making the same silly mistake as me: You need to run IIS as Administrator, otherwise it will just show the start page without options to configure.

1
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented May 18, 2023 at 7:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .