Command
sudo apt install apache2Install Apache Server
sudo systemctl status apache2Server Status
sudo systemctl stop apache2Stop Server
sudo systemctl start apache2
sudo systemctl restart apache2
sudo systemctl reload apache2
sudo systemctl disable apache2
sudo systemctl enable apache2
sudo a2ensite your_domain.confEnable Virtual Host
sudo a2dissite 000-default.confDisable default site
sudo apache2ctl configtestConfiguration test

https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-debian-11

Categories: Uncategorized

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *