multi-level subdomain, ftp problems (solution needed)

tertychniy

Verified User
Joined
Apr 16, 2011
Messages
12
Hello guys.

I have a very strong need to implement the following multi-level subdomain structure:

user_name.department_name.office_name.region.whatever.com
(like: manager.accounting.headoffice.europe.company.com)

The reason "why?" is a long story with a very valuable customer on the other end, but basicly the reason is:
each subdomain has to have an own folder accessible via http and ftp (ftp access is limited to a user root folder).
like:
user "manager" have an access to his folder only,
user "accounting" have an access to each "manager" and his own folder, have no access to a higher level subdomain folder,
user "headoffice" have an access to all "department" and "user" type accounts and it's own, have no access to a higher level subdomain folder,
etc., up to root domain name folder (every subdomain level is stored on the same server).

So far I had to create a separate domain record for subdomain "europe.company.com" and then a sub-domain "headoffice" thru "europe.company.com" - > "Subdomain Management",
but it is not a best solution as far as ftp connection ends up with an error:

"- proftpd USER headoffice: no such user found from ... ip's skipped ..."

The user "headoffice" is real user created with DA in a "europe.company.com" - >"FTP Management" section.
The same error occures when I'm adding the "headoffice" user in a "company.com" -> "FTP Management" section.
No matter what I try it does not work.

So the question is: How to make it work in a proper way?

Thank in advance.
 
Last edited:
Back
Top