Forum Moderators: phranque

Message Too Old, No Replies

Config Apache Web servers running on VMs

         

satimis

6:30 am on Mar 28, 2015 (gmt 0)

10+ Year Member



Hi all,

I have installed several websites, each running on its own VMs with following details:

1. They are on name-base and can be evoked on VM browser with /localhose/subdomain(xyz)
(e.g. xyz.domain.com - only with xyz)
2. Each VM is alloted with an internal IP
3. They are running on WordPress
4. Domains are registerd and hosted with Godaddy
5. I'm subscribing 100M/100M up/down Broadband with only ONE fixed/static IP
6. OS of Host and VMs - Ubuntu 14.04

How to configure the servers so that they can be browsed on Internet? I have been googling a while and found many suggestions. Following is an example;

Please advise which will be the simple way to configure the websites? Pointers would be appreciated.

Thanks in advance.

Regards
satimis

coopster

9:04 pm on Mar 31, 2015 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I notice you made a reference to what I believe you meant to be "localhost" in your first bullet. And bullet 2 seemingly confirms that theory:

2. Each VM is alloted with an internal IP


This is the first issue to address. In order to be reached from the Internet you are going to have to have a publicly accessible IP address bound to a card in your server. <small>Or some other mechanism in place to allow traffic to ultimately reach said server like a front-end load balancer or something that is firing off internal web service requests to your VMs back behind your firewall -- lots more work.</small>