WinXP Home + Apache 2.0.54 + NO-IP.com + D-Link DSL-500T + Port 8080 + Document Root E

This is a discussion on WinXP Home + Apache 2.0.54 + NO-IP.com + D-Link DSL-500T + Port 8080 + Document Root E within the Linux Web Servers forums, part of the Web Server and Related Forums category; I have running a website before when I use Apache 2.0.52 + NO-IP.com(Dynamic Update Client) + Linksys ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-22-2005
Jerry Ching
 
Posts: n/a
Default WinXP Home + Apache 2.0.54 + NO-IP.com + D-Link DSL-500T + Port 8080 + Document Root E


I have running a website before when I use Apache 2.0.52 +
NO-IP.com(Dynamic Update Client) + Linksys Router + Port 80 + Document
Root E:/ + WinXP Home
Currently I use Apache 2.0.54 + NO-IP.com (Dynamic Update Client)
Redirect port 8080 + D-Link DSL-500T (Can't use port 80 because it has
default using for modem web access,Vertual Server port 8080 + DMZ
already set for the server PC) + Port 8080 + Document Root E:/
After install Apache > I can surf the website... index.htm by using
http://127.0.0.1:8080 and http://192.168.1.101:8080 in sever PC +
http://192.168.1.101:8080 in Network PC . But when I use
http://www.mywebsite.com it will give me Error .. The page cannot be
displayed !! When I use IP address http://200.100.300.999 it will
Forword me back to the D-Link Router web access main page .
Hope some one can Help me about this Problem ..Thanks.



  #2 (permalink)  
Old 08-23-2005
David Efflandt
 
Posts: n/a
Default Re: WinXP Home + Apache 2.0.54 + NO-IP.com + D-Link DSL-500T + Port 8080 + Document Root E

On Mon, 22 Aug 2005 20:24:28 +0800, Jerry Ching <jerryching@hotmail.com> wrote:
>
> Currently I use Apache 2.0.54 + NO-IP.com (Dynamic Update Client)
> Redirect port 8080 + D-Link DSL-500T (Can't use port 80 because it has
> default using for modem web access,Vertual Server port 8080 + DMZ
> already set for the server PC) + Port 8080 + Document Root E:/
> After install Apache > I can surf the website... index.htm by using
> http://127.0.0.1:8080 and http://192.168.1.101:8080 in sever PC +
> http://192.168.1.101:8080 in Network PC . But when I use
> http://www.mywebsite.com it will give me Error .. The page cannot be
> displayed !! When I use IP address http://200.100.300.999 it will
> Forword me back to the D-Link Router web access main page .
> Hope some one can Help me about this Problem ..Thanks.


DNS knows nothing about ports. You forgot to include the non-standard
port in the URL. Have you tried http://www.mywebsite.com:8080/ or
http://your_public_IP:8080/

Note that this might not work from same LAN as server if your router does
not do loopback (LAN2LAN via WAN IP). So you may need to test it from a
shell account outside of your LAN (or PC isolated from your LAN on
dialup). If that still does not work see apache docs for
UseCanonicalName (perhaps off would help).
  #3 (permalink)  
Old 08-24-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

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

<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>



"David Efflandt" <efflandt@xnet.com> wrote in message
news:slrndglrlv.jqd.efflandt@typhoon.xnet.com...
> On Mon, 22 Aug 2005 20:24:28 +0800, Jerry Ching <jerryching@hotmail.com>
> wrote:
>>
>> Currently I use Apache 2.0.54 + NO-IP.com (Dynamic Update Client)
>> Redirect port 8080 + D-Link DSL-500T (Can't use port 80 because it has
>> default using for modem web access,Vertual Server port 8080 + DMZ
>> already set for the server PC) + Port 8080 + Document Root E:/
>> After install Apache > I can surf the website... index.htm by using
>> http://127.0.0.1:8080 and http://192.168.1.101:8080 in sever PC +
>> http://192.168.1.101:8080 in Network PC . But when I use
>> http://www.mywebsite.com it will give me Error .. The page cannot be
>> displayed !! When I use IP address http://200.100.300.999 it will
>> Forword me back to the D-Link Router web access main page .
>> Hope some one can Help me about this Problem ..Thanks.

>
> DNS knows nothing about ports. You forgot to include the non-standard
> port in the URL. Have you tried http://www.mywebsite.com:8080/ or
> http://your_public_IP:8080/
>
> Note that this might not work from same LAN as server if your router does
> not do loopback (LAN2LAN via WAN IP). So you may need to test it from a
> shell account outside of your LAN (or PC isolated from your LAN on
> dialup). If that still does not work see apache docs for
> UseCanonicalName (perhaps off would help).



  #4 (permalink)  
Old 08-24-2005
0.o-rb-new-bie
 
Posts: n/a
Default Re: WinXP Home + Apache 2.0.54 + NO-IP.com + D-Link DSL-500T + Port 8080 + Document Root E

Add the following line to your HOSTS file:
192.168.1.101 www.mywebsite.no-ip.com mywebsite pc101

Then try access http://mywebsite:8080 or http://pc101:80


"Jerry Ching" <jerryching@hotmail.com> wrote in message
news:430c14c9$1_1@news.tm.net.my...
> 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
>
> <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>
>
>
>
> "David Efflandt" <efflandt@xnet.com> wrote in message
> news:slrndglrlv.jqd.efflandt@typhoon.xnet.com...
>> On Mon, 22 Aug 2005 20:24:28 +0800, Jerry Ching <jerryching@hotmail.com>
>> wrote:
>>>
>>> Currently I use Apache 2.0.54 + NO-IP.com (Dynamic Update Client)
>>> Redirect port 8080 + D-Link DSL-500T (Can't use port 80 because it has
>>> default using for modem web access,Vertual Server port 8080 + DMZ
>>> already set for the server PC) + Port 8080 + Document Root E:/
>>> After install Apache > I can surf the website... index.htm by using
>>> http://127.0.0.1:8080 and http://192.168.1.101:8080 in sever PC +
>>> http://192.168.1.101:8080 in Network PC . But when I use
>>> http://www.mywebsite.com it will give me Error .. The page cannot be
>>> displayed !! When I use IP address http://200.100.300.999 it will
>>> Forword me back to the D-Link Router web access main page .
>>> Hope some one can Help me about this Problem ..Thanks.

>>
>> DNS knows nothing about ports. You forgot to include the non-standard
>> port in the URL. Have you tried http://www.mywebsite.com:8080/ or
>> http://your_public_IP:8080/
>>
>> Note that this might not work from same LAN as server if your router does
>> not do loopback (LAN2LAN via WAN IP). So you may need to test it from a
>> shell account outside of your LAN (or PC isolated from your LAN on
>> dialup). If that still does not work see apache docs for
>> UseCanonicalName (perhaps off would help).

>
>



  #5 (permalink)  
Old 08-25-2005
David Efflandt
 
Posts: n/a
Default Re: WinXP Home + Apache 2.0.54 + NO-IP.com + D-Link DSL-500T + Port 8080 + Document Root E

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>

  #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>



 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:14 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0