Koozali.org formerly Contribs.org

PHP VirtualBox Virtual Domains

PHP VirtualBox Virtual Domains
« on: October 09, 2019, 08:44:00 AM »
Just a quick questions.
Does anyone know if PHPVirtualBox will mess with my virtual domains?
I have a number of virtual domains with websites installed in I-bays.. I want to run up a VM and assign a Virtual Domain to it.
Is this possible?
Many thanks

Offline ReetP

  • *
  • 2,146
Re: PHP VirtualBox Virtual Domains
« Reply #1 on: October 09, 2019, 10:45:39 AM »
I don't suppose so, but it really depends on what config files it attempts to mess about with.

However, in this day and age it is easy to spin up a test SME box and try it.

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Re: PHP VirtualBox Virtual Domains
« Reply #2 on: October 09, 2019, 02:25:26 PM »
You dont happen to know if I can assign a virtual domain to a Virtual Machine?

Offline ReetP

  • *
  • 2,146
Re: PHP VirtualBox Virtual Domains
« Reply #3 on: October 09, 2019, 02:32:12 PM »
You dont happen to know if I can assign a virtual domain to a Virtual Machine?

Probably need a reverse proxy to do that...

There's a way to do it but I'm out right now. Be back in a bit.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 2,146
Re: PHP VirtualBox Virtual Domains
« Reply #4 on: October 09, 2019, 02:33:03 PM »
Actually, what services do you intend running on said VM??
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Re: PHP VirtualBox Virtual Domains
« Reply #5 on: October 10, 2019, 12:17:22 AM »
I want to run a Ubuntu VM. I need to give it SSH and http access via a virtual domain.
We will be building and compiling web based applications on it.  So Cargo and and a bunch of Rust libraries
« Last Edit: October 10, 2019, 12:34:17 AM by adamcyberspace »

Offline Jean-Philippe Pialasse

  • *
  • 1,362
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: PHP VirtualBox Virtual Domains
« Reply #6 on: October 10, 2019, 12:48:17 AM »
1- ssh does not care about domain... so all  you need is to use port forwarding from the SME to the VM ip. ie: 222 =>22

2- for http, you can use reverse proxy, see the documentation: https://wiki.contribs.org/SME_Server:Documentation:ProxyPass#ProxyPass_a_domain