IIS settings in Plesk

Sites on Windows hosting are served by the IIS web server. The IIS Settings page changes its behavior for one site. The default values suit most sites — change only what you need.

Where to find it: the domain card, the Hosting & DNS tab, IIS Settings.

IIS Settings page
IIS Settings page

Main parameters

  • Directory browsing — show a folder's file list when it has no index page. Better turned off for a production site.
  • Default documents — which files open as the home page (index.html, index.php, default.aspx). Choose Enter custom value to set your own list; order matters.
  • MIME types — map a file extension to a type, for example application/json .json or font/woff2 .woff2. Needed when the server does not serve files with an unusual extension (error 404.3).
  • Deny access to the site — close access to the site.
  • Expires — how long the browser may cache files.
  • Additional headers — custom HTTP response headers.
  • Directory security settings — Anonymous authentication (public access), Windows authentication, Require SSL/TLS (HTTPS only; requires an installed SSL certificate).
  • Preventing DoS attacks by IIS dynamic IP restriction — limits concurrent requests and requests per time period from a single address.

Save with OK or Apply.

Do not turn off Anonymous authentication for the whole site: visitors will no longer see it without logging in. To close a single folder, use password protection.

Common mistakes

  • Request limits in DoS protection are too strict — the site starts refusing normal visitors, especially when a page loads many files.
  • The home page does not open (403.14) — Default documents does not list the right file, or it is not uploaded to httpdocs.
  • The same MIME type is already defined in web.config — the site returns a 500 error. Keep the type in one place only.
Questions and answers
Add a MIME type for the extension in MIME types, unless it is already defined in the site's web.config.
In Default documents choose Enter custom value and put index.php on the first line.