How to forward incoming web traffic to virtual machines

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I have a dedicated server and I setup Virtualbox on the server. I have a range of fixed IPS's and I have several vm's running.



What I want to do is have different subdomains route to different VM's?



Can anyone please guide me in the right direction?



Thanks










share|improve this question





















  • Generally you are going to run a reverse proxy. port forward all web traffic from your router to your reverse proxy and configure your reverse proxy to the other web servers. I use nginx. BUT it depends on what sort of networking you are using on virtualbox, bridged is easier than NAT. In general though your question is too broad or you have not given enough details.
    – Panther
    Feb 15 at 15:01










  • Thank Panther. So do not have access to the routers or anything like that, This is a server hosted at a server hosting company, Because it is self-managed I am responsible for setting up the forwards, etc. My googles have mentioned a reverse proxy, I will look into this. Not sure how else I am going to do this.
    – Janes Oosthuizen
    Feb 15 at 20:16














up vote
0
down vote

favorite












I have a dedicated server and I setup Virtualbox on the server. I have a range of fixed IPS's and I have several vm's running.



What I want to do is have different subdomains route to different VM's?



Can anyone please guide me in the right direction?



Thanks










share|improve this question





















  • Generally you are going to run a reverse proxy. port forward all web traffic from your router to your reverse proxy and configure your reverse proxy to the other web servers. I use nginx. BUT it depends on what sort of networking you are using on virtualbox, bridged is easier than NAT. In general though your question is too broad or you have not given enough details.
    – Panther
    Feb 15 at 15:01










  • Thank Panther. So do not have access to the routers or anything like that, This is a server hosted at a server hosting company, Because it is self-managed I am responsible for setting up the forwards, etc. My googles have mentioned a reverse proxy, I will look into this. Not sure how else I am going to do this.
    – Janes Oosthuizen
    Feb 15 at 20:16












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a dedicated server and I setup Virtualbox on the server. I have a range of fixed IPS's and I have several vm's running.



What I want to do is have different subdomains route to different VM's?



Can anyone please guide me in the right direction?



Thanks










share|improve this question













I have a dedicated server and I setup Virtualbox on the server. I have a range of fixed IPS's and I have several vm's running.



What I want to do is have different subdomains route to different VM's?



Can anyone please guide me in the right direction?



Thanks







14.04 server virtualbox routing






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 15 at 14:51









Janes Oosthuizen

11




11











  • Generally you are going to run a reverse proxy. port forward all web traffic from your router to your reverse proxy and configure your reverse proxy to the other web servers. I use nginx. BUT it depends on what sort of networking you are using on virtualbox, bridged is easier than NAT. In general though your question is too broad or you have not given enough details.
    – Panther
    Feb 15 at 15:01










  • Thank Panther. So do not have access to the routers or anything like that, This is a server hosted at a server hosting company, Because it is self-managed I am responsible for setting up the forwards, etc. My googles have mentioned a reverse proxy, I will look into this. Not sure how else I am going to do this.
    – Janes Oosthuizen
    Feb 15 at 20:16
















  • Generally you are going to run a reverse proxy. port forward all web traffic from your router to your reverse proxy and configure your reverse proxy to the other web servers. I use nginx. BUT it depends on what sort of networking you are using on virtualbox, bridged is easier than NAT. In general though your question is too broad or you have not given enough details.
    – Panther
    Feb 15 at 15:01










  • Thank Panther. So do not have access to the routers or anything like that, This is a server hosted at a server hosting company, Because it is self-managed I am responsible for setting up the forwards, etc. My googles have mentioned a reverse proxy, I will look into this. Not sure how else I am going to do this.
    – Janes Oosthuizen
    Feb 15 at 20:16















Generally you are going to run a reverse proxy. port forward all web traffic from your router to your reverse proxy and configure your reverse proxy to the other web servers. I use nginx. BUT it depends on what sort of networking you are using on virtualbox, bridged is easier than NAT. In general though your question is too broad or you have not given enough details.
– Panther
Feb 15 at 15:01




Generally you are going to run a reverse proxy. port forward all web traffic from your router to your reverse proxy and configure your reverse proxy to the other web servers. I use nginx. BUT it depends on what sort of networking you are using on virtualbox, bridged is easier than NAT. In general though your question is too broad or you have not given enough details.
– Panther
Feb 15 at 15:01












Thank Panther. So do not have access to the routers or anything like that, This is a server hosted at a server hosting company, Because it is self-managed I am responsible for setting up the forwards, etc. My googles have mentioned a reverse proxy, I will look into this. Not sure how else I am going to do this.
– Janes Oosthuizen
Feb 15 at 20:16




Thank Panther. So do not have access to the routers or anything like that, This is a server hosted at a server hosting company, Because it is self-managed I am responsible for setting up the forwards, etc. My googles have mentioned a reverse proxy, I will look into this. Not sure how else I am going to do this.
– Janes Oosthuizen
Feb 15 at 20:16















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1006491%2fhow-to-forward-incoming-web-traffic-to-virtual-machines%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1006491%2fhow-to-forward-incoming-web-traffic-to-virtual-machines%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error

How do I move numbers in filenames, in a batch renaming operation?