Salut à tous,
J'ai un petit problème sur ma configuration de mon nom de domaine.
Quand je vais sur toto.net je vois mes fichiers, mais si je vais sur www.toto.net ou mail.toto.net ou autre, ça ne marche pas....
Voici mes fichiers de configuration :
dans named.conf :
named.conf.options :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 zone "toto.net" { type master; file "/etc/bind/db.toto.net"; };
/etc/bind/db.toto.net :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 options { directory "/var/cache/bind"; auth-nxdomain no; # conform to RFC1035 listen-on-v6 { ::1; }; listen-on { any; }; listen-on port 53 { any; }; allow-recursion { localhost; }; };
et enfin /etc/apache2/sites-available/toto.net :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 $ORIGIN toto.net $ttl 86400 @ IN SOA ksxxxxx.kimsufi.com. webmaster.toto.net. ( 2010091903 21600 3600 604800 86400 ) toto.net. IN NS ksxxxx.kimsufi.com. toto.net. IN NS ns.kimsufi.com. toto.net. IN MX 10 mail.toto.net. toto.net. IN A 91.1xx.x.x Server IN A 91.1xx.x.x www IN CNAME toto.net. mail IN A 91.1xx.x.x smtp IN A 91.1xx.x.x pop IN A 91.1xx.x.x pop3 IN CNAME Server imap IN A 91.1xx.x.x sql IN A 91.1xx.x.x mysql IN A 91.1xx.x.x
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 <VirtualHost *:80> ServerAdmin contact@toto.net ServerName www.toto.net ServerAlias toto.net DocumentRoot /home/toto.net/public_html/ <Directory /home/toto.net/public_html/> Options -Indexes FollowSymLinks MultiViews AllowOverride All </Directory> ErrorLog /home/toto.net/logs/error.log LogLevel warn CustomLog /home/toto.net/logs/access.log combined ServerSignature Off </VirtualHost>
Je vous remercie à tous pour l'aide que vous - j'éspère - saurez m'accorder![]()








Répondre avec citation
Partager