I'm using Apache 2. I'm currently developing a website and would like to show a preview to my client. To not have to mess with DNS now, I need a way to map the URLs of the sites to specific folders.
For example. I am developing a website for John. The installation of Wordpress is in /var/www/sites/joao
. When the url http://meudominio.com.br/joao
is accessed, I want the request to be sent to /var/www/sites/joao
.
Does anyone have an idea how I could do this?