use admin domain as user domain - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: use admin domain as user domain (/thread-1695.html) |
use admin domain as user domain - piziwate - 11-02-2007 05:03 PM Hello ! I'm trying ispCP RC2 on Debian Etch and I don't understand why the bind server couldn't resolve the admin.domain.tld ! domain.tld is the main admin domain. I use it as user domaine as well (to show some pages about the server) The domain.tld works fine ! I'm sure that the problem comes from the DNS server. Everything works well if I put the admin.domain.tld in my local hosts file. My ispcp.conf file : Code: ... Code: ... If I remove the admin.domain.tld zone and add admin as sub domain in the domain.tld zone, that's work. But that couldn't be a permanent change (named.conf will be updated by ispCP) I will appreciate your help or yours comments ! Best Regards Piziwate[/code] RE: use admin domain as user domain - joximu - 11-02-2007 05:56 PM SERVER_HOSTNAME = domain.tld A hostname is not a domain name. It should rather look like this: panel.domain.tld (or whatever the real *host*name is. I think then it should be possible to use admin.domain.tld for ispcp and a normal domain account with domain.tld /J RE: use admin domain as user domain - piziwate - 11-02-2007 07:31 PM Hello ! Thank you for your answer. I put : SERVER_HOSTNAME = host-srv01 and changed my /etc/hosts 127.0.0.1 host-srv01.local localhost xxx.xxx.xxx.xxx host-srv01 But it still not working. The admin.domain.tld is not resolved !! Code: host-srv01:~# nslookup domain.tld An idear ? RE: use admin domain as user domain - joximu - 11-02-2007 08:10 PM piziwate Wrote:Hello ! better: SERVER_HOSTNAME = host-srv01.domain.tld a "full qualified host name" is needed piziwate Wrote:and changed my /etc/hosts see mine: # 'hosts' file configuration. 127.0.0.1 host1.domain.tld.local localhost 123.45.67.89 host1.domain.tld host1 ::ffff:123.45.67.89 host1.domain.tld host1 ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts piziwate Wrote:But it still not working. The admin.domain.tld is not resolved !! Maybe you have to go through the configuration of bind. have a look at /etc/bind/named.conf and /var/cache/bind/* There should be one zonefile (.db) for each domain created and one for the ISPCP-SERVER-NAME (admin.domain.tld.db). /J RE: use admin domain as user domain - piziwate - 11-02-2007 08:49 PM Thank you, I changed configs... There is a db file for the domain and for admin.domain. Here is my admin.domain.tld.db file : Code: $TTL 86400 Is there something wrong ? RE: use admin domain as user domain - joximu - 11-02-2007 09:05 PM Seems ok. so, if you ask your own server about admin.domain.tld then you should get an answer. Maybe your server uses other DNS for name resolving - see /etc/resolve.conf. /J |