Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am a developer by trade but am not used to configuring VM's and servers, so I apologize if these questions seem rather novice.

I have recently started trying to use Vagrant for local development of my projects, before pushing them up onto our remote staging (and later live) servers. However, I am not sure how I can configure Vagrant to resemble the structure of our live servers as closely as possible.

The live server is configured as so:

/
  /web_www
    /home
      /w-example
        /www
         index.php
  /wep_apps

w-example is a sub site off of the main domain... so to access the index.php file in w-example, I go to www.maindomain.com/~w-example/, which would bring me to w-example/index.php

I'm unsure what configuration I need to make in my vagrant server to replicate this setup. Optimally I would like to be able to do as follows to access the w-example project above:

www.maindomain.local/~w-example/

Any help is much appreciated. Thank you.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.