Current time: 11-22-2024, 10:55 PM Hello There, Guest! (LoginRegister)


Post Reply 
user.domain.tld accounts and user domain.tld
Author Message
ergo Offline
Junior Member
*

Posts: 56
Joined: Apr 2008
Reputation: 0
Post: #1
user.domain.tld accounts and user domain.tld
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 ?
05-06-2008 10:30 PM
Find all posts by this user Quote this message in a reply
ergo Offline
Junior Member
*

Posts: 56
Joined: Apr 2008
Reputation: 0
Post: #2
RE: user.domain.tld accounts and user domain.tld
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.
05-06-2008 11:48 PM
Find all posts by this user Quote this message in a reply
MicCo Offline
Moderator
*****
Moderators

Posts: 277
Joined: Oct 2006
Reputation: 1
Post: #3
RE: user.domain.tld accounts and user domain.tld
Why do a redirect of a subdomain to an domain ?
05-08-2008 06:59 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ergo Offline
Junior Member
*

Posts: 56
Joined: Apr 2008
Reputation: 0
Post: #4
RE: user.domain.tld accounts and user domain.tld
micco, sorry , maybe i wasnt elaborate, i wanted to have a user like subdomain.domain.com, with separate admin login etc.
06-16-2008 06:18 PM
Find all posts by this user Quote this message in a reply
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #5
RE: user.domain.tld accounts and user domain.tld
AFAIK the solution you have used is the only one. Do not forget to change the working copy.
(This post was last modified: 06-16-2008 11:50 PM by Cube.)
06-16-2008 11:48 PM
Find all posts by this user Quote this message in a reply
weblivehelp Offline
Junior Member
*

Posts: 59
Joined: Apr 2008
Reputation: 0
Post: #6
RE: user.domain.tld accounts and user domain.tld
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
06-24-2008 08:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Achmed Offline
Junior Member
*

Posts: 104
Joined: Jan 2007
Reputation: 0
Post: #7
RE: user.domain.tld accounts and user domain.tld
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.
06-24-2008 09:23 PM
Find all posts by this user Quote this message in a reply
weblivehelp Offline
Junior Member
*

Posts: 59
Joined: Apr 2008
Reputation: 0
Post: #8
RE: user.domain.tld accounts and user domain.tld
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?
06-24-2008 09:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
weblivehelp Offline
Junior Member
*

Posts: 59
Joined: Apr 2008
Reputation: 0
Post: #9
RE: user.domain.tld accounts and user domain.tld
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
06-27-2008 11:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ben72 Offline
Newbie
*

Posts: 9
Joined: Jul 2008
Reputation: 0
Post: #10
RE: user.domain.tld accounts and user domain.tld
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
(This post was last modified: 07-19-2008 03:21 AM by ben72.)
07-19-2008 03:13 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)