Thursday, January 14, 2010

Menbuat E-comerse dan Seting DNSnya

1. CMS : oscommerce-2.2rc2a
2. Template : default OSCommerce
3. Module :default OSCommerce
Setting DNS :

File 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 "belanjapuas.com" {
type master;
file "/etc/bind/db.belanjapuas.com";
};

zone "56.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.192";
};

include "/etc/bind/rndc.key";

File db.belanjapuas.com :

;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ns.belanjapuas.com. mail.belanjapuas.com. (
2010010505 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
localhost IN A 127.0.0.1
@ IN NS ns.belanjapuas.com.
ns IN A 192.168.56.1
smtp IN CNAME ns
www IN CNAME ns
ftp IN CNAME ns

File db.192 :

;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA ns.belanjapuas.com. mail.belanjapuas.com. (
2010010503 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.
1 IN PTR belanjapuas.com.
www IN CNAME ns
smtp IN CNAME ns
cups IN CNAME ns
proxy IN CNAME ns

No comments:

Post a Comment