Logo

dev-resources.site

for different kinds of informations.

Installing a WebServer on Win Server 2019 VM

Published at
5/24/2024
Categories
webserver
virtualmachine
windows
Author
olawaleoloye
Categories
3 categories in total
webserver
open
virtualmachine
open
windows
open
Author
12 person written this
olawaleoloye
open
Installing a WebServer on Win Server 2019 VM

First and foremost, what is a web server?
Imagine you have a toy box at home where you keep all your favourite toys. Now, let’s say your friend wants to see what toys you have. Instead of coming to your house, they can use a special magic box that lets them see and even play with your toys from their own home. This magic box is connected to your toy box and shows your toys to your friend whenever they ask.

webserver to a kid
A web server is like that magic box. It keeps a lot of information (like your toys) and when someone on the internet wants to see that information (like your friend), the web server shows it to them. So, it's a special computer that helps share information with other computers.

A web server is a specialized software or hardware system responsible for handling HTTP(S) (Hypertext Transfer Protocol) requests from clients, typically web browsers, and serving them the appropriate web content, such as HTML pages, images, videos, or other resources. The primary functions of a web server include:

  1. Hosting Websites: Web servers store, process, and deliver web pages to users. They manage domain names, manage content, and ensure that web pages are available to users around the clock.
  2. Handling Requests and Responses: When a user enters a URL in their browser, the web server processes the incoming HTTP request, retrieves the requested content, and sends it back to the client as an HTTP response.
  3. Security: Web servers implement various security protocols, such as SSL/TLS, to encrypt data transmitted between the server and clients. They also handle authentication and authorization to protect sensitive data and resources.
  4. Load Balancing and Scalability: Web servers can distribute incoming traffic across multiple servers to ensure efficient resource utilization, high availability, and reliability. They support scalability by adding or removing servers as demand fluctuates.
  5. Logging and Monitoring: Web servers maintain logs of all transactions, which are crucial for analyzing traffic, debugging issues, and monitoring performance.

Popular web server software includes Apache HTTP Server, Nginx, Microsoft Internet Information Services (IIS), and LiteSpeed. Each of these solutions offers unique features and optimizations to cater to different performance, security, and scalability requirements.

In a previous post, we deployed a Win 11 VM. Now, we shall install a webserver on a similar server (Win Server 2019).

Open PowerShell
Click on the Start menu.

PowerShell
Type PowerShell and open Windows PowerShell or Windows PowerShell ISE as an administrator(right-click and select Run as administrator)
PS as admin
Provide your credentials
Credentials
Install IIS by running this command

Install-WindowsFeature -name Web-Server -IncludeManagementTools
Enter fullscreen mode Exit fullscreen mode

Run code
Install progress
Install Success

webserver Article's
30 articles in total
Favicon
Nginx Simplified: Technical Insights with Real-World Analogies
Favicon
Need assistance to solve an issue
Favicon
Installing Nginx Web Server on Linux: A Step-by-Step Guide
Favicon
Step-by-Step Guide: Setting Up Apache2 and Deploying an HTML Template on Ubuntu (Using Vagrant on a Local Machine)
Favicon
Path-Based Reverse Proxying with Caddy
Favicon
Transform Your Business with Our ERP CRM Software in Kolkata
Favicon
What is a web server ?
Favicon
Postmortem
Favicon
gondola: Why not use a lightweight and simple YAML-based reverse proxy?
Favicon
Uptime Kuma: Uptime von Services beobachten und tracken 🔎
Favicon
Nginx-Proxy-Manager: Leichtgewichtiger Reverse-Proxy 🌍
Favicon
Nginx Proxy Manager: Lightweight reverse proxy 🌍
Favicon
Uptime Kuma: Monitor and track the uptime of services 🔎
Favicon
OpenResty: The Overpowered Web Server Used by 40M Websites (that people rarely talk about)
Favicon
Installing a WebServer on Win Server 2019 VM
Favicon
HOW TO SECURE A WINDOWS SERVER WITH IIS AND AZURE NETWORK SECURITY FEATURES
Favicon
Web Sunucuları: İnternetin Temel Taşları
Favicon
Installing a WebServer on Win Server 2019 VM
Favicon
Advantages of Outsourcing Server Management
Favicon
Deploying a web server on the Linux virtual machine
Favicon
Should I use Nginx or Apache Server?
Favicon
Running a Secure Web Server on AWS EC2
Favicon
Trending In NGINX: Top Trends
Favicon
🚀How TCP Servers Are Designed to Handle Multiple Requests
Favicon
Why did Cloudflare Build its Own Reverse Proxy? - Pingora vs NGINX
Favicon
Planning my Linux Homelab
Favicon
Building a Web Server in Go
Favicon
🚀Unlocking the Power of NGINX - A Web Server Marvel! 🚀
Favicon
Local machine as a web server without public IP using Cloudflare tunnel(part-1)
Favicon
How web technology works? - Part 02

Featured ones: