怎么借助希网的动态ip访问apache2架设的服务器

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
oxangen
帖子: 64
注册时间: 2010-03-09 14:02

怎么借助希网的动态ip访问apache2架设的服务器

#1

帖子 oxangen » 2010-03-24 22:41

系统是ubuntu 9.10的
用希网的免费动态域名做了绑定
命令如下
root@zouvi-laptop:/etc/apache2# lynx -mime_header -auth=*****:****** "http://www.3322.org/dyndns/update?syste ... n.8866.org"
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 24 Mar 2010 14:34:03 GMT
Content-Type: text/plain;charset=GBK
Connection: close
Content-Length: 20

nochg 121.40.66.59
这应该是帮定成功了吧?
然后我下了个apache2,直接使用apt-get install apache2
然后我敲命令
root@zouvi-laptop:/etc/apache2# apache2 -k start
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
用firefox上192.168.1.103显示
It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.
apache2应该是运行了,为什么我输入绑定的那个域名zouvi-yun.8866.org就上不 了,我知道要在/etc/apache2/apache2.conf里改配置文件,但应该怎么改呢?
ThinkPad T60 with ubuntu 10.10 and windows xp sp3
回复