|
user.domain.tld accounts and user domain.tld
|
| Author |
Message |
ergo
Junior Member

Posts: 56
Group: Registered
Joined: Apr 2008
Status:
Offline
Reputation: 0
|
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 |
|
 |
ergo
Junior Member

Posts: 56
Group: Registered
Joined: Apr 2008
Status:
Offline
Reputation: 0
|
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 |
|
 |
MicCo
Junior Member
   
Posts: 203
Group: Dev Team
Joined: Oct 2006
Status:
Offline
Reputation: 2
|
RE: user.domain.tld accounts and user domain.tld
Why do a redirect of a subdomain to an domain ?
Best regards,
MicCo 
-------------------------------------------
Make It Easy, Keep It Simple.
-------------------------------------------
Okay, there is one thing Linux is wayback on MS, Linux dont have the amount of securety updates.
|
|
| 05-08-2008 06:59 AM |
|
 |
ergo
Junior Member

Posts: 56
Group: Registered
Joined: Apr 2008
Status:
Offline
Reputation: 0
|
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 |
|
 |
Cube
Documentation Team
  
Posts: 505
Group: Docu Team
Joined: Apr 2007
Status:
Offline
Reputation: 6
|
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 |
|
 |
weblivehelp
Junior Member

Posts: 36
Group: Registered
Joined: Apr 2008
Status:
Offline
Reputation: 0
|
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
WebLive Help - 100% Free IT Professional Help at http://www.weblivehelp.net/
|
|
| 06-24-2008 08:23 PM |
|
 |
Achmed
Junior Member

Posts: 83
Group: Registered
Joined: Jan 2007
Status:
Offline
Reputation: 0
|
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:
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 |
|
 |
weblivehelp
Junior Member

Posts: 36
Group: Registered
Joined: Apr 2008
Status:
Offline
Reputation: 0
|
RE: user.domain.tld accounts and user domain.tld
Thanks Achmed, but that's not what I want 
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?
WebLive Help - 100% Free IT Professional Help at http://www.weblivehelp.net/
|
|
| 06-24-2008 09:34 PM |
|
 |
weblivehelp
Junior Member

Posts: 36
Group: Registered
Joined: Apr 2008
Status:
Offline
Reputation: 0
|
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
WebLive Help - 100% Free IT Professional Help at http://www.weblivehelp.net/
|
|
| 06-27-2008 11:17 PM |
|
 |