PDA

View Full Version : Drop the web_host default value='www' ?


h8r
5th February 2009, 05:08
Hello,

I'm new to ispconfig.. I've just set up a server with CentOS, everything is working fine.. but I can't find from where I can drop out the default hostname for a site? This is very annoying problem because every time I update or insert a new site the hostname changes to its default value=www.

So If I don't want to use a hostname I had to clear the default value with firebug and then update the site settings. Maybe I'm wrong somewhere or I can't find this thing in the settings.. but if I have site with hostname www I have to change the username I use to log in squirrelmail..

here is the html I correct each time I save the site

<input class="text" type="text" value="www" maxlength="255" size="10" name="form[web_host]"/>

How can I drop this?

Thanks in advance,
h8R

P.S. I'm using ispconfig2

falko
5th February 2009, 22:25
I haven't experienced anything like that. Are you using the latest ISPConfig 2 release (2.2.29)?

h8r
6th February 2009, 12:37
Yes, I'm using this ISPConfig-2.2.29.tar.gz packet and its very very annoying. Not sure what to do... I've tried searching the form template and modify it manually, but really can't find it.

The problem with the hosts comes when the user logs in squirrel by his username+domain. I found there lines with www. in /etc/postfix/virtusertable

Maybe I should upgrade to ispconfig3?

p.s. I've built the entire system using this howto http://www.howtoforge.com/centos-5.1-server-lamp-email-dns-ftp-ispconfig

h8r
6th February 2009, 16:01
I'm pretty sure the last message is spam.. admins please remove it, because of it nobody will help me :/

till
7th February 2009, 11:57
The hostname field of a website can not be empty, thats why it is filled in automatically in case that you did not enter a value.

h8r
7th February 2009, 13:28
Hi, till! Thanks for the reply. So I understand.. I can't go without www. but my ispconfig doesn't creates server alias for the virtual host I setup. Also puts the hostname plus the domain in /etc/postfix/virtusertable and file looks like this

test@www.domain.org.uk web12_test
web12_test@www.domain.org.uk web12_test

So the user has to log with hostname+domain in squirrelmail. I will dig in the source code to make my modifications. Seems that howto is not finished, or nobody else happend to use squirrelmail with it :)

Have a nice weekend and thanks again!
h8R

till
7th February 2009, 13:37
Thats all fine as ISPConfig adds automatically a co-domain with empty hostnam if you have not set the limuts too low.