Windows – a good convention for website directory structure

directorywebsitewindows

Do to some changes in personel at my company I have inherited the responsability over administering our web server. Unfortunately there does not seem to have been a standard convention used for setting up website directories.

I was thinking of organizing the website as follows:

D:\inet[CustomerName]\wwwroot\[WebsiteDomainName]

But I was curious if any of you had a better convention or could recommend a best practice for how website directories should be organized.

Best Answer

Generally I use

\user
\user\domain
\user\domain\logs    # Location of the webserver logs
\user\domain\public  # Publicly accessible directory

If using a dynamic website, I often put the majority of the files within subfolders under \user\domain\ outside of the public directory.