Answer the question
In order to leave comments, you need to log in
How to deploy multiple sites on a virtual box?
Greetings!
I took up web development and in order to conveniently debug projects using xdebug, it would be nice to deploy them in a familiar linux environment, for example, on a virtual box.
But there is no problem deploying one site, but I could not connect to several sites so that I could connect to them at different addresses or ports.
I use local views with a web server (openserver). But it works worse than under Linux, and I could not install IonCube on it now because I need it.
In general, tell me whether it is possible to implement what I have in mind or is it easier to switch sites on a virtual machine and that's it?
Well, or share your experience, how do you organize your workspace?
Answer the question
In order to leave comments, you need to log in
1) Create several names for the virtual machine on the machine from which you will connect, in the hosts file, and use Virtual hosts / Server blocks.
https://httpd.apache.org/docs/2.4/vhosts/name-base...
https://www.nginx.com/resources/wiki/start/topics/...
2) Docker :)
https: //www.docker.com/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question