0

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)?

rick
  • 3
  • 2

1 Answers1

0

http://manpages.ubuntu.com/manpages/bionic/man8/a2ensite.8.html

Try running

a2ensite example.com
vidarlo
  • 6,654
  • 2
  • 18
  • 31
  • I tried to delete the question after I found the solution and YES, not using the entire path fixes the issue. D'oh. – rick Feb 09 '22 at 15:31