Pass : 1
Cd /etc/bind/
Ls
Cp db.local db.arief
Cp db.127 db.192
Ls
Pico named.config
Zone “arief.com”
{
Type
master;
File
“/etc/bind/db.arief”;
};
Zone “192.in-addr.arpa”
{
Type
master;
File
“/etc/bind/db.192”;
};
/etc/init.d/bind9 restart
Pico db.arief
Arief.com. admin.arief.com
IN NS arief.com.
IN MX 10
arief.com.
IN A 192.168.10.1
www IN A 192.168.10.1
mail IN A 192.168.10.1
ftp IN A 192.168.10.1
ctrl-x y enter
/etc/init.d/bind9 restart
Pico db.192
Arief.com. admin.arief.com
IN NS arief.com.
IN PTR arief.com.
Ctrl-x y enter
/etc/init.d/bind restart
Ping 192.168.10.1
Ping www.arief.com
Ping mail.arief.com
Cd
Cd /etc/apache2/
Cd sites-enable
Pico 000-default
<VirtualHost *80>
ServerName arief.com
Simpan
/etc/init.d/apache2 restart
Cd
Cd /var/www/
Pico index-html
<html>
<body>
<h1><center>
* SELAMAT DATANG DISITUS UMEB </center></h1>
<p>anda
dapat mengakses apa saja di sini</p>
</body>
</html>
Simpan
www-browser www.arief.com
Tidak ada komentar:
Posting Komentar