WHAT'S NEW?
Loading...

Membuat domain di server Lokal

ini ada catatan kecil yang temen sy buat sendiri.barangkali bisa berguna bagi teman-teman sekalian,maaf sy buat dalam bahasa inggris.kalau ada yang kurang mohon masukkan nya.

The domain instruction diserver local (Server)

the Example: nama domain.com

added the line along with in file named.conf yg was located in etc

one”$nama_domain” IN {
 typemaster;
 file”$nama_file.zone“;
 allow-update{ 192.168.1.11; };
 };

Contoh:
 zone”nama domain.com” IN {
 typemaster;
 file”nama domain.zone“;
 allow-update{ 127.1.1.1; };
 };
For file the zone to $nama domain by the name of $nama file.zone

 in/var/named/with the contents like along with:


$TTL 86400

@ IN SOA $nama_domain.com. root.$nama_domain.(

42 ; serial(d. adams)

3H ; refresh

15M ; retry

1W ; expiry

1D ) ; minimum

INNS $nama_domain.

INA 192.168.1.11

www IN CNAME $nama_domain.
 $sub_domain IN CNAME $nama_domain.
 #Deklarasi subdomain dengan nama $sub_domain.$nama_domain

Contoh:

$TTL 86400

@ IN SOA nama domain.com. root.nama-domain.com. (

42 ; serial (d. adams)
 3H ; refresh
 15M ; retry
 1W ; expiry
 1D ) ; minimum

INNS nama-domain.com.
INA 192.168.1.11
www IN CNAME nama-domain.com.
manage IN CNAME nama-domain.com.
jalanjaksa IN CNAME nama-domain.com.

# the Declaration of the sub-domain by the name of manage.nama domain.com

- Restart service DNS him with the order

 * service named restart

# The configuration test that was made by sending the package request keserver

#ping nama-domain.com
 #ping www.nama-domain.com
 #ping manage.nama-domain.com
 #ping nama domain.com
 #Be finished. Remained for virtual name dikonfigurasi apache to activate webserver him.

semoga bermanfaat.saya juga masih belajar.mari kita kembangkan ilmu dengan cara berbagi.

0 comments:

Post a Comment