ispCP - Board - Support - VHCS fork

Full Version: user.domain.tld accounts and user domain.tld
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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 ?
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.
Why do a redirect of a subdomain to an domain ?
micco, sorry , maybe i wasnt elaborate, i wanted to have a user like subdomain.domain.com, with separate admin login etc.
AFAIK the solution you have used is the only one. Do not forget to change the working copy.
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
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.
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?
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
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
Pages: 1 2
Reference URL's