Sorry for contacting you here, does this repo supports multi vhosts?
Creating like this local.dev project.dev project2.dev
If yes, I am weak with Linux and chef configuration. How would I do it, I did not really catch the documentation.
ps: I have tried to use your repo but with no success.
Yes, you can set up any number of vhosts.
Just create for it subfolder in public folder and set up data bag json file with configuration
Unfortunately it doesnt work.
FIrst I started trying out local.dev, nothing works. Went to 184.108.40.206, I could see php info.
Took me one hour to complete the first 'vagrant up'. At the beginning I saw 'mysql gem missing'.
I ssh the vagrant, seems the system is outdated, it asked me to update the linux.
Going to search every single repo on github like yours, really need it urgently.
The update message isn't really something to worry about, it just means that the lucid32 box (which is somewhat of a standard in the Vagrant world) is not the very latest Ubuntu release (I am not too at home in the Ubuntu world, but I do know it if not always a bad thing to not be using the very latest thing :)). I can't remember the 'mysql gem missing' from my own endeavours, but you may want to try my fork of this repo, it does have the precise release of Ubuntu because I needed a more recent release of PHP.
Okay, I will try out your repo, and will contact you if I get stuck
That is fine. Please do bare in mind that:
Please only enter an issue in the issue queue when you have found a genuine problem with the setup, preferably with a pull request attached containing a solution ;)
I am getting frustrated right now. Let clarify some things.
Your repo and r8 repo, I appreciate the work you have done for the public and personal use.
Something I dont understand is. When I do first 'vagrant up', I expect to go to http://local.dev and see php info. Is this correct?
From my side, it doesnt work, I even added 127.0.0.1 local.dev in my /etc/hosts file on my machine, not vagrant box. I get nothing. The only way I could see the php info by going to 220.127.116.11
I created a test.dev folder, created test.json and added in the sites folder. I tested but same result. When I go to 18.104.22.168, the test.dev html override the local.dev.
All the changes I made, I did vagrant reload.
Please explain to me what your setup was aimed for? One project only? Since r8 answered my question it is possible to have multi vhost.
Please enlighten what I am doing wrong. I just need to start working, not prepared to have one site, one db per vagrant setup.
You should add 22.214.171.124 to hosts file on your machine, not 127.0.0.1
126.96.36.199 local.dev test.dev
127.0.0.1 is your local machine, 188.8.131.52 is vagrant
Sites are on vagrant, so you should add 184.108.40.206 to hosts on your local machine, then your machine will be able to find them
Thank you. Big sign of relief.