Update Package Manager
It's recommended to update the local package index so that we have access to the most recent packages available.
Install Web Server
Choose your web server from the tabs mentioned below:
Install Nginx
Nginx is available in Ubuntu’s default repository, making it easy to install Nginx using the package manager.
Install Apache2
Apache2 is available in Ubuntu’s default repository, making it easy to install Apache2 using the package manager.