Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th October 2009, 22:04
denbert denbert is offline
Member
 
Join Date: May 2008
Location: Copenhagen
Posts: 46
Thanks: 4
Thanked 3 Times in 3 Posts
Default Can it be done - routing subdomains to different internal IP

Hi there,

I'm becoming a huge fan of visualization on vmware 2.0 server and had made several servers on my host machine.

From time to time I'm testing different webpages and designs and therefore I'm always making a dedicated vmware virtual machine for this installation.

I have my own domain pointing to my public IP address.

It would be fantastic if I could set up an internal DNS server (a virtual, off course ) making xxx.mydomain.tld go to IP: 192.168.0.1 and yyy.mydomain.tld go to IP: 192.168.0.2

Or even better if my Firewall could do the job - It's a NetGear ProSafe VPN Firewall FVS 318v3

Can it be done, any one please?
__________________
/ Denbert
Reply With Quote
Sponsored Links
  #2  
Old 21st October 2009, 14:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

For your internal network, you can set up a DNS server. But your router can forward port 80 to just one IP, so for your outside users you cannot have web sites on different local IP addresses.
__________________
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 21st October 2009, 15:15
id10t id10t is offline
Senior Member
 
Join Date: Nov 2008
Posts: 242
Thanks: 2
Thanked 22 Times in 22 Posts
Default

Forward port 80 to an Apache server running mod_proxy and have it fetch from other internal machines?
__________________
I'm a very happy linode.com customer, I'm sure you will be too!
Reply With Quote
  #4  
Old 21st October 2009, 21:01
denbert denbert is offline
Member
 
Join Date: May 2008
Location: Copenhagen
Posts: 46
Thanks: 4
Thanked 3 Times in 3 Posts
 
Default

Quote:
Originally Posted by falko View Post
For your internal network, you can set up a DNS server. But your router can forward port 80 to just one IP, so for your outside users you cannot have web sites on different local IP addresses.
I know the issue with the router, this was why I was wondering about the DNS setup. If i could set up an DNS server on DMZ and this DNS then could route the different domains to different IP addresses?

What are hosting companies doing?
__________________
/ Denbert
Reply With Quote
Reply

Bookmarks

Tags
dns, routing to internal ip

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 migration to new server. cambo Installation/Configuration 11 4th July 2013 22:10
Postfix + DKIM - Error in log donb01 Server Operation 2 24th July 2008 17:59
SSL for multiple subdomains chillifire Installation/Configuration 12 16th April 2008 11:01
customer's subdomains t-mug Installation/Configuration 5 16th August 2007 14:22
Routing question virtual machines geek.de.nz Server Operation 1 2nd July 2006 18:13


All times are GMT +2. The time now is 01:15.


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