|
我公司申了一个顶级域:www.xjhkj.com,服务商提供了十个二级域名的域名,我申请了了两个二级域名(cxnet.xjhkj.com和cxs.xjhkj.com),并且指向了我现在单位的linux主机IP(是合法的外网的固定IP:a.b.c.d),现在我的Linux中的apache+sql+ftp已正常运行,并且在httpd.conf里进行了以下配置:
<VirtualHost a.b.c.d>
ServerAdmin [email protected]
DocumentRoot /home/httpd/www.cxnet.xjhkj.com
ServerName www.cxnet.xjhkj.com
ErrorLog /var/log/httpd/www.cxnet.xjhkj.com/error.log
>
<VirtualHost a.b.c.d>
ServerAdmin [email protected]
DocumentRoot /home/httpd/www.cxs.xjhkj.com
ServerName www.cxs.xjhkj.com
ErrorLog /var/log/httpd/www.cxnet.cxs.com/error.log
>
可是我在IE地址栏里输入:
1、a.b.c.d 可以正常apache的黩认测试网页
2、http://www.cxnet.xjhkj.com 却无法正常显示虚拟主机主页
3、http://www.cxs.xjhkj.com 也无法正常显示
这是怎么什么事,应该怎么设置呢?
同时我能够让服务商提供无限个二级域名服务吗?如果不行能不能把我的主机绑定一个二级域名,然后为其它同事提供多个三级域名服务吗?这是不是涉及到DNS配置?请高手解答? |
|