| 
		
			| name based routing to VE's possible? [message #4435] | Mon, 10 July 2006 20:47  |  
			| 
				
				
					|  jchamilton Messages: 8
 Registered: July 2006
 | Junior Member |  |  |  
	| This is probably more of a networking question than a OpenVZ question so please feel free to jab me in the eye and tell me where to go with it... 
 In our company it's much easier to get a CNAME alias for an IP added than it is to get a brand new IP and host name.
 
 So, is it possible to put all VE's on my HN in a private network but make them accessible from the outside world via the HN IP?
 
 Ideally, I would like to have a CNAME alias in our corporate DNS for each VE that points to the HN IP and have the HN route to each VE based on the destination host name.
 
 jch
 
 
 |  
	|  |  | 
	|  | 
	|  | 
	|  | 
	|  | 
	|  | 
	|  | 
	|  | 
	|  | 
	|  | 
	| 
		
			| Re: name based routing to VE's possible? [message #4672 is a reply to message #4650] | Fri, 21 July 2006 10:38  |  
			|  |  
	| Not really. AFAIR for SMTP there is a dedicated gateway (MTA running) with (my guess) some map table, which forwards messages to VEs according to rcpt to: domain name. It should not be difficult to write the HTTP proxy which proxies to VEs according to host: header. FTP/POP3 - not sure, but you get the idea. 
 
 Aistis Zenkevicius
 
   [Updated on: Fri, 21 July 2006 10:42] Report message to a moderator |  
	|  |  |