DESAIN
DESAIN
Debian Server
DNS Server
Web Server
Mail Server
Samba Server
FTP Server
Ip 192.168.18.200
DNS SERVER
Agar domain dapat berjalan harus konfigurasi
dns terlebih dahulu, dns server pada linux
dikenal dengan bind
Langkah nya
1. Install bind9 pada debian
Perintahnya
# apt-get install bind9
konfigurasi dns server
masuk direktori bind
# cd /etc/bind
#pico named.conf.local
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used
in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "nachwani.com" {
type master;
file "/etc/bind/db.wani";
};
zone "200.in-addr.arpa" {
type master;
file "/etc/bind/db.200";
};
MMMM M M M MM M M
.
Blok Biru sesuaikan
# cp db.local db.wani
# cp db.127 db.200
# ls
# pico db.wani
nameserver 192.168.18.200
# ping nachwani.com
# /etc/init.d/networking restart
# ping nachwani.com
Kalau replay konfigurasi DNS sukses
root@wani:/etc/bind# ping nachwani.com
PING nachwani.com (192.168.18.200) 56(84) bytes of data.
64 bytes from 192.168.18.200: icmp_seq=1 ttl=64 time=0.028 ms
64 bytes from 192.168.18.200: icmp_seq=2 ttl=64 time=0.051 ms
64 bytes from 192.168.18.200: icmp_seq=3 ttl=64 time=0.051 ms
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;nachwani.com. IN A
;; ANSWER SECTION:
nachwani.com. 604800 IN A 192.168.18.200
Troubelshooting BIND
# named -g -p 53
Jika ada konfigurasi yang salah akan keluar missing.
Cara instalasi
#apt-get install apache2 php5 mysql-server
Setelah selesai
SIMPAN CTRL + X Y enter
Aktifkan konfigursai yang dibuat dengan perintah
# a2ensite wani.conf
Restart apache
# /etc/init.d/apache2 restart
Cek melalui
#www-browser nachwani.com kalau keluar halaman yang kita buat
Cek melalui browser mozila/crome
-------------------------------------------------------------------------IIIIII-------------------------------------------------------------