ispCP - Board - Support
Add subdomain as domain - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Add subdomain as domain (/thread-14324.html)



Add subdomain as domain - Haros - 07-06-2011 09:27 AM

Hello everybody,

I want to add a subdomain but also I want to have the ability to limit the upload space, disable php in the subdomain's folder... settings that you only find under domain management in ispcp.

So, is there any way that I can add a subdomain to act as a domain?

Thank you.


RE: Add subdomain as domain - kilburn - 07-06-2011 10:02 AM

Have you tried adding the subdomain as if it was a normal domain? Tongue


RE: Add subdomain as domain - Haros - 07-06-2011 10:06 AM

That was my first thought... Big Grin

But when I tried to add it "domain already exists" error appeared. Tongue


RE: Add subdomain as domain - kilburn - 07-06-2011 06:45 PM

... you have to delete the subdomain from the configured subdomains of domain.tld first ...


RE: Add subdomain as domain - Haros - 07-06-2011 08:26 PM

I have deleted the subdomain from ISPCP (using the web interface) isn't that enough?


RE: Add subdomain as domain - Haros - 07-07-2011 11:06 AM

So, any clues?


RE: Add subdomain as domain - kilburn - 07-07-2011 04:21 PM

It should be enough if you don't see it anymore in the panel. The thing is that I don't know what to tell you because it works perfectly fine on my servers :S


RE: Add subdomain as domain - Haros - 07-07-2011 09:08 PM

Are you sure that if you first add a domain and then a subdomain (as domain) it works?

Searching around a bit I found joximu's post which says that ispcp will refuse a new customer sub.domain.tld if domain.tld is already installed (here: http://isp-control.net/forum/thread-6449-post-52633.html#pid52633 ).

Other control panels have that function, is there any workaround that could be done?


RE: Add subdomain as domain - kilburn - 07-09-2011 05:48 PM

I am sure that it works on my test system (squeeze + ispcp 1.0.7). I suppose you can track down where this check is performed and disable it...


RE: Add subdomain as domain - Haros - 07-09-2011 10:18 PM

I have exactly the same setup (squeeze - ispcp 1.0.7).

Can you give a little bit of help about where the check is? I guess since you are a dev you know better Tongue
Ok. Just a little update because I figured out what was the problem. The domain.tld was created by another user. When I tried to add the subdomain it was from a different user than the one that created the main domain.

The error message was a bit missleading but everything is ok now.

Thanks for the help. Smile