1

I have a website on a FreeBSD server which is reachable from the Internet. I know I can run it from whichever directory I wish. But still, which directory is more right, common and recommended? At the moment I'm running it from /usr/local/my_website123

Your advice?

Lexib0y
  • 227
  • 3
  • 14
Ko32mo
  • 13
  • 5
  • It is a very flavor thing. I typically prefer to have a /srv directory, where all services are running from. But it is a linux custom, freebsd likes /usr/local . – peterh Aug 27 '17 at 02:30

1 Answers1

1

Such questions are asked to man hier, but it doesn't say anything about /www.

Apache runs its default host from /usr/local/www/apache2x/data, so I guess /usr/local/www/my_website is generally fine.

arrowd
  • 319
  • 1
  • 8
  • And the most web applications installed into `/usr/local/www` so I suggest this directory too. – uzsolt Aug 26 '17 at 07:52