How to forward incoming web traffic to virtual machines

Clash 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
14.04 server virtualbox routing
add a comment |Â
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
14.04 server virtualbox routing
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
add a comment |Â
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
14.04 server virtualbox routing
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
14.04 server virtualbox routing
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
add a comment |Â
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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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