Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


altkris

2 posts

Wannabe Geek


#17284 19-Nov-2007 17:58
Send private message


Hi,

Currently we have a ADSL connection provided by Xtra that has a static IP address. 

We have a Netgear ADSL Modem/Router which redirects port 80 on xyz.com to a computer on our LAN, now I have been asked to have abc.xyz.com point to another computer on the LAN. Now my understanding of ADSL modems (especially lower end models) don't seem to be able to do this with NAT, we would have to redirect port 8080 to the other computer or is there another way?

I'm assuming we will have to move to fibre or is there another way?



Create new topic
signz
95 posts

Master Geek


  #96002 19-Nov-2007 20:01
Send private message


As far as the Internet is concerned you only hape one IP address so all services will come to that one address, regardless of DNS pointers.  Only one device can listen on one port.

The easiest way might be to use a different port as you have suggested.

If this is just for a different web server then you could possible address this using a "host header" on the original server to capture the fact that the request was for abc.xyz.com and redirect to abc.xyz.com:8080.  Only one page and reasonably transparent to the user.

Dale



Fraktul
836 posts

Ultimate Geek

Trusted

  #96009 19-Nov-2007 20:41
Send private message

Second IP address routed to you or a device with some smarts to redirect based on http layer.

altkris

2 posts

Wannabe Geek


  #96035 20-Nov-2007 07:26
Send private message


We are currently running a consumer ADSL modem - which ADSL modems start to have the smarts to read host headers - at the moment the adsl router can only forward port 80 to one machine no matter what the subdomain is requested.




signz
95 posts

Master Geek


  #96040 20-Nov-2007 08:23
Send private message


The key is not for the ADSL router to read the host header but the your original web server.  Both DNS entries will point to the same IP address and so port 80 will be redirected to the same web server.  That web server can then detect the domain via host-header and use a different virtual server (ie. different Home folder). 

By using a different virtual server you have a different "site" even though it has the same IP address.

Now, if you want that different site / domain to be run from a different box then you need to use a different port such as 8080. 

In this case setup the main server to have a different virtual server for the second domain and have it do a redirect (meta refresh page) to forward the request back to the same IP / DNS but to port 8080.  That port can have a pinhole to the second web server.

DS

PenultimateHop
637 posts

Ultimate Geek

Trusted

  #96050 20-Nov-2007 10:21
Send private message

Technically speaking there is nothing preventing the use of multiple IP addresses on a DSL connection.  Xtra choose not to offer this as a product offering.

Have you tried talking to any of the more technically/business focused ISPs (e.g. Xnet/Iconz/Maxnet) and seeing if they can offer a routed subnet over UBS for you?  This would allow you to have multiple public IP addresses.

The alternative, as proposed, is to forward 80/tcp to a reverse http proxy which will allow lookups based on the Host: header to forward to internal webservers based on that.  Of course, this will not work for ssl (https), if that ever becomes a requirement.

Fraktul
836 posts

Ultimate Geek

Trusted

  #96143 20-Nov-2007 21:31
Send private message

Or you could tunnel the traffic in from an external device, not very practical though.

I would also suggest talking to someone clueful at a tier 2 ISP to get additional IP addressing on your UBS connection. If you want feel free to PM me and I can sort something out for you.

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.