Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd March 2007, 11:29
smathaven smathaven is offline
Member
 
Join Date: Oct 2006
Posts: 48
Thanks: 1
Thanked 0 Times in 0 Posts
Default setting up of Internet servers

Hi,
After playing around with some configurations with a server, i can explain properly what i need to know (i hope). I have a cisco firewall which is installed right in front of my server, and this firewall redirects all requests for the domain www.npccmauritius.com to the internal IP address 192.168.192.1 (our dns server).
On this server we have a web server (http://www.npccmauritius.com) and a mail server npccmauritius.com.

I want to create a subdomain on the dns server and delegate it to the internal ip address 192.168.192.2, and then have a website (http://applications .npccmauritius.com) and also a mail server applications.npccmauritius.com running on it.
what steps do i need to do on server 1(192.168.192.1) and server 2 (192.168.192.2)?

I know that i have to configure to firewall also to route all request for applications.npccmauritius.com to 192.168.192.2, but i have to make sure that it works internally first. How do i do that?
Pleeeeeeeeease help me.
Reply With Quote
Sponsored Links
  #2  
Old 23rd March 2007, 17:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by smathaven
I know that i have to configure to firewall also to route all request for applications.npccmauritius.com to 192.168.192.2
If you router does port forwarding, you got a problem: you can forward a port (e.g. 80 for http and 25 for smtp) to one machine (e.g. 192.168.192.1), but not to two machines at the same time.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 24th March 2007, 04:35
smathaven smathaven is offline
Member
 
Join Date: Oct 2006
Posts: 48
Thanks: 1
Thanked 0 Times in 0 Posts
Default

is there some other way through virtual hosts? Cant this be done through dns?
or etc/resolv.conf?

can i configure cisco to route to 2 ports? i am sorry to disturb you so much with my questions, but i have no idea what solution i can propose and i am going crazy.
Reply With Quote
  #4  
Old 24th March 2007, 10:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,387
Thanks: 833
Thanked 5,485 Times in 4,317 Posts
 
Default

I dont think that you can forward a port to 2 machines, at least not with my router but I dont have a cisco router.

What you can do for e.g. http is to forward all traffic on port 80 to one server and then use the apache mod_proxy module to proxy part of the traffic e.g. for a specific domain to another server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
internet sharing with centOS sam_rag Installation/Configuration 6 19th February 2007 14:46
Dns not propagated to internet? Randy Installation/Configuration 3 18th December 2006 17:10
Adding domains to non-ISPConfig secondary DNS servers cstone Tips/Tricks/Mods 4 19th July 2006 14:25
ISP general manegement setting dont save new setting adrenalinic Installation/Configuration 13 25th May 2006 14:55
Two topics: Bulk add accounts. Intranet and Internet on one box? jsb Installation/Configuration 1 4th October 2005 09:38


All times are GMT +2. The time now is 11:03.


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