由 dato 在 09-11-2003 11:27 发表:
基于动态DNS域名能做虚拟主机吗
我尝试了一下像我申请了两个
同样指向我拔号时的广域网IP
但我希望设置虚拟主机将它们指向不同的目录
结果失败同样都不行
是因为域名别人解析的问题吗,还是别的
Webmasterworld -- the next person you help may just be yourself!
由 Glue 在 09-11-2003 19:03 发表:
应该是你的apache设置的问题。
-_-
由 dato 在 09-12-2003 00:27 发表:
1<virtualhost *="">
2
3ServerName dato.minidns.net
4
5ServerAlias minidns.net dato.minidns.net
6
7DocumentRoot e:/w3/www/ctb
8
9</virtualhost>
1<virtualhost *="">
2
3ServerName totou.minidns.net
4
5DocumentRoot h:/cdi
6
7</virtualhost>
> quote: > > * * * > > Name-based virtual hosting is usually simpler, since you need only configure your DNS server to map each hostname to the correct IP address and then configure the Apache HTTP Server to recognize the different hostnames. Name-based virtual hosting also eases the demand for scarce IP addresses. Therefore you should use name-based virtual hosting unless there is a specific reason to choose IP-based virtual hosting. Some reasons why you might consider using IP-based virtual hosting: > > * * *
我在内网只能使用192.168.1.2,自己不能解析那两个域网
HOHO再看文档资料
Webmasterworld -- the next person you help may just be yourself!
由 dato 在 09-12-2003 00:44 发表:
NameVirtualHost 192.168.1.2
1<virtualhost 192.168.1.2="">
2
3ServerName forum.minidns.net
4
5DocumentRoot e:/w3/www/ctb
6
7</virtualhost>
1<virtualhost 192.168.1.2="">
2
3ServerName totou.minidns.net
4
5DocumentRoot e:/w3/www/vbb
6
7</virtualhost>
搞定 http://forum.minidns.net 指向CTB论坛
http://totou.minidns.net 指向VBB论坛
to glue大侠你那有apache2的 SSL文档