Find the answer to your Linux question:
Results 1 to 3 of 3
I just set up an webserver with apache on my home machine. I registered a domain name and had it forwarded to my ip address, I accidently used the wrong ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366

    Updated: more problems Apache ip forwarding question


    I just set up an webserver with apache on my home machine. I registered a domain name and had it forwarded to my ip address, I accidently used the wrong ip, I used the local one that the router assigns--so I need to use my actual IP...

    My question is that on our home network there are a few machines, if I forward the domain name through the registrar to my ip how do I ensure that it goes to the right machine? Will it do that automatically?

    Any other tips would be welcome

    thanks for your time,

    John
    Operating System: GNU Emacs

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,809
    No, I believe you have done the right thing. You point your web address at your 'real live' ip address that your router uses on the internet, then forward connections on port 80 of the router directly to the machine inside your lan by its local ip address.

    You may have to forward additional ports if you want to use other services such as SSL.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    Ok, there is still some sort of problem,

    The connection was refused when attempting to contact...

    I have set apache to listen to a port, and my router to forward through that port to my local ip...still no go, with 8080 connection is still refused, and with a random port it doesn't even start httpd...is there a way to reassign a port to http that would be blocked by the isp?
    Operating System: GNU Emacs

Posting Permissions

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