Re: [users@httpd] 回覆︰ [users@httpd] 回覆︰ [users@httpd] How to solve ONE fixed IP serving multiple web-servers running on VMs
On Sun, Dec 27, 2015 at 7:55 PM, Stephen Liu wrote: > > > your question is overly broad for this mailing list. > > It is very unlikely someone is going to take the (unpaid) > > time to evaluate your specific situation and propose a solution. > This is ONLY a test NOT for commercial application. > Whether or not you're doing this in the hope of commercial profit is irrelevant. You are still asking an overly broad question. Most people reading this mailing list will be happy to help you with questions specific to the Apache HTTPD software. We're not willing to provide consulting for free. > > Then you need another system that handles all traffic > > to/from your single fixed/static IP address on which > > you can run a "reverse proxy" and forwards traffic to > > the appropriate VMs on your VirtualBox host. > Several years ago I did following test; > One Fixed/Static IP serving multiple mail servers running on VMs. Each > mail server has its own domain. I ran Perdition on a VM. It worked > seamlessly. Emails were delivered to respective servers. I have posted my > solution on several forums before. > > I doubt whether Perdition can help me out on my current test ? > > What is the relevance of the Perdition mail proxy to your current problem? It seems to me to that you don't understand the difference between the SMTP and HTTPD protocols. Which is why you should hire someone who has expertise in these matters. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank
[users@httpd] 回覆︰ [users@httpd] 回覆︰ [users@httpd] How to solve ONE fixed IP serving multiple web-servers running on VMs
Hi Kurtis, Thanks for your advice. > your question is overly broad for this mailing list. > It is very unlikely someone is going to take the (unpaid) > time to evaluate your specific situation and propose a solution. This is ONLY a test NOT for commercial application. > Then you need another system that handles all traffic > to/from your single fixed/static IP address on which > you can run a "reverse proxy" and forwards traffic to > the appropriate VMs on your VirtualBox host. Several years ago I did following test; One Fixed/Static IP serving multiple mail servers running on VMs. Each mail server has its own domain. I ran Perdition on a VM. It worked seamlessly. Emails were delivered to respective servers. I have posted my solution on several forums before. I doubt whether Perdition can help me out on my current test ? Regards SL Kurtis Rader 於 2015年12月28日 (週一) 10:58 AM 寫道﹕ On Sun, Dec 27, 2015 at 6:36 PM, Stephen Liu wrote: > You need to set up one webserver on the fixed IP as a proxy If I understand it correctly. Run a webserver on a VM with the Fixed/Static IP forwarded to it on the router and set up it as Proxy? That is what I'm most interested rather than installing Apache on the host and run it as Proxy. Stephen, your question is overly broad for this mailing list. It is very unlikely someone is going to take the (unpaid) time to evaluate your specific situation and propose a solution. This is really something you should be paying a consultant to help you find a satisfactory solution. Having said that you should be looking to employ a "reverse proxy" of some sort. That could be an Apache httpd instance dedicated to doing nothing more than responding to requests on your fixed/static IP by looking at the "Host" header and forwarding the request to the appropriate web server running in one of your virtual machines and passing the response back to the requestor. There are also software and hardware solutions optimized for this task such as https://en.wikipedia.org/wiki/Squid_(software). I expect keeping the Host clean for running VirtualBox ONLY. Then you need another system that handles all traffic to/from your single fixed/static IP address on which you can run a "reverse proxy" and forwards traffic to the appropriate VMs on your VirtualBox host. -- Kurtis RaderCaretaker of the exceptional canines Junior and Hank
Re: [users@httpd] 回覆︰ [users@httpd] How to solve ONE fixed IP serving multiple web-servers running on VMs
On Sun, Dec 27, 2015 at 6:36 PM, Stephen Liu wrote: > > You need to set up one webserver on the fixed IP as a proxy > If I understand it correctly. Run a webserver on a VM with the > Fixed/Static IP forwarded to it on the router and set up it as Proxy? > > That is what I'm most interested rather than installing Apache on the host > and run it as Proxy. > Stephen, your question is overly broad for this mailing list. It is very unlikely someone is going to take the (unpaid) time to evaluate your specific situation and propose a solution. This is really something you should be paying a consultant to help you find a satisfactory solution. Having said that you should be looking to employ a "reverse proxy" of some sort. That could be an Apache httpd instance dedicated to doing nothing more than responding to requests on your fixed/static IP by looking at the "Host" header and forwarding the request to the appropriate web server running in one of your virtual machines and passing the response back to the requestor. There are also software and hardware solutions optimized for this task such as https://en.wikipedia.org/wiki/Squid_(software). > I expect keeping the Host clean for running VirtualBox ONLY. > Then you need another system that handles all traffic to/from your single fixed/static IP address on which you can run a "reverse proxy" and forwards traffic to the appropriate VMs on your VirtualBox host. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank
Re: [users@httpd] 回覆︰ [users@httpd] How to solve ONE fixed IP serving multiple web-servers running on VMs
This is a squid task. Le 27 déc. 2015 9:36 PM, "Stephen Liu" a écrit : > Hi James, > > Thanks for your advice. > > > You need to set up one webserver on the fixed IP as a proxy > If I understand it correctly. Run a webserver on a VM with the > Fixed/Static IP forwarded to it on the router and set up it as Proxy? > > That is what I'm most interested rather than installing Apache on the host > and run it as Proxy. I expect keeping the Host clean for running > VirtualBox ONLY. > > > (Look up docs for mod_proxy) > Whether following article is relevant for me to follow? > > How To Use Apache HTTP Server As Reverse-Proxy Using mod_proxy Extension > > https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension > ? > > Thanks > > Regards > SL > > > Dr James Smith 於 2015年12月28日 (週一) 5:41 AM 寫道﹕ > > > > You need to set up one webserver on the fixed IP as a proxy. (Look up docs > for mod_proxy) and set up appropriate rules to proxy through to your > back-end servers... > > On 27/12/2015 18:28, Jim Paniagua wrote: > > I dont even know how VM's work .. sorry no help > > On Fri, Dec 25, 2015 at 7:11 AM, Stephen Liu > wrote: > > Hi all, > > I have following problem: > > Host Ubuntu 14.04 desktop > VMs Ubuntu 14.04 desktop/server edition > VirtualBox > > I have several web-servers running on VMs, each with its own > domain/subdomain and internal IP address. But I have only one Fixed > IP/External IP. > > All VMs are Apache server running WordPress. I can create many internal > IPs on router. > > Please advise how can I make all web-servers be browsed on Internet > > Thanks in advance. > > Regards > satimis > > > > > -- The Wellcome Trust Sanger Institute is operated by Genome Research > Limited, a charity registered in England with number 1021457 and a company > registered in England with number 2742969, whose registered office is 215 > Euston Road, London, NW1 2BE. > > >
[users@httpd] 回覆︰ [users@httpd] How to solve ONE fixed IP serving multiple web-servers running on VMs
Hi James, Thanks for your advice. > You need to set up one webserver on the fixed IP as a proxyIf I understand it > correctly. Run a webserver on a VM with the Fixed/Static IP forwarded to it > on the router and set up it as Proxy? That is what I'm most interested rather than installing Apache on the host and run it as Proxy. I expect keeping the Host clean for running VirtualBox ONLY. > (Look up docs for mod_proxy) Whether following article is relevant for me to follow? How To Use Apache HTTP Server As Reverse-Proxy Using mod_proxy Extension https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension ? Thanks RegardsSL Dr James Smith 於 2015年12月28日 (週一) 5:41 AM 寫道﹕ You need to set up one webserver on the fixed IP as a proxy. (Look up docs for mod_proxy) and set up appropriate rules to proxy through to your back-end servers... On 27/12/2015 18:28, Jim Paniagua wrote: I dont even know how VM's work .. sorry no help On Fri, Dec 25, 2015 at 7:11 AM, Stephen Liu wrote: Hi all, I have following problem: Host Ubuntu 14.04 desktop VMs Ubuntu 14.04 desktop/server edition VirtualBox I have several web-servers running on VMs, each with its own domain/subdomain and internal IP address. But I have only one Fixed IP/External IP. All VMs are Apache server running WordPress. I can create many internal IPs on router. Please advise how can I make all web-servers be browsed on Internet Thanks in advance. Regards satimis -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.
Re: [users@httpd] How to solve ONE fixed IP serving multiple web-servers running on VMs
You need to set up one webserver on the fixed IP as a proxy. (Look up docs for mod_proxy) and set up appropriate rules to proxy through to your back-end servers... On 27/12/2015 18:28, Jim Paniagua wrote: I dont even know how VM's work .. sorry no help On Fri, Dec 25, 2015 at 7:11 AM, Stephen Liu mailto:sati...@yahoo.com.invalid>> wrote: Hi all, I have following problem: Host Ubuntu 14.04 desktop VMs Ubuntu 14.04 desktop/server edition VirtualBox I have several web-servers running on VMs, each with its own domain/subdomain and internal IP address. But I have only one Fixed IP/External IP. All VMs are Apache server running WordPress. I can create many internal IPs on router. Please advise how can I make all web-servers be browsed on Internet Thanks in advance. Regards satimis -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.
Re: [users@httpd] How to solve ONE fixed IP serving multiple web-servers running on VMs
I dont even know how VM's work .. sorry no help On Fri, Dec 25, 2015 at 7:11 AM, Stephen Liu wrote: > Hi all, > > I have following problem: > > Host Ubuntu 14.04 desktop > VMs Ubuntu 14.04 desktop/server edition > VirtualBox > > I have several web-servers running on VMs, each with its own > domain/subdomain and internal IP address. But I have only one Fixed > IP/External IP. > > All VMs are Apache server running WordPress. I can create many internal > IPs on router. > > Please advise how can I make all web-servers be browsed on Internet > > Thanks in advance. > > Regards > satimis >
Re: [users@httpd] 回覆︰ [users@httpd] 回覆︰ [users@httpd] How to solve ONE fixed IP serving multiple web-servers running on VMs
Looks ok at first glance. -- With Best Regards Marat Khalili On December 25, 2015 7:17:47 PM GMT+03:00, Stephen Liu wrote: >Hi, Marat, >Whether following document is good for me to follow; >Building Apache for Proxying >http://www.apachetutor.org/admin/reverseproxies >? > >Thanks >RegardsStephen L > >| | >| | | | | | >| Running a Reverse Proxy with Apache:As with any modules, the first >thing to do is to load them in httpd.conf (this is not necessary if we >build them statically into Apache). | >| | >| 查看於 www.apachetutor.org | Yahoo 預覽 | >| | >| | > > > >Marat Khalili 於 2015年12月26日 (週六) 12:01 AM 寫道﹕ > > > >Have no experience with HA Proxy, sorry. Your task can be solved with >plain Apache, information about using one as reverse proxy is easier to >find. > > -- > > With Best Regards > Marat Khalili > On 25/12/15 18:44, Stephen Liu wrote: > > Hi Marat, > Thanks for your advice. I suppose you referred to HA Proxy HAProxy > http://www.haproxy.org/ >I'm now busily googling on document re its setup on domain base. Can >you help? Thanks > Regards Stephen L > > > Marat Khalili 於 2015年12月25日 (週五) 11:31 PM 寫道﹕ > > > >Reverse proxy running on host may be the answer. It may discriminate >sites by domain name and redirect requests to corresponding virtual >hosts. > > -- > > With Best Regards > Marat Khalili > > On 25/12/15 18:11, Stephen Liu wrote: > > Hi all, > > I have following problem: > > Host Ubuntu 14.04 desktop > VMs Ubuntu 14.04 desktop/server edition > VirtualBox > >I have several web-servers running on VMs, each with its own >domain/subdomain and internal IP address. But I have only one Fixed >IP/External IP. > >All VMs are Apache server running WordPress. I can create many >internal IPs on router. > Please advise how can I make all web-servers be browsed on Internet > Thanks in advance. > Regards satimis > > > > > > > > > >
[users@httpd] 回覆︰ [users@httpd] 回覆︰ [users@httpd] How to solve ONE fixed IP serving multiple web-servers running on VMs
Hi, Marat, Whether following document is good for me to follow; Building Apache for Proxying http://www.apachetutor.org/admin/reverseproxies ? Thanks RegardsStephen L | | | | | | | | | Running a Reverse Proxy with Apache:As with any modules, the first thing to do is to load them in httpd.conf (this is not necessary if we build them statically into Apache). | | | | 查看於 www.apachetutor.org | Yahoo 預覽 | | | | | Marat Khalili 於 2015年12月26日 (週六) 12:01 AM 寫道﹕ Have no experience with HA Proxy, sorry. Your task can be solved with plain Apache, information about using one as reverse proxy is easier to find. -- With Best Regards Marat Khalili On 25/12/15 18:44, Stephen Liu wrote: Hi Marat, Thanks for your advice. I suppose you referred to HA Proxy HAProxy http://www.haproxy.org/ I'm now busily googling on document re its setup on domain base. Can you help? Thanks Regards Stephen L Marat Khalili 於 2015年12月25日 (週五) 11:31 PM 寫道﹕ Reverse proxy running on host may be the answer. It may discriminate sites by domain name and redirect requests to corresponding virtual hosts. -- With Best Regards Marat Khalili On 25/12/15 18:11, Stephen Liu wrote: Hi all, I have following problem: Host Ubuntu 14.04 desktop VMs Ubuntu 14.04 desktop/server edition VirtualBox I have several web-servers running on VMs, each with its own domain/subdomain and internal IP address. But I have only one Fixed IP/External IP. All VMs are Apache server running WordPress. I can create many internal IPs on router. Please advise how can I make all web-servers be browsed on Internet Thanks in advance. Regards satimis
Re: [users@httpd] 回覆︰ [users@httpd] How to solve ONE fixed IP serving multiple web-servers running on VMs
Have no experience with HA Proxy, sorry. Your task can be solved with plain Apache, information about using one as reverse proxy is easier to find. -- With Best Regards Marat Khalili On 25/12/15 18:44, Stephen Liu wrote: Hi Marat, Thanks for your advice. I suppose you referred to HA Proxy HAProxy http://www.haproxy.org/ I'm now busily googling on document re its setup on domain base. Can you help? Thanks Regards Stephen L Marat Khalili 於 2015年12月25日 (週五) 11:31 PM 寫道﹕ Reverse proxy running on host may be the answer. It may discriminate sites by domain name and redirect requests to corresponding virtual hosts. -- With Best Regards Marat Khalili On 25/12/15 18:11, Stephen Liu wrote: Hi all, I have following problem: Host Ubuntu 14.04 desktop VMs Ubuntu 14.04 desktop/server edition VirtualBox I have several web-servers running on VMs, each with its own domain/subdomain and internal IP address. But I have only one Fixed IP/External IP. All VMs are Apache server running WordPress. I can create many internal IPs on router. Please advise how can I make all web-servers be browsed on Internet Thanks in advance. Regards satimis
[users@httpd] 回覆︰ [users@httpd] How to solve ONE fixed IP serving multiple web-servers running on VMs
Hi Marat, Thanks for your advice. I suppose you referred to HA ProxyHAProxy http://www.haproxy.org/ I'm now busily googling on document re its setup on domain base. Can you help? Thanks RegardsStephen L Marat Khalili 於 2015年12月25日 (週五) 11:31 PM 寫道﹕ Reverse proxy running on host may be the answer. It may discriminate sites by domain name and redirect requests to corresponding virtual hosts. -- With Best Regards Marat Khalili On 25/12/15 18:11, Stephen Liu wrote: Hi all, I have following problem: Host Ubuntu 14.04 desktop VMs Ubuntu 14.04 desktop/server edition VirtualBox I have several web-servers running on VMs, each with its own domain/subdomain and internal IP address. But I have only one Fixed IP/External IP. All VMs are Apache server running WordPress. I can create many internal IPs on router. Please advise how can I make all web-servers be browsed on Internet Thanks in advance. Regards satimis
Re: [users@httpd] How to solve ONE fixed IP serving multiple web-servers running on VMs
On Fri, 25 Dec 2015 15:11:13 + (UTC) Stephen Liu wrote: > Hi all, > > I have following problem: > > Host Ubuntu 14.04 desktop > VMs Ubuntu 14.04 desktop/server edition > VirtualBox > > I have several web-servers running on VMs, each with its own > domain/subdomain and internal IP address. But I have only one Fixed > IP/External IP. > > All VMs are Apache server running WordPress. I can create many > internal IPs on router. Please advise how can I make all web-servers > be browsed on Internet Thanks in advance. This may be an issue for your networking config. That is to say, check what networking options your OS and VM environment provide. If you can't find a native solution, you could run an apache instance on your external IP, with a VirtualHost proxying to each of the VMs. Of course, if you could dispense with the VMs and substitute plain old VirtualHosts, that's a far more efficient solution. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] How to solve ONE fixed IP serving multiple web-servers running on VMs
Reverse proxy running on host may be the answer. It may discriminate sites by domain name and redirect requests to corresponding virtual hosts. -- With Best Regards Marat Khalili On 25/12/15 18:11, Stephen Liu wrote: Hi all, I have following problem: Host Ubuntu 14.04 desktop VMs Ubuntu 14.04 desktop/server edition VirtualBox I have several web-servers running on VMs, each with its own domain/subdomain and internal IP address. But I have only one Fixed IP/External IP. All VMs are Apache server running WordPress. I can create many internal IPs on router. Please advise how can I make all web-servers be browsed on Internet Thanks in advance. Regards satimis
[users@httpd] How to solve ONE fixed IP serving multiple web-servers running on VMs
Hi all, I have following problem: Host Ubuntu 14.04 desktop VMs Ubuntu 14.04 desktop/server edition VirtualBox I have several web-servers running on VMs, each with its own domain/subdomain and internal IP address. But I have only one Fixed IP/External IP. All VMs are Apache server running WordPress. I can create many internal IPs on router. Please advise how can I make all web-servers be browsed on Internet Thanks in advance. Regardssatimis