Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th January 2007, 07:28
bfriend bfriend is offline
Junior Member
 
Join Date: Dec 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can your ISPConfig Box Link to another servers websites

I was wondering if you can use your ISPConfig Server to forward you to another server on your network.


My router port 80 points to my new ISPConfig server (192.168.0.10) and I have another webserver running on (192.168.0.5). Is there a way to set up ISPconfig Server to access the sites being hosted on (192.168.0.5).

If so could you explain?

Thanks

Bill
Reply With Quote
Sponsored Links
  #2  
Old 6th January 2007, 13:56
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

You can use the DNS manager for this. Just add the appropriate records (A, MX) and have the IP's point to the other server.
Reply With Quote
  #3  
Old 6th January 2007, 21:03
bfriend bfriend is offline
Junior Member
 
Join Date: Dec 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by martinfst
You can use the DNS manager for this. Just add the appropriate records (A, MX) and have the IP's point to the other server.
I am really having problems with this whole DNS stuff. Would you mind posting your DNS setting so I could duplicate it on my end with my info. I need to see a proper DNS Settings so I can confirm that I have it right.

Outside world IP: 111.222.333.444
Router Port Settings: 192.168.0.10 (All required ports)
Main Server with ISPConfig: 192.168.0.10 (hostname: ns1.domain1.net)
Old Server with website that i would like to leave on it: 192.168.0.5 (host name: www.domain2.com)

I really dont like haveing to bother people with my problems, I just cant get this working right.

Thanks

Bill
Reply With Quote
  #4  
Old 7th January 2007, 11:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

If your router has only one external IP, you can not route traffic for port 80 to two different servers depending on the domain with DNS. You might have to use the apache on your new server to act as proxy to fo the domains that shall stay on your old server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 7th January 2007, 15:25
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
 
Default

Till is right. You will have to setup a proxy, most likely/easy on your new server, as I assume you use some kind of ADSL router, on which you cannot configure name based hosts. Route all port 80 traffic to your new server and based on your vhost name handle request for your new site on your new server immediately and use a forward proxy to route all traffic of your old site to your other server.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig box and DNSstuff.com report cybereatl General 2 1st December 2006 12:32
colocation problem d3m0nic Installation/Configuration 14 23rd June 2006 23:18
Mambo And ISPconfig Link Problem rikardo General 1 9th May 2006 17:45
Mambo And ISPconfig Link Problem rikardo Server Operation 1 9th May 2006 16:41
websites outside ISPConfig guidovanh Installation/Configuration 13 7th March 2006 22:56


All times are GMT +2. The time now is 08:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.