ispCP - Board - Support
user.domain.tld accounts and user domain.tld - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: user.domain.tld accounts and user domain.tld (/thread-3233.html)

Pages: 1 2


user.domain.tld accounts and user domain.tld - ergo - 05-06-2008 10:30 PM

hello,

i saw a howto here somewhere earlier but cant seem to find it :

i want to have a user name.com , and user sub1.name.com, sub2.name.com ( right now all the subdomains are redirectred to name.com) i saw thats possible but i cant find the howto nowhere - can anyone post a link to what need to be changed ?


RE: user.domain.tld accounts and user domain.tld - ergo - 05-06-2008 11:48 PM

ok, ive fixed the problem so far by removing the *.domain.com part from serverAlias part of my vhost from apache config. And everything works but i saw somewhere other solution for that.


RE: user.domain.tld accounts and user domain.tld - MicCo - 05-08-2008 06:59 AM

Why do a redirect of a subdomain to an domain ?


RE: user.domain.tld accounts and user domain.tld - ergo - 06-16-2008 06:18 PM

micco, sorry , maybe i wasnt elaborate, i wanted to have a user like subdomain.domain.com, with separate admin login etc.


RE: user.domain.tld accounts and user domain.tld - Cube - 06-16-2008 11:48 PM

AFAIK the solution you have used is the only one. Do not forget to change the working copy.


RE: user.domain.tld accounts and user domain.tld - weblivehelp - 06-24-2008 08:23 PM

I also want this, but it seems ispCP doesn't let me create a user as sub1.domain.tld as it says domain.tld is already configured.

What do I need to do to "disable" this "protection" (only change the php code?!)

Thanks


RE: user.domain.tld accounts and user domain.tld - Achmed - 06-24-2008 09:23 PM

I hope i understand what you want.
I changed at my /etc/ispcp/apache/parts/dmn_entry.tpl:
Code:
ServerAlias     www.{DMN_NAME} {DMN_NAME} *.{DMN_NAME}
to
ServerAlias     www.{DMN_NAME} {SUEXEC_USER}.example.com {DMN_NAME} *.{DMN_NAME}
Where example.com is my main-domain.
No every user i add gets a server-alias like vu2xxx.example.com.
You can add your sub1 and sub2 to this line: sub1.{DMN_NAME}.
But this will add these subdomains to every new user you add.


RE: user.domain.tld accounts and user domain.tld - weblivehelp - 06-24-2008 09:34 PM

Thanks Achmed, but that's not what I want Smile

I have a reseller that owns domain.tld and he wants to give free hosting as sub.domain.tld, sub2.domain.tld, etc. and these free hosting users have got to have an ispCP account to manage their sql tables, ftp accounts, etc. know what I mean?


RE: user.domain.tld accounts and user domain.tld - weblivehelp - 06-27-2008 11:17 PM

So, no one can answer me if this is true? I'm going to make the changes tomorrow anyway to check... After ispCP upgrade to RC5


RE: user.domain.tld accounts and user domain.tld - ben72 - 07-19-2008 03:13 AM

I think I used this patch on vhcs2 and it works like you requested.
http://www.vhcs.pl/viewtopic.php?f=14&t=10

I think it's the same way you proposed to do on ispCP. Please let me know if it worked and what changes you did.

Thanks,
Ben