Moving subdomain file location

robertdegreef

New member
Joined
Mar 11, 2013
Messages
1
Hello all,

I'm looking for an solution for this problem:
When I create a subdomain the server makes a folder in the root of my website.
And I would like to have this folder AUTOMATICALLY moved outside the root of the domain.

Example:
This is how it's now: "/home/googleuser/domains/google.com/public_html/test/"
and I would like somthing like this: "/home/username/domains/domain.com/subdomains/test.google.com/"

I have found some guide online how to change the directory but this still doesn't work for me.
Has someone a better guide for me, or an sollution?

This guide(http://help.directadmin.com/item.php?id=2) is provided by directadmin but still doesn't solve my problem.
 
I have found some guide online how to change the directory but this still doesn't work for me.

And what exact guides? And what exactly did not work?

Has someone a better guide for me, or an sollution?

Maybe someone else has one. I did write some scripts for achieving this some years ago. We aren't using them though. If you want I could write some for you.
 
Back
Top