Results 1 to 5 of 5

Thread: How do I redirect web requests?

  1. #1
    Senior Member joshwa's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield, UK
    Posts
    4,842
    Thanks
    124
    Thanked
    67 times in 62 posts
    • joshwa's system
      • Motherboard:
      • PC Chips M577 AT/ATX
      • CPU:
      • AMD K6-2 500Mhz
      • Memory:
      • 128mb PC100 SDRAM
      • Storage:
      • 8GB Fujitsu
      • Graphics card(s):
      • 3dfx Voodoo 3 3000 AGP (16mb)
      • PSU:
      • ATX 500watt
      • Case:
      • Midi Tower AT
      • Operating System:
      • Windows 98 SE
      • Monitor(s):
      • 22" TFT Widescreen

    How do I redirect web requests?

    Eg, my external ip address is :
    82.42.131.178 (which is redirected by smoothwall to 192.168.0.3)

    But my internal IP address
    192.168.0.3

    and inside the network if I go to a web browser, and type 192.168.0.3 I can see the hosted website on my webserver, but if I type in 82.42.131.178 I can't get to the website - is there anyway to tell my computer that when I put in the 82 address it should look at the 192 address instead?

    Thanks

    Josh

  2. #2
    '~'+'~' Enverex's Avatar
    Join Date
    Oct 2003
    Location
    West Midlands
    Posts
    904
    Thanks
    0
    Thanked
    0 times in 0 posts
    • Enverex's system
      • Motherboard:
      • Gigabyte H77n-WiFi
      • CPU:
      • Intel i5-3570K with Scythe Shuriken
      • Memory:
      • 16GB Crucial Ballistix Tactical 1600Mhz
      • Storage:
      • Samsung 840 500GB SSD
      • Graphics card(s):
      • MSI GTX 670 2GB OC Power Edition
      • PSU:
      • EVGA SuperNOVA 550W G2
      • Case:
      • Silverstone Sugo SG11
      • Operating System:
      • Windows 10 Pro 64bit
      • Monitor(s):
      • LG 42LW550T 42" TV
      • Internet:
      • BT Infinity
    I never worked that one out. If you use a domain though, you can do it.

    What you do is you put the domain in your hosts file as so...

    192.168.0.3 mydomain.com

    And that way it only affects your computer and you can do things as normal. But afaik you cant use the other IP address as it is your external address.

    NS

  3. #3
    Cable Guy Jonny M's Avatar
    Join Date
    Jul 2003
    Location
    Loughborough Uni
    Posts
    4,263
    Thanks
    0
    Thanked
    4 times in 1 post
    Some routers will support loopback, If you're running a Smoothwall box then there may be this option somewhere.

  4. #4
    Senior Member joshwa's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield, UK
    Posts
    4,842
    Thanks
    124
    Thanked
    67 times in 62 posts
    • joshwa's system
      • Motherboard:
      • PC Chips M577 AT/ATX
      • CPU:
      • AMD K6-2 500Mhz
      • Memory:
      • 128mb PC100 SDRAM
      • Storage:
      • 8GB Fujitsu
      • Graphics card(s):
      • 3dfx Voodoo 3 3000 AGP (16mb)
      • PSU:
      • ATX 500watt
      • Case:
      • Midi Tower AT
      • Operating System:
      • Windows 98 SE
      • Monitor(s):
      • 22" TFT Widescreen
    Originally posted by NightShade737
    I never worked that one out. If you use a domain though, you can do it.

    What you do is you put the domain in your hosts file as so...

    192.168.0.3 mydomain.com

    And that way it only affects your computer and you can do things as normal. But afaik you cant use the other IP address as it is your external address.

    NS
    wow, cool, that works for joshwaller.tk which is neat, but i really could do with it working for the ip address too :/

    I'll have to check through the smoothwall docs
    i don't think smoothwall will do it :/

  5. #5
    Senior Member
    Join Date
    Jul 2003
    Location
    ZA ✈ UK
    Posts
    622
    Thanks
    0
    Thanked
    0 times in 0 posts
    Hmm. In Smoothwall, you have enabled external access for port 80, and set up port forwarding from 80 to your PC's 80 (Or whatever you're running your webserver on), right? If it still doesn't work from your end, it's fine, loop-back (Or whatever) just isn't working/implemented (Doesn't work for me). Those on the outside world can still access your webserver, however (Again, personally tested). If you want to be absolutely sure your webserver can be accessed by the outside world, get a shell account somewhere and use lynx/links to browse to your site - or just get a friend to try it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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