Languages
[Edit]
EN

Linux apach2 enable site with systemctl reload

1 points
Created by:
Teilsa
345

Example:

root@server:/etc/apache2/sites-available# a2ensite my-site.com.conf
Enabling site my-site.com.
To activate the new configuration, you need to run:
  systemctl reload apache2

Other examples:

root@server:/etc/apache2/sites-available# a2en
a2enconf  a2enmod   a2ensite

root@server:/etc/apache2/sites-available# a2
a2disconf  a2dismod   a2dissite  a2enconf   a2enmod    a2ensite   a2query

 

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join