Thanks Mara. I had indeed iptables and ipchains running, and now i disabled both, but it didn't help. I noticed, moreover, that i can ping
www.mydomain.com from the server even when my ip address is not set yet (but when i try to ping
www.mydomain.com from my XP station, it can't), so i guess i have to fix my Bind configuration files... When i telnet 192.168.0.1 80, it just freezes... Here is what i have :
- in /etc/hosts :
127.0.0.1 localhost localhost.localdomain
192.168.0.1 arikel
- in /etc/resolv.conf :
domain mydomain.com
nameserver 127.0.0.1
- in /etc/named.conf :
controls {
inet 127.0.0.1 allow {localhost;} keys {rndckey;};
};
include "/etc/rndc.key";
options {
directory "/var/named/";
};
zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "0.0.127.in-addr.arpa.zone";
};
zone "localhost" {
type master;
file "localhost.zone";
};
zone "mydomain.com" {
type master;
file "mydomain.com.zone";
};
My zone files are in /var/named/
- mydomain.com.zone :
$TTL 86400
@ IN SOA ns.mydomain.com. arikel.mydomain.com.(
1
28800
7200
604800
864000
)
IN NS ns.mydomain.com
IN MX 10 mail.mydomain.com
IN A 192.168.0.1
www IN A 192.168.0.1
mail IN A 192.168.0.1
ns IN A 192.168.0.1
arikel IN A 192.168.0.1
- localhost.zone :
$TTL 86400
@ IN SOA @ arikel.localhost(
1
28800
7200
604800
86400
)
@ IN SOA localhost.
@ IN A 127.0.0.1
I hope with all this, my mistakes and misunderstandings will seem obvious to you. Thanks for helping the real newbie i am.