手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

Linux基本知识点总结——Apache

[日期:2013-05-14] 来源:Linux社区  作者:sunshyfangtian [字体:大 中 小]

三、客户机测试

 


1.测试域名解析是否正常

[root@station ~]# nslookup www.op.com

Server:        192.168.56.53

Address:        192.168.56.53#53

 


Name:  www.op.com

Address: 192.168.56.53

 


[root@station ~]# cat /etc/resolv.conf

nameserver 192.168.56.53

[root@station ~]# nslookup www.sq.com

Server:        192.168.56.53

Address:        192.168.56.53#53

 


Name:  www.sq.com

Address: 192.168.56.53

 


以上结果无异常,表示DNS服务器正常运行。

 


2.测试页面访问

使用firefox访问http://192.168.56.53时,返回的结果为:

this is home page server: 192.168.56.53

 


使用firefox访问http://www.op.com时,返回的结果为:

this is op page server: 192.168.56.53

 


使用firefox访问http://www.sq.com时,返回的结果为:

this is sq page server: 192.168.56.53

linux
相关资讯       Linux基本知识点总结 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款