Take the 2-minute tour ×
Server Fault is a question and answer site for professional 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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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