Network
The a2dissite command
Disables an Apache site (virtual host) by removing the link from sites-enabled.
Copy-ready examples
$ sudo a2ensite aulaEnable it first$ sudo a2dissite aulaDisable itYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- Remember to reload Apache after disabling.
FAQ
What does a2dissite do?
It disables an Apache site by removing its sites-enabled link.
And then?
Reload Apache with systemctl reload apache2.
More Network commands
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course