View Single Post

  #6 (permalink)  
Old 09-01-2005
Jerry Ching
 
Posts: n/a
Default Re: WinXP Home + Apache 2.0.54 + NO-IP.com + D-Link DSL-500T + Port 8080 + Document Root E

Hi, Now I can Running the Website www.mywebsite.dyndns.org:8080 in Public
Address . But If in www.mywebsite.no-ip.com:8080 Still NOT work in Public
Address (page not found) !! Even my Apache httpd still set my webserver
name set to www.mywebsite.no-ip.com:8080
Can I Running 2 Difference Address www.dyndns.org + www.no-ip.com website
by Apache ... Which in 1 same Document Root E:/
Can anyone Teach me how to do that ... Thanks a lot.


"David Efflandt" <efflandt@xnet.com> wrote in message
news:slrndgq97r.brq.efflandt@typhoon.xnet.com...
> On Wed, 24 Aug 2005 14:33:44 +0800, Jerry Ching <jerryching@hotmail.com>
> wrote:
>> Have try about what you say ..but No Luck ..Still No Working ..How to
>> Setup
>> VirtualHost in Apache ..Have try to Follow which in the Apache Exampler
>> files ..But after add the VirtyalHost ..Apache can't start anymore
>> ..maybe
>> the problem is ..My Document Root is in E:.
>> Can any one Tell me how and where need to do the changing ..Thanks.
>>
>> NameVirtualHost 192.168.1.101:80
>> NameVirtualHost 192.168.1.101:8080

>
> If you are attempting to access virtual hosts on private and/or dynamic IP
> via a public name, that name does not resolve to your LAN IP. So you
> likely need to use wildcard NameVirtualHost * and <VirtualHost *:80> or
> <VirtualHost *:8080>
>
> Also as I mentioned, see docs for UseCanonicalName, and you might need to
> test it from internet instead of LAN if your router does not do loopback.
>
>><VirtualHost 192.168.1.101:80>
>> ServerName www.mywebsite.no-ip.com
>> DocumentRoot E:/My Website/No-IP.com
>></VirtualHost>
>>
>><VirtualHost 192.168.1.101:8080>
>> ServerName www.mywebsite.no-ip.com
>> DocumentRoot E:/My Website/No-IP.com
>></VirtualHost>