login community faq

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...

1
2
3
4
5
6
-->domainA
---->htdocs - for apps I want to install myself
-->domainB
---->htdocs
-->domainC
---->htdocs

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.

asked Jan 02 '11 at 17:11

milesmeow's gravatar image

milesmeow
169

edited Jan 02 '11 at 17:11


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

maryh's gravatar image

maryh ♦♦
7265

Thanks Mary. I was attempting to specify domainA/htdocs on the page where I'm creating the application and it wouldn't allow me. My next strategy was exactly what you just recommended. I was hoping to have a more hierarchical way of arranging it, but the domainA_appname will work. I just joined Webfaction and wanted to make sure that I'm arranging things correctly. Better to do it right the first time than to correct them later on. Thanks for your suggestion!

(Jan 02 '11 at 20:53) milesmeow milesmeow's gravatar image
Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×48
×24
×14
×12
×11

Asked: Jan 02 '11 at 17:11

Seen: 1,205 times

Last updated: Mar 21 '11 at 16:48

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited