6 Replies - 4236 Views - Last Post: 04 June 2009 - 05:43 PM

#1 farril   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 110
  • Joined: 04-March 09

[Help] Forwarding local ip to external ip

Posted 21 May 2009 - 04:54 PM

Hi there. Ive got a Netgear DG834GT router, and am running a WAMP web server.

My local ip for the computer running the server is 192.168.0.2

when ever i type in my lan ip (192.168.0.1) it takes me to my router setup page. When i type my local ip (192.168.0.2) it takes me to my WAMP server page

This is all fine so far, but when i type in my external IP, it also takes me to my router setup page.

This means i cant access my web server normally, and can only access it on either 192.168.0.2, or 127.0.0.1

I just bought a domain name, and assigned it to my external IP. For me this also directs me to my router setup page.

Could someone explain to me how i would go about making my external ip link to my web server, and not my router setup page?

Ive forwarded the appropriate ports (3306 for mysql, and 80 for apache) so that it works outside the LAN. And cant think of a solution.

Any help would be great.

Is This A Good Question/Topic? 0
  • +

Replies To: [Help] Forwarding local ip to external ip

#2 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6968
  • View blog
  • Posts: 31,958
  • Joined: 10-May 07

Re: [Help] Forwarding local ip to external ip

Posted 21 May 2009 - 10:10 PM

View Postfarril, on 21 May, 2009 - 05:54 PM, said:

Ive forwarded the appropriate ports (3306 for mysql, and 80 for apache) so that it works outside the LAN. And cant think of a solution.

For trouble shooting purposes, can you share the domain name that you registered along with your external ip address?

It's possible that if you are on a residential (non commercial) grade ISP service, that they have blocked the ports that you are trying to use.
Was This Post Helpful? 0
  • +
  • -

#3 farril   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 110
  • Joined: 04-March 09

Re: [Help] Forwarding local ip to external ip

Posted 22 May 2009 - 02:16 AM

sure. my domain is

http://levellibrary.com

and ip is

http://77.86.119.252


If this is the case, and they've blocked port 80. will using the webserver on a different port solve this problem? i think i already tried running it on port 8080.
Was This Post Helpful? 0
  • +
  • -

#4 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6968
  • View blog
  • Posts: 31,958
  • Joined: 10-May 07

Re: [Help] Forwarding local ip to external ip

Posted 22 May 2009 - 02:27 AM

Your ip address works, it shows me 2 directories, which says to me that you've got port 80 forwarded correctly.

[DIR] LevelDevil/ 16-May-2009 00:08 -
[DIR] motortreff/ 17-May-2009 00:39

However, when I do a reverse lookup on your domain name, it comes up with nothing.

Quote

nslookup http://levellibrary.com

can't find http://levellibrary.com: Non-existent domain


But then when I load it ito a browser, I get the same 2 directories :

[DIR] LevelDevil/ 16-May-2009 00:08 -
[DIR] motortreff/ 17-May-2009 00:39 -

For further proof, I can see from Netcraft that you are hosting on Apache with a Windows Server

So this either isn't you, or you have it set up correctly, you just need to properly configure apache.
Was This Post Helpful? 0
  • +
  • -

#5 farril   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 110
  • Joined: 04-March 09

Re: [Help] Forwarding local ip to external ip

Posted 22 May 2009 - 03:06 AM

the domain may not be fully registered yet as i only bought it last night.

but yeah this is me, how do i go about configuring apache so i cant access my domain from the same pc?

ive never really messed with the config files, and theres so much information in there i wouldnt know where to start lol.
Was This Post Helpful? 0
  • +
  • -

#6 riiskit   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 28-May 09

Re: [Help] Forwarding local ip to external ip

Posted 29 May 2009 - 08:31 PM

To have normal access to your WAMP server using port 80 (HTTP) on the external interface...

Connect to your router @ 192.168.0.1:80
Then navigate to the remote management page, it is already enabled(from your notes above)
Change the port to use on the external interface to say 8080 , which is a common alternative to port 80

You may now connect to the remote management of your router from the Internet using the ip address + :8080, or you may choose to disable remote management from the external interface altogether and use a connection from your inside network to admin your router.

Forward port 80 requests to your WAMP server.

cheers and good journeys
Brent
Was This Post Helpful? 0
  • +
  • -

#7 DingleNutZ   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 121
  • Joined: 02-May 09

Re: [Help] Forwarding local ip to external ip

Posted 04 June 2009 - 05:43 PM

you could port forward the ip address that is assigned to ur WAMP site that is nothing to do with localhost to your external ip address (check that this isnt already forwarded) and then set that in your DNS. it must be your external ip address as that is the only one you have that is allowed on the internet.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1