Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th July 2006, 02:10
HackerJL HackerJL is offline
Junior Member
 
Join Date: Mar 2006
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default domain_username instead of web[WEBID]_username

Example: domain.com has a user james

currently i have the option of web1_whateveriwant

Can I change the global option to be domain_whateveriwant

currently under Management->system config->settings->ISP config tab it is:
web[WEBID]_

I dont know the string, but could it be something along the lines of:
[domain]_

??

or what are the arguements allowed here?
Reply With Quote
  #2  
Old 19th July 2006, 11:29
TheRudy TheRudy is offline
Senior Member
 
Join Date: Dec 2005
Posts: 213
Thanks: 1
Thanked 7 Times in 5 Posts
Default

Not really, that is something that i would also like to see in ISPconfig, instead of static prefixes, you would have domain name prefixes where its possible, like mysql and so on..

You can put whatever you want instead of 'web'[WEBID]_ but it will always be the same for all users..

Your prefix + [WEBID]

No other way..
Reply With Quote
  #3  
Old 19th July 2006, 11:45
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
Default

You can use the [DOMAIN], [WEBID] or [HOST].

Please have a look here:

http://www.howtoforge.com/faq/index....l&cat=14&id=47
__________________
Till Brehm
--
http://www.projektfarm.com/en/
Reply With Quote
  #4  
Old 19th July 2006, 12:55
TheRudy TheRudy is offline
Senior Member
 
Join Date: Dec 2005
Posts: 213
Thanks: 1
Thanked 7 Times in 5 Posts
Default

Hey, i didn't know that..

[domain] = users domain.tld not the main/server domain?
[host] = hostname?

what happens, if i'm using [webid] currently and i change it to [domain]? Will everything be changed or will those accounts that have [webid] die as in not working anymore?
Reply With Quote
  #5  
Old 19th July 2006, 15:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
Default

Quote:
Originally Posted by TheRudy
Hey, i didn't know that..

[domain] = users domain.tld not the main/server domain?
[host] = hostname?
If you have a website www.yourdomain.com, then:

[HOST] = www
[DOMAIN] = yourdomain.com

Quote:
what happens, if i'm using [webid] currently and i change it to [domain]? Will everything be changed or will those accounts that have [webid] die as in not working anymore?
Existing usernames where not affected by that change.
__________________
Till Brehm
--
http://www.projektfarm.com/en/
Reply With Quote
  #6  
Old 18th August 2006, 02:09
agbert agbert is offline
Junior Member
 
Join Date: Aug 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to agbert Send a message via AIM to agbert Send a message via MSN to agbert Send a message via Yahoo to agbert Send a message via Skype™ to agbert
Thumbs down

Quote:
Originally Posted by till
If you have a website www.yourdomain.com, then:

[HOST] = www
[DOMAIN] = yourdomain.com
This does not seem to work for the User Prefix as indicated. I set User Prefix to '[domain]_'. When adding a user/email the system returns an error: "Field: Username The user name has to contain a minimum of 4 and a maximum of 32 letters or figures and has to begin with a letter." The domain I am working with plus '_' plus the username itself is not >32 chars, so this must be an error due to using [domain].

Thoughts?

Andrew...
Reply With Quote
  #7  
Old 18th August 2006, 02:20
HackerJL HackerJL is offline
Junior Member
 
Join Date: Mar 2006
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried this on an existing server that is running. I changed it to [domain]_

I made a domain called testdomain.com

and added a user. It gave me a user of testdomain.com_jimmybobusername and it let me.

I dont know what you were putting for the username part...
Reply With Quote
  #8  
Old 18th August 2006, 02:24
agbert agbert is offline
Junior Member
 
Join Date: Aug 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to agbert Send a message via AIM to agbert Send a message via MSN to agbert Send a message via Yahoo to agbert Send a message via Skype™ to agbert
Default

'agbert.net' is the domain and andrewg is the username. Which should net me agbert.net_andrewg.

Andrew...
Reply With Quote
  #9  
Old 18th August 2006, 02:30
agbert agbert is offline
Junior Member
 
Join Date: Aug 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to agbert Send a message via AIM to agbert Send a message via MSN to agbert Send a message via Yahoo to agbert Send a message via Skype™ to agbert
Default

Attached is the screen shot for the add user form. Maybe something else is wrong because I would expect agbert.org_ to appear not [domain]_.

Andrew...
Attached Images
 
Reply With Quote
  #10  
Old 18th August 2006, 03:00
HackerJL HackerJL is offline
Junior Member
 
Join Date: Mar 2006
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

make sure in your settings its set the [DOMAIN]_ not [domain]_

I just tried it again and this is what I am seeing.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:00.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th