apt-get install apache2
#inciar
/etc/init.d/apache2
Order deny,allow
deny from all
allow from 10.1.1.1
NameVirtualHost 192.168.0.1
ServerName www.site.com.br
ServerAdmin admin@site.com.br
DocumentRoot /var/www
TransferLog /var/log/apache/access.log
ErrorLog /var/log/apache/error.log
# para ver as configuracoes de vitual host atual
apache -S
***************
* BIND9 *
***************
apt-get install bind9
/etc/bind/
/etc/bind/named.conf
ZONE "site.com.br" {
type master;
file "db.site.com.br";
};
/etc/bind/db.site.com.br
$ TTL 604 800
IN SOA site.com.br root.site.com.br (
2004111700 ; serial
604800 ; refresh
86400 ; retry
2419200 ; expire
604800 ; negative cache TTL )
;
@ IN NS nome_da_maquina