搭建一个基于http://www.zuoye.com或者http://wwww.zuoye.com访问的web网站,网站首页在/www/zuoye/,该web服务器的域名由ns.zuoye.com域名解析服务器解析
1、安装bind服务
2、编辑named.conf
yum install bind -y
cp -a /etc/named.conf /etc/named.conf.bak
vim /etc/named.conf
3、编辑file
vim /var/named/named.zuoye.com
systemctl restart named
vim /etc/resolv.conf
curl http://www.zuoye.com