The Apache Server allows you to put several websites on a linux server. An alternative to Apache is the Nginx server. This also makes it possible to run other modules by restarting the Apache server each time.
We update the system:
sudo apt-get update
We install Apache on the server:
sudo apt-get install apache2
We check the status of Apache:
sudo systemctl is-enabled apache2
sudo systemctl is-active apache2
sudo systemctl status apache2
Finally we see if the Apache server is working by putting the IP address of the server in the navigation bar of his web browser.
Note: Commissions may be earned from the links above.
This page contains references to products from one or more of our advertisers. We may receive compensation when you click on links to those products. For an explanation of our advertising policy, please visit this page.