I'm going to be hosting multiple domains under my shared plan. Each domain will be running different apps. What is the best way to organize my directories?
I was thinking of doing this: In ~/webapps...
However, when I'm adding an app, it doesn't allow me to specify sub directories. I tried to put in domainB/htdocs and it wouldn't allow me to do it.
How have other people approached organizing their apps with multiple domains.
When you add a new application via the control panel, a directory is created in webapps with whatever name you defined for the app. You should not attempt to manually create directories directly under webapps.
You can organize your apps by the way you name them. For example "domainA_htdocs" and "domainB_htdocs". When you list the contents of the webapps directory, apps that start with the same domain will be grouped together.
answered Jan 02 '11 at 17:30