Results 1 to 8 of 8

Thread: how to host web pages from other computers in network?

  1. #1

    how to host web pages from other computers in network?

    Here is my situation. I have the asus router with the built-in hard drive and it has got it's web page enabled which is tied to a domain name. So from outside my network, whenever I type in my web site url, it goes and fetches the index.html file from the web folder in my asus router.

    Now I have another computer in my network (192.168.1.7).. which is hooked to the lan port on this asus router. My domain name is tied to whatever IP address the wl-700ge configuration page displays to me.. But, I want to access the web server of this OTHER computer using the same domain name.. how do I do that? The other computer is running ubuntu (linux)..
    how do I configure the ports, if that is what I need to do.. how and what settings of the wl-700 ge configuration do I need to change so that incoming requests are also (or only) directed to this particular computer and NOT the router hard drive???

    Please help. Thank you.

  2. #2
    Since HTTP uses port 80, and that one is used by your ASUS Wl700gE, your PC has to use another port.

    i.e. if you access your web as

    http://www.myweb.com

    you would access the other PC's web server as

    http://www.myweb.com:8080

    You just need to find the free port and set it up on your Linux PC's web server.

    Then second action would be to create (i think they call it) virtual server on ASUS. That would forward all enquiries for port 8080 to the PC, not router.

    I'm at work right now so I don't have ASUS in front of me so I can't have a look.

    But basicaly, you say, WAN port 8080 maps to the ip adress of the PC and port 8080.

    Or If I'm not mistaken, you could just leave PC to port 80, and just map WAN port 8080 to PC's Ip adress port 80?

    I can have a look when I get home if you don't manage

    regards,

    D.

  3. #3
    without tweaking any setting, I tried http://myweb.com:8080 and didn't reach anywhere.. The other PC with the web server was switched on. I can reach http://myweb.com.. which basically brings up my Asus router webpage.

    so going to the next option of virtual server settings in the asus router...

    . I think the table under Virtual Server in the Asus router config page has ...

    Port Range: Local IP: LocalPort: TCP: Protocol Number: Description

    The Asus router uses passes incoming requests thru port 8081 (if I am not mistaken) and displays the built-in web page.. I remember this because everytime from my home.. I need to type http://myweb.com:8081 instead of just http://myweb.com.

    So what do I type in the columns above for the virtual server config? I am guessing before that I need to configure my other linux PC to utilize a free port.. not sure how to do that either.. Your help is much appreciated. Thanks.

  4. #4
    Also.. I noticed that from my work, if I am accessing my Asus built-in webpage.. I can either http://myweb.com or http://myweb.com:80 (8081 or 8080 don't work).. I am sort of confused now.. is the 80 in the above port the http port in my work computer or is it the port on my router which is hosting the web page? Like I said, from my home, on my pc I need to type http://myweb.com:8081 in order to access the same web page in the router.

    Knowing this, how can I configure my other computer to display it's web page.. or rather config the router to seek the web page from my other computer? Thanks.

  5. #5
    No, port 80 is port for HTTP communication/protocol. If it's a webpage, it goes to port 80.

    BUT, if you want added security or in your case, need several servers on same IP, you need to use another port.

    That's when you access if from the OUTSIDE.

    When you want to access it from the inside, you have to use different adress/port, because in your local network ... how do I explain... well, you're simply LOCAL and you don't access it the same way as from the net, that's why there's port 8081.

  6. #6
    OK.

    Port range is port (or range of ports) from the OUTSIDE. I.e. 8080.

    Local IP is the LOCAL adress of your server.

    Local port is the port that your server uses LOCALY, in your case, if you didn't change anything, it should be 80.

    TCP is TCP, not UDP in your case

    just add a number and description so you know what it is, and off you go....

    D.

  7. #7
    I'll try the above and let you know if it works

  8. #8
    didn't work.. could it be something to do with iptables?

Similar Threads

  1. Help to Set Up Wl-500gP in Home Network
    By Zeropoint in forum WL-500gP Q&A
    Replies: 5
    Last Post: 13-06-2007, 12:38
  2. WL-520g Wireless Network Encryption Issue
    By RULLe in forum WL-500g Q&A
    Replies: 0
    Last Post: 17-01-2007, 16:39
  3. HowTo install a lightweight blog server
    By Tamadite in forum WL-500g/WL-500gx Tutorials
    Replies: 0
    Last Post: 03-12-2006, 02:46
  4. Custom Web pages
    By jirina42 in forum WL-500g Q&A
    Replies: 1
    Last Post: 14-12-2005, 11:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •