Score:0

Apache2 a2ensite: ERROR: Site /etc/apache2/sites-available/example.com does not exist

id flag

console screenshot I realize this has been asked before, but this is not the same error and I am not able use the same solution(s) of moving the file from sites-enabled or renaming the file with a .conf extension.

The config file exists in /etc/apache2/sites-available/ and has the .conf extension.

No matter what I name it, it says "does not exist." Is there a permissions issue? Does www-data need access to the conf file (they are owned by root)?

Score:0
ar flag
id flag
I tried to delete the question after I found the solution and YES, not using the entire path fixes the issue. D'oh.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.