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.




2 posts

Wannabe Geek


Topic # 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
95 posts

Master Geek


  Reply # 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

836 posts

Ultimate Geek

Trusted

  Reply # 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.

 
 
 
 




2 posts

Wannabe Geek


  Reply # 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.


95 posts

Master Geek


  Reply # 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

637 posts

Ultimate Geek
+1 received by user: 2

Trusted

  Reply # 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.

836 posts

Ultimate Geek

Trusted

  Reply # 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



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Orcon announces new always-on internet service for Small Business
Posted 18-Apr-2019 10:19


Spark Sport prices for Rugby World Cup 2019 announced
Posted 16-Apr-2019 07:58


2degrees launches new unlimited mobile plan
Posted 15-Apr-2019 09:35


Redgate brings together major industry speakers for SQL in the City Summits
Posted 13-Apr-2019 12:35


Exported honey authenticated on Blockchain
Posted 10-Apr-2019 21:19


HPE and Nutanix partner to deliver hybrid cloud as a service
Posted 10-Apr-2019 21:12


Southern Cross and ASN sign contract for Southern Cross NEXT
Posted 10-Apr-2019 21:09


Data security top New Zealand consumer priority when choosing a bank
Posted 10-Apr-2019 21:07


Samsung announces first 8K screens to hit New Zealand
Posted 10-Apr-2019 21:03


New cyber-protection and insurance product for businesses launched in APAC
Posted 10-Apr-2019 20:59


Kiwis ensure streaming is never interrupted by opting for uncapped broadband plans
Posted 7-Apr-2019 09:05


DHL Express introduces new MyDHL+ online portal to make shipping easier
Posted 7-Apr-2019 08:51


RackWare hybrid cloud platform removes barriers to enterprise cloud adoption
Posted 7-Apr-2019 08:50


Top partner named at MYOB High Achievers Awards
Posted 7-Apr-2019 08:48


Great ideas start in Gisborne with hackathon event back for another round
Posted 7-Apr-2019 08:42



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.

Alternatively, you can receive a daily email with Geekzone updates.