配置几个简单的虚拟主机,DNS 服务器IP为169.254.1.189例我公司的域名为:stcore.com.我想配置以下几个服务器为:
ftp.stcore.com,mail.stcore.com,kuanping.stcore.com,soft.stcore.com,
xiaoshou.zzvcom.com,cpzz.zzvcom.com,net.zzvcom.com,yanfa.zzvcom.com.
先安装RPM域名解析软件named,再下载apache.tar.gz
#tar –zxvf apache.tar.gz
#cd apache
#./configure –prefix=/usr/local/apache
#make;make install;make clean
#vi /usr/local/apache/conf/httpd.conf
ServerName 169.254.1.189
NameVirtualHost 169.254.1.189
...[ 查看全文 ]