Hallow smua... ^_^
Saya pengguna buntu Karmic,
Bagaimana cara setup DNS untuk subdomain di server lokal?
Masalahnya untuk master domain saja-pun,
`dig` tidak memberi jawaban (ANSWER SECTION).
Awalnya saya ingin mencoba WordPress MU di localhost.
Tujuannya untuk mendapat subdomain *.wpmu.local.
Lalu ingin membuat wildcard subdomain tersebut di /etc/hosts.
Namun ternyata harus diatur dengan DNS server.
Jadilah saya setup bind9.
Kalau master-nya saja tidak jalan,
tentunya subdomain juga tidak ditemukan.
Salah di mana ya?
Ini File Konfigurasi nya :
<b>/etc/bind/named.conf.local</b>
zone "friendbux.com" {
type master;
file "etc/bind/db.friendbux.com";
};
<b>/etc/bind/db.friendbux.com</b>
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ns.friendbux. root.friendbux.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns.friendbux.com.
NS IN A 127.0.0.1
1 PTR localhost
* IN A 127.0.0.1
;pop IN CNAME ns
;@ IN AAAA ::1
<b>/etc/bind/named.conf.options</b>
options {
directory "/var/cache/bind";
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
--
You received this message because you are subscribed to the Google Groups "Klub
Linux Bandung" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/klub-linux-bandung?hl=en.