Apache2: Zone " " (Type Master )
Apache2: Zone " " (Type Master )
Apache2: Zone " " (Type Master )
$ sudo apt-get install apache2 $ sudo nano /var/www/index. $ sudo /etc/init.d/apache2 restart
----DNS(bind9):
$TTL 1h greivin.com. IN .(
SOA
ns.greivin.com.
webadmin@greivin.com
2009010910 ;serial 3600 ;refresh 3600 ;retry 3600 ;expire 3600 ;minimum TTL
) greivin.com. IN NS ns.greivin.com.
$ sudo nano /etc/resolv.conf # add the below line as the first nameserver entry nameserver 10.10.200.2 Search telenetcr.net
auto eth0 iface eth0 inet static address 10.10.200.2 netmask 255.255.255.0
-----DHCP(isc-dhcp-server):
#Defaults for dhcp initscript #sourced by /etc/init.d/dhcp #installed at /etc/default/isc-dhcp-server by the maintainer scripts # #This is a POSIX shell fragment # #On what interfaces should the DHCP server (dhcpd) serve DHCP requests? #Separate multiple interfaces with spaces, e.g. eth0 eth1?.
INTERFACES=eth0?
ddns-update-style none;
option subnet-mask 255.255.255.0; option broadcast-address 10.10.200.254; option routers 10.10.200.2; option domain-name "Greivin.com"; option domain-name-servers 10.10.200.2;
log-facility local7;