Hello, for 1, are you sure you require that change. the structure usually
goes to /var/www/html for the webpages, as cgi and other are in
/var/www/cgi-bin, this is the normal sctructure.

If you require this chance, you can do a shell script and execute it with a
vagrant shell provisoner.

for 2, the alias actually need to go to your host hosts file, if this is
windows, is something inside c:\Windows...

there is a plugin that may do this for you, you need to test:

https://github.com/smdahlen/vagrant-hostmanager

I will let any other person to reply on 3, as I am not a developer.

Alvaro.

On Mon, Oct 20, 2014 at 1:45 PM, Chris Farrugia <[email protected]>
wrote:

> Hello everyone,
>
> I'm using Jeffrey Way's Vagrant file and install.sh located at his git
> repository. <https://github.com/JeffreyWay/Vagrant-Setup>  It works
> fairly well but there are a few questions that I have.
>
>
>    1. As soon as I do a 'vagrant up' I have to ssh in and edit the
>    /etc/apache2/sites-available/000-default.conf and change the DocumentRoot
>    from /var/www/html to just /var/www.
>    2. I can then access my site at localhost:8080 but ideally, I'd like
>    to be able to somehow set up mysite.dev in my /etc/hosts file so I can
>    access it that way.  That also leads to my next question...
>    3. If I'm working on multiple sites, I'm assuming I use the same
>    Vagrant file and install.sh in each of my site's roots.  Is that how you
>    guys normally do it with multi-site environments on your personal machine?
>    If not, how do you work on a number of sites at the same time?  Do you just
>    have multiple instances of vagrant and each one just uses a
>    000-default.conf file?
>
> Thanks so much in advance for any help you could provide.  I love the idea
> of using Vagrant but just a bit confused as a new user.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to