Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: sites-enabled vs. sites-available |
|
Author |
|
jaliscoautuick
Joined: 20 Sep 2017 Posts: 1 Location: Germany, Berlin
|
Posted: Mon 02 Oct '17 11:44 Post subject: sites-enabled vs. sites-available |
|
|
This distinction is not clear to me.
I have read various answers to this question, but for some reason, I am not grasping it.
I know sites-enabled are the conf's that are served by apache. But, then, what is the purpose of the sites-available? Is it just for development?
Also, trying to develop good practices, I want to setup some name virtualHosts, should I put them first in sites-available? Or, directly into sites-enabled?
Thank you in advance.
EDIT: more or less figure it out, that we are supposed to edit *.conf files within the sites-available, then use the a2ensite command to enable them, or the a2dissite, to disable. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
|
Back to top |
|
|
|
|
|
|