login community faq
0
1

I tried this alone a couple of times and every time I was forced to contact support crew to get this done. Question is rather simple. I want to create subdomain images on my domain test.com. 1) I want this subdomain to be under test.com domain, meaning test.com folder(root) 2) I want this subdomain to be outside test.com and in root folder where test.com resides - just like this site_1 site_2 images test.com site_5 site_6

I know that this is not an easy task and that it requires that famous setfacl :) command but step by step explanation would be appreciated.

asked Dec 20 '10 at 05:14

zlatiborac's gravatar image

zlatiborac
134


As you may already know, (sub)domains are not directly linked to folders on our side (this kind of linking only makes sense in the special case of Static/CGI/PHP apps, and we provide much more than that). Instead, Applications are mapped to folders, and (sub)Domains are mapped to Applications via Websites. The subdomain/URL structure does not have to correspond to the actual directory structure on the server - these are independent.

So, what you should do is:

  1. Create the subdomain
  2. Create the application where the subdomain files will reside. You can choose to create a "Symlink to a Static/CGI/PHP app" here, so that the application points to some of your existing folders. If the new appliation is called "images", this will create an application folder of ~/webapps/images under your account.
  3. Create a new website record, which maps the root URL of the subdomain to the newly created application

There is no "setfacl" involved in the above process.

answered Dec 20 '10 at 05:30

tie's gravatar image

tie
139113

edited Dec 20 '10 at 05:31

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:

×46
×9
×3

Asked: Dec 20 '10 at 05:14

Seen: 1,724 times

Last updated: Dec 20 '10 at 05:31

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