WebFaction
Community site: login faq

I was wondering if this is possible, I have not been able to find any documentation about it.

I have an application set up as "example" which creates a folder called example under webapps. www.example.com is pointed to this folder. Within this folder is a directory called admin that holds the admin panel for example.com. Is there any way I can point admin.example.com to /home/user/webapps/example/admin? Or do I have to create an additional application?

asked 13 Nov '13, 23:01

lfeins01
514
accept rate: 0%


You do need to create an additional application, but the application type you'd use is "Symbolic Link to Static/CGI/PHP" -- you don't need a completely new directory under $HOME/webapps.

Just make a new Symbolic Link to Static/CGI/PHP application type with an extra_info of "/home/user/webapps/example/admin/", and mount this application on your subdomain. Hope that helps!

permanent link

answered 14 Nov '13, 02:16

ryans ♦♦
5.0k93160
accept rate: 43%

Your answer
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

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×75
×57
×17

question asked: 13 Nov '13, 23:01

question was seen: 2,924 times

last updated: 14 Nov '13, 02:16

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM