What is IIS and which Windows feature must be enabled to use it as a web server?

IIS (Internet Information Services) is Microsoft’s web server for hosting websites and web applications.
To use it, you must enable the Web Server (IIS) role in Windows Server via Server Manager or PowerShell.

How can you verify that IIS is running after installation?

Open a browser and go to http://localhost — the IIS welcome page should appear.

Or check the IIS Manager to see if the server status is Started.

Which default directory stores the web pages for IIS after installation?

After IIS installation, the default directory for web pages is:
C:\inetpub\wwwroot.
This is where IIS serves the default website content unless configured otherwise.

What is the purpose of the Default Website in IIS?

The Default Website in IIS is a preconfigured site that serves as a placeholder for testing and administration.
It helps verify IIS installation and provides a base site that can be customized or replaced for hosting applications.

How can you configure HTTPS in IIS using an SSL certificate?

Install the SSL certificate in IIS (via Server Certificates in IIS Manager).

Open IIS Manager, select your site, and click Bindings.

Click Add, choose https as the type, select the SSL certificate, and set the port (default 443).

Click OK and restart the site to apply changes.