Shell/Bash: apache enable site Example

By

Shell/Bash Example: This is the "apache enable site" Example. compiled from many sources on the internet by SimpleTutorials.org

apache enable site

sudo a2ensite domain1.com

a2ensite example

a2ensite /etc/apache2/sites-available/new-domain.conf
//-----------------
a2dissite /etc/apache2/sites-available/new-domain.conf

enable apache2 site

a2ensite example.com

a2ensite example.

a2ensite /etc/apache2/sites-available/new-domain.conf

//-----------------

a2dissite /etc/apache2/sites-available/new-domain.conf


* Summary: This "apache enable site" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others