Hi all,
Host Ubuntu 14.04 desktop
VMs Ubuntu 14.04 desktop/server edition
VirtualBox
I have several websites running on VMs, each with its own domain/subdomain and internal IP address. But I have only one Fixed IP. Please advise how set up their static IP so that they can be evoked on Internet?
Does following document help?
VirtualBox: Configuring Static IPs for VMs
http://coding4streetcred.com/blog/post/ ... Ps-for-VMs
Thanks in advance
Regards
satimis
How to sort out ONE fixed IP serving several VMs
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: How to sort out ONE fixed IP serving several VMs
No, and you should have realized that. It talks about Host-only networks. Private networks. The opposite of public, which is what you're looking for.satimis wrote:Does following document help?
The only way you could do something like you're describe, you'd have to use NAT with port forwarding; different outside ports directed to different VMS, so, for example:
http://YourPublicIP:40081 would take you to VM1
http://YourPublicIP:40082 would take you to VM2
...
http://YourPublicIP:4008n would take you to VMn
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Re: How to sort out ONE fixed IP serving several VMs
Hi all,socratis wrote:No, and you should have realized that. It talks about Host-only networks. Private networks. The opposite of public, which is what you're looking for.satimis wrote:Does following document help?
The only way you could do something like you're describe, you'd have to use NAT with port forwarding; different outside ports directed to different VMS, so, for example:
http://YourPublicIP:40081 would take you to VM1
http://YourPublicIP:40082 would take you to VM2
...
http://YourPublicIP:4008n would take you to VMn
Thanks for your reply. Could you please give me more detail OR pointers would be appreciated.
All VMs are Apache server running WordPress. My problem is I have only ONE Fixed IP. I can create many internal IPs on router.
Several years ago I made use of Perdition
Perdition: Mail Retrieval Proxy
http://horms.net/projects/perdition/
to setup several mail servers on VMs but served with only ONE Fixed IP. It worked seamlessly. All emails were delivered to their own servers. Maybe I can dig up the respective documents on my database. But I have no idea whether it also work on web-server?
Regards
satimis