Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I just started using ISPconfig3. I found out that when I create new subdomain new.example.com that it will create subdirectory in domain's directory example.com.

So first question I want to ask you if it's possible to create subdomain in a way that it's directory won't be created as subdirectory in domain's directory but as new directory. Like this:

This would be the best if it would be possible to make it like this (it doesn't matter if there is www in the name of those domain directories):

/var/www
|--example.com
|  |--www.example.com
|  |  |--public_html
|--example1.com
|  |--www.example1.com
|  |  |--public_html
|  |--sub.example1.com
|  |  |--public_html
|...

if not then also like this it would be ok:

/var/www
|--example.com
|  |--public_html
|--new.example.com
|  |--public_html

I don't want it like this:

/var/www
|--example.com
|  |--public_html
|  |--new.example.com
|  |  |--public_html

And second question is, whether it's possible to tell ISPconfig somehow NOT to rewrite subdomain from new.example.com to example.com/new?

I hope I explained it good and you will understand it.

share|improve this question

closed as off-topic by HopelessN00b Mar 8 at 21:37

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

Instead of using Sites-> Subdomain-> Add New Subdomain use Sites->Add New Website, enter sub.example.com for the domain and ISPconfig will create a subdomain with it's own webspace.

share|improve this answer
    
I assume that is not possible to create my own profiles where I define directory structure how ISPconfig should create directories in /var/www? –  panaroik Aug 10 '11 at 16:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.