Setup Apache using WRT54G

Discussion in 'Networking Issues' started by weepow, Jul 19, 2005.

  1. weepow

    weepow Network Guru Member


    I just bought the WRT54G (firmware v3.03.1), because I've got myself a laptop (pc1) while still want to use my "old" desktop (pc2). I'm using a cablemodem to access the internet, but I ran into a small problem.

    The problem I have is my Apache server. I'm using the latest WAMP version (I'm too lazy to install all modules by my self) and it works fine on the computer it's installed on, which is pc2 - I access the using "localhost" in my browser. I cannot access the Apache server from pc1. I tried typing "localhost" on pc1 but I didn't get trough. I then tried to access the webserver trough the domain I normally use. No luck there either.

    I then disabled the "Firewall Protection" on the router - and then tried both "localhost" on pc1 and the my domain. But this time I got the logon pop-up box to my router - and I'm pretty much back to where I started.

    I stumpled across this site - and searched it, but didn't find anything mathcing exactly my problem - so I'm asking you guys.

    Can you help me accessing my webserver from pc1?

    Thanks in advance...

  2. matthiaz

    matthiaz Network Guru Member

    Dude... "localhost" is a pointer to your local's pc IP adress. If you want to access PC2 website, you need to enter something like


    and fill in the IP adres of PC2.

    To access the PC2 over WAN you need to set up a port-forwarding in you WRT54G. Just do a search how to do that.
  3. weepow

    weepow Network Guru Member

    Ahh... I'm learning something new everyday. I always figured that "localhost" was the name servername on the whole local network. Well thanks. So I use the local IP address for PC2?

    The portforwarding thing seems like a walk in the part. But I've both used this guide and various other solutions without any luck.
  4. jgutz20

    jgutz20 Network Guru Member

  5. matthiaz

    matthiaz Network Guru Member

    Yup, thats right.

    But if you want to access it from WAN, you need to change the port your apache is listening to. But I'd say you first start reading stuff about the router before you try that. Looks like you're pretty new to this stuff...
  6. weepow

    weepow Network Guru Member

    Yup... Pretty damn new. I used to have a ZyXEL 642R and only on PC - so there wasn't any big problems. Not I godt a new router and another PC - and problems! :)

    Anyway - is there are good place to read about the WRT54G and usage of the router?

    Thanks in advance - and thank you for your guidance so far!
  7. weepow

    weepow Network Guru Member

    yes, it's working so damn fine again. After I used the IP number in the Address bar, a few bells began rigning... :)

    I found out that the domaine I was using ( service) pointed to the routers IP number, so I downloaded the IP-updater from DynDNS and now the domain is pointing to the right IP :)

    Thanks you so much for the help I got... Leaning by doing is quite usefull! :D

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice