Apache is the most commonly used web server on Ubuntu. We install it from Ubuntu's repository. Once installed, we allow access through the UFW firewall as per our requirements.
Once Apache is up and running, we can customize its configuration by installing additional modules and then enabling them.