Tutorial on configuring DNS and virtual hosts in RedHat9.0
Source: Internet
Author: User
In the RedHat9.0 DNS and virtual host configuration tutorial, configure several simple virtual hosts. the IP address of the DNS server is 169.254.1.189. For example, the domain name of our company is linuxidc.com. I want to configure the following servers: ftp.linuxidc.com, mail.linuxidc.com, kuanping.linuxidc.com, soft.linuxidc.com, xiaoshou.zzvcom.com, cpzz. tutorial on configuring DNS and virtual hosts in z RedHat9.0
Configure several simple virtual hosts. the DNS server IP address is 169.254.1.189. For example, the domain name of our company is linuxidc.com. I want to configure the following servers:
Ftp.linuxidc.com, mail.linuxidc.com, kuanping.linuxidc.com, soft.linuxidc.com,
Xiaoshou.zzvcom.com, cpzz.zzvcom.com, net.zzvcom.com, and yanfa.zzvcom.com.
Install rpm software named, and then download 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
# Mkdir/www
# Cd/www
# Mkdir ftp mail soft xiaoshou net yanfa cpzz kuanping
In/www/ftp/www/mail/www/soft/www/xiaoshou/www/net
/Www/yanfa/www/kuanping/www/cpzz a separate main page (index.html ),
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.