Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Setting up a webserver

  • 20-03-2005 7:22pm
    #1
    Registered Users, Registered Users 2 Posts: 4,287 ✭✭✭


    Hi. I want to set up a web server at home mainly as an experiment. BTW I saw Guru Maith Aguts thread but I didn't want to hijack it :)

    I've installed Apache on a Windows XP machine and when I type 127.0.0.1 into a webbrowser I get the Apache test page. Ok but when I type in my external IP address I get my modem setup page :confused: Anyone know what I'm doing wrong?


Comments

  • Moderators, Sports Moderators Posts: 8,683 Mod ✭✭✭✭Rew


    You have to forward port 80 externally to port 80 on the web server machine. Its done in your modem config.


  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 94,360 Mod ✭✭✭✭Capt'n Midnight


    Best to move apache to port 81 till you are sure what you are doing - you don't want to lock yourself out of the modem. Also opening an XP machine to the internet, not a good idea unless you have all the usual patches and firewall, also you will need to set the firewall wall to allow apache out. Also you will need a full backup of your system in case it gets hijacked and also you want to be sure there is no information on the machine in case it leaks out on to the internet..


  • Moderators, Sports Moderators Posts: 8,683 Mod ✭✭✭✭Rew


    He's alright (generally) as long as its just Apache he exposes. Alot of routers will let you assign the managment interface to another port to avoide the conflict. Im surprised your getting the router managmnet page on its external IP most dont alow that (at least not by default).

    Def make sure you patched and Firewalled whether your exposed to the net directly or not.


  • Registered Users, Registered Users 2 Posts: 4,287 ✭✭✭NotMe


    ok I changed apache to port 81 and I port forwarded it int the modem and router settings but I'm just getting "connection refused". I have it set up in Zonealarm aswell.

    I think I'm getting the modem setup page on port 80 because I'm accessing it from the lan. I would hope that people on the internet can't see that page. :eek:
    Actually will someone click here and tell me: http://194.46.79.162/


  • Registered Users, Registered Users 2 Posts: 295 ✭✭paddy


    You can see it at http://194.46.79.162:81/


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 4,287 ✭✭✭NotMe


    paddy wrote:
    You can see it at http://194.46.79.162:81/
    What the apache test page?


  • Registered Users, Registered Users 2 Posts: 295 ✭✭paddy


    You can see this


  • Registered Users, Registered Users 2 Posts: 4,287 ✭✭✭NotMe


    Excellent! Thanks a lot. That means it is working so. I wonder why I can't see it. :confused:


  • Registered Users, Registered Users 2 Posts: 968 ✭✭✭Guru Maith Agut


    NotMe wrote:
    Hi. I want to set up a web server at home mainly as an experiment. BTW I saw Guru Maith Aguts thread but I didn't want to hijack it :)

    I wouldn't have minded NotMe ;) Its a Jesus thing! LOL


  • Closed Accounts Posts: 244 ✭✭osmethod


    When you have it hanging in the wild consider doing an online port scan of your box...

    https://grc.com/x/ne.dll?bh0bkyd2

    www.unixcircle.org has a nice scanner but I believe they are re-constructing their site

    osmethod


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 4,287 ✭✭✭NotMe


    I wouldn't have minded NotMe ;) Its a Jesus thing! LOL
    Heh heh ;)
    osmethod wrote:
    When you have it hanging in the wild consider doing an online port scan of your box...

    https://grc.com/x/ne.dll?bh0bkyd2
    Cool I'll do that.


  • Registered Users, Registered Users 2 Posts: 1,065 ✭✭✭Snowbat


    NotMe wrote:
    Excellent! Thanks a lot. That means it is working so. I wonder why I can't see it. :confused:

    Some NAT routers do not correctly handle traffic coming from the LAN to the router's public ip address - to access from the LAN you need to use the server's LAN ip address.


  • Moderators, Sports Moderators Posts: 8,683 Mod ✭✭✭✭Rew


    Only ones to make a mess of that that Iv have seen are expensive Cisco ones, coz Cisco think they know better... :rolleyes:


  • Registered Users, Registered Users 2 Posts: 4,287 ✭✭✭NotMe


    I'm using a Binatone modem/router plugged into a Linksys wireless router.


  • Closed Accounts Posts: 17 Raideneire


    let me get this...

    you have a modem/router plugged into your phone line for your BB connection and then you have that plugged into the WAN port on your wireless router, then your machines are plugged into the wireless one or connect wirelessly?

    I've seen stuff connected like this before and it's a bit a headache setting up the ports etc to pass the traffic from one router to the other, they loose packets between them etc.

    Have i got your setup right in my head? maybe you could describe it a bit more?


  • Registered Users, Registered Users 2 Posts: 4,003 ✭✭✭rsynnott


    Raideneire wrote:
    let me get this...

    you have a modem/router plugged into your phone line for your BB connection and then you have that plugged into the WAN port on your wireless router, then your machines are plugged into the wireless one or connect wirelessly?

    I've seen stuff connected like this before and it's a bit a headache setting up the ports etc to pass the traffic from one router to the other, they loose packets between them etc.

    Have i got your setup right in my head? maybe you could describe it a bit more?

    The "modem" may not actually be a router, but just an ethernet access device, capable of serving one system. Otherwise, tho, yep, unpleasant mess. You should set the modem to forward to the router's IP and the router to forward to the computer.


  • Closed Accounts Posts: 17 Raideneire


    rsynnott wrote:
    The "modem" may not actually be a router, but just an ethernet access device, capable of serving one system. Otherwise, tho, yep, unpleasant mess. You should set the modem to forward to the router's IP and the router to forward to the computer.
    true, it may or may not be a router but unless we know exactly whats connected to what then it'll be a tricky one to pin point where it falls down.

    You mentioned about forwarding the traffic on, so to speak. Again i've tried this before and it was still a bit of a nightmare, had DMZ and NAT settings all over the place to get it do what was required :)


  • Registered Users, Registered Users 2 Posts: 4,287 ✭✭✭NotMe


    Raideneire wrote:
    let me get this...

    you have a modem/router plugged into your phone line for your BB connection and then you have that plugged into the WAN port on your wireless router, then your machines are plugged into the wireless one or connect wirelessly?

    I've seen stuff connected like this before and it's a bit a headache setting up the ports etc to pass the traffic from one router to the other, they loose packets between them etc.

    Have i got your setup right in my head? maybe you could describe it a bit more?
    Yeah when I was getting started with broadband I accidently bought a modem/router instead of just a modem. I have the modem/router plugged into one of the computer ports on the wireless router. I couldn't get it to work by plugging it into the WAN port. So the wireless router is 192.168.1.1 and the modem is 192.168.1.2 and the computers on the lan use 192.168.1.2 as the gateway. I suppose they would see the modem as a computer with internet access? Anyway it works.


  • Moderators, Sports Moderators Posts: 8,683 Mod ✭✭✭✭Rew


    That setup is grand the router part of your wireless router isn't being used basicly.


  • Registered Users, Registered Users 2 Posts: 1,171 ✭✭✭causal


    NotMe I don't want to hijack your thread, but I need help trying to close Port 515 (printer/spooler), so if anyone can help please check the new thread I started here .

    thanks,
    causal


  • Advertisement
Advertisement