How to configure to open another project with Laravel + Homestead in Windows


I have made the configuration in the following files. Also make the command vagrant up and then vagrant reload --provision and another command vagrant-hostsupdater . I honestly can not see my other project in the browser, but if the first project, how can I configure it?

Estoy usando laravel+homested en Windows
donde tengo mis proyectos es en está dirección
un proyecto se llama laracast y otro myfirstsitelaravel
mi Homestead está en dirección C:\Users\e.herrera\Homestead 
#he configurado el .Homestead.yaml en está dirección
#my C:\Users\e.herrera\.homestead
ip: "" 
memory: 2048 
cpus: 1 
provider: virtualbox

authorize: ~/.ssh/
keys: - ~/.ssh/id_rsa
- map: C:\Users\e.herrera\Desktop\laravel\Code 
to: /home/vagrant/Code
- map: 
to: /home/vagrant/Code/myfirstsitelaravel/public 
- map: 
to: /home/vagrant/Code/laracast/public
databases: - homestead
#- id: foo
#token: bar
#client-id: foo
#client-token: bar
#- send: 50000
#to: 5000
#- send: 7777
#to: 777
#protocol: udp
Copyright (c) 1993-2009 Microsoft Corp.
This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
This file contains the mappings of IP addresses to host names. Each
entry should be kept on an individual line. The IP address should
be placed in the first column followed by the corresponding host name.
The IP address and the host name should be separated by at least one
Additionally, comments (such as these) may be inserted on individual
lines or following the machine name denoted by a '#' symbol.
For example:
# # source server # x client host
localhost name resolution is handled within DNS itself.
# localhost
#::1 localhost
asked by ito2307gm 24.08.2016 в 18:00

1 answer


Take into account that all this configuration you have to do after running vagrant up and then do the following configurations.

Ingresar a esta direccion y abrir el archivo hosts con un editor de texto con permiso de administrador y colocar lo siguiente

direccion -> C:\Windows\System32\drivers\etc
direccion donde tengo creado mis proyetos es en 
configurar el archivo Homestead.yaml que esta ubicado en C:\Users\e.herrera\.homestead y el archivo se llama Homestead.yaml puedes abrirlo con un editor de texto con permiso de administrador

    - map: C:\Users\e.herrera\Desktop\laravel\Code\myfirstsitelaravel
      to: /home/vagrant/Code/myfirstsitelaravel
    - map: C:\Users\e.herrera\Desktop\laravel\Code\laracast
      to: /home/vagrant/Code/laracast

    - map:
      to: /home/vagrant/Code/myfirstsitelaravel/public
    - map:
      to: /home/vagrant/Code/laracast/public

at the end you run vagrant reload --provision

answered by 24.08.2016 в 18:18