0

Is there a standard location for subdomain folders? I used to make folders for each subdomain in /var/web. I'm redoing my server and I want to make everything as clean as possible.

The Django tutorials I read usually have Django websites in the user's home folder.

1 Answers1

2

There really is no standard. I've seen all of these possible locations used:

/var/www/<site>
/srv/www/<site>
/home/<user>/public_html/<site>
...

It really doesn't matter - just do whatever makes sense for how you want things laid out. Keep permissions in mind if you'll be granting access to multiple user accounts.

EEAA
  • 110,608