Forum Moderators: phranque

Message Too Old, No Replies

Apache + Router + DynDns = help?

         

hollowGod

5:15 pm on Aug 30, 2005 (gmt 0)

10+ Year Member



I am trying to configure Apache on Win XP, so that I can use a dynamic web address to access my server on my computer. I have a DNS address from www.no-ip.com.

My router IP address is 192.168.xx.xx and my computer(public) IP is 81.191.xx.xx.
I have configured my router to port forward port 80 with IP(router) 192.168.xx.xx as Server IP address on my router.
DynSite the program I use to update my Dynamic IP has my public IP(81.191.xx.xx).

When I try my DNS address #*$!x.no-ip.org in the web browser it can't find the page, or I get the router log in screen.
What is wrong?

pnllan

6:33 pm on Aug 30, 2005 (gmt 0)

10+ Year Member



What are you using in the ServerName DIRECTIVE in the httpd.conf?

hollowGod

10:25 pm on Aug 30, 2005 (gmt 0)

10+ Year Member



I'm using ServerName #*$!x.no-ip.org:80

pnllan

7:28 am on Aug 31, 2005 (gmt 0)

10+ Year Member



try using 'localhost' instead...I've used with your circumstances more than a few times with success...

hollowGod

8:09 am on Aug 31, 2005 (gmt 0)

10+ Year Member



I still get my router login screen when I try #*$!x.no-ip.org with ServerName localhost.

Angelis

8:40 am on Aug 31, 2005 (gmt 0)

10+ Year Member



Have you rebooted the router. Sometimes you need to restart it after you have changed a setting to make it work. If you login to the routers control panel you should be able to change the setting.

Also sometimes when you connect to your router via an external IP or DNS name you cant actually access your machine or see your web pages... Depends on the router.

hollowGod

9:50 am on Aug 31, 2005 (gmt 0)

10+ Year Member



Did a reboot, nothing. Tried to port forward port 81 instead, that didn't work either.

What am I doing is wrong here? :-)

Angelis

10:50 am on Aug 31, 2005 (gmt 0)

10+ Year Member



What type of router is it? If I know the model I can tell you what to do, its possible you havnt forwarded the external and the internal ports: You have to do both...

hollowGod

11:36 am on Aug 31, 2005 (gmt 0)

10+ Year Member



It's a ZyXEL Prestige 304 router

Angelis

11:49 am on Aug 31, 2005 (gmt 0)

10+ Year Member



Right after you login you need to click on the static route button I think.

You then need to enter as a TCP port route your computers IP address : 192.168.x.x and the port you want to forward for both the internal and external ports which is port :80.

You should have the option to forward both.

After you have done that give the router a restart and try again. Bear in mind what I said before about connecting to your own IP address, it might actually be working already just not for you. It might be worth jumping on another computer or getting a friend to try it. Sometimes with port forwarding as I said earlier you may see the control panel or just get an error when trying to access your internal network from an external source e.g. a DNS name.

hollowGod

6:58 pm on Aug 31, 2005 (gmt 0)

10+ Year Member



Ok, gonna try to access my server from another pc. Thanks for all help so far :-)

Angelis

8:19 am on Sep 1, 2005 (gmt 0)

10+ Year Member



Any joy?