English

Install IIS and publish a website on a Windows VPS

Internet Information Services (IIS) is the web server built into Windows Server. This guide installs IIS, creates a simple site, and makes it reachable (ports 80/443 depending on configuration).

Prerequisites

  • Windows Server VPS with Administrator rights
  • Active RDP session

Install IIS (Server Manager)

  1. Open Server ManagerAdd Roles and Features.
  2. Role-based or feature-based installation → select the local server.
  3. Check Web Server (IIS).
  4. Add useful role services at minimum:
    • Web Server (included)
    • Common HTTP Features: Default Document, Static Content, HTTP Errors
    • Health and Diagnostics (optional): HTTP Logging
  5. Complete the wizard and wait for installation.

Quick check

Open a browser on the server: http://localhost — the default IIS page should appear.

Create a site and folder

  1. Launch IIS Manager (inetmgr).
  2. SitesAdd Website…
  3. Site name: MySite
  4. Physical path: e.g. C:\inetpub\mysite
  5. Binding: http, All Unassigned, port 80, host name empty to start.
  6. Create C:\inetpub\mysite and index.html:
HTML
1<!DOCTYPE html> 2<html lang="en"> 3<head><meta charset="utf-8"><title>IIS test</title></head> 4<body><h1>My IIS site</h1></body> 5</html>
  1. Stop or reconfigure Default Web Site if port 80 is taken, or use another port in the binding.

Application pool

The site uses an application pool (often DefaultAppPool or a dedicated pool). For static content, defaults are usually enough.

Internet access

  1. Allow the port in Windows Firewall (TCP 80 or 443).
  2. For HTTPS, install a certificate (Let’s Encrypt with a Windows tool, or a commercial cert) and add an https binding in IIS.

Best practices

  • Disable unused IIS modules to reduce attack surface.
  • For .NET, install matching ASP.NET features via the roles wizard.
  • Back up configuration and site content regularly.

Troubleshooting

  • 403 Forbidden: check NTFS permissions on the site folder (read for the app pool identity).
  • 502 / won’t start: review IIS logs and Windows Event Viewer.

Need help?

Questions about this guide? Our team and community are here to help.

Stay up to date with the latest offers, discounts and special promotions.

View promotions