In this process, you will learn how to configure roles and features in the Server Manager for on-premises clients. This involves adding necessary roles, enabling various web server functionalities, and ensuring security and performance optimizations are in place.
Begin by accessing the Server Manager. Click the Start menu and select Server Manager.

Once the Server Manager is open, click on "Add Roles and Features" and then click "Next." Choose "Role-based or feature-based installation" and select your server pool. For this demonstration, a server with pre-existing roles and features is used.

To proceed, select "Web Server" and expand the section. Under "Common HTTP Features," enable both HTTP redirection and static content.

For better performance, enable both static content compression and dynamic content compression.

To enhance security, enable request filtering, basic authentication, digest authentication, and Windows authentication.

Expand "Application Development" and enable .NET extensibility 3.5, .NET extensibility 4.8, and application initialization. Also, enable ASP.NET 3.5 and ASP.NET 4.8.

Enable ISAPI extensions, ISAPI filters, and the WebSocket protocol. Once these are installed, expand "Management Tools," install "IIS6 Management Console," and expand "IIS6 Management Compatibility." Install all related features, including IIS6 metabase compatibility, IIS6 Management Console, IIS6 Scripting Tools, IIS6 WMI Compatibility, IIS Management Scripts and Tools, and Management Service. After installation, click "Next."

Expand ".NET Framework 3.5 Features" and enable HTTP activation and .NET Framework 3.5. Also, expand ".NET Framework 4.8 Features" and enable .NET Framework 4.8, ASP.NET 4.8, and include HTTP activation and TCP port sharing under WCF Services. Finally, enable IIS Hostable Web Core.

This completes the installation of roles and features in your Server Manager.
