Map your hosts file - Set up Laravel Homestead Tutorial 4

  Рет қаралды 10,362

Quentin Watt Tutorials

Quentin Watt Tutorials

Күн бұрын

Пікірлер: 48
@markcondello8395
@markcondello8395 5 жыл бұрын
This video series helped me a lot. I have not found good documentation to setup Homestead with virtual box. This was exactly what I needed.
@QuentinWatt
@QuentinWatt 4 жыл бұрын
yay! so happy to hear it was helpful.
@jaimeperezpazo
@jaimeperezpazo 5 жыл бұрын
Hi Quentin, I'm new in Laravel, I juts followed the 4 initial video tutorials....EXCELLLLLLENT Workt thank you!!!
@QuentinWatt
@QuentinWatt 5 жыл бұрын
Thank you. :) Hope you subscribed. 😌
@zeroxenator
@zeroxenator 4 жыл бұрын
Thank you sooo much for an easy to follow set of instructions. Wasted a whole day on this until I came across your video.
@QuentinWatt
@QuentinWatt 4 жыл бұрын
I'm so glad to hear it saved you some time. My aim is to make content that helps people. Please subscribe and support me future content. :) And, if it's not too much to ask, consider clicking the "join" button and becoming a channel member.
@tusharjuneja5144
@tusharjuneja5144 5 жыл бұрын
Quentin just watched your first 4 tutorials and now homestead is working like a charm. Thank you!!
@QuentinWatt
@QuentinWatt 5 жыл бұрын
Woooohoooooo! positive feedback is so good to hear :)
@kennethavila7451
@kennethavila7451 4 жыл бұрын
Thanks so much for making these! When I go to qcasts.test:8000 I get an message saying "No input file specified." Any ideas on what I did wrong? I am on a windows machine and had to change the host file using Notepad++
@PP-qw3yr
@PP-qw3yr 4 жыл бұрын
Amazing video! I build Laravel homestead on my mac successfully follow your video!
@paolodelmundo4641
@paolodelmundo4641 4 жыл бұрын
Amazing tutorial! Is it possible to use Vagrant to deploy ec2 instance on AWS?
@ivoamaral1
@ivoamaral1 5 жыл бұрын
Hi Quentin. Thank you for the tutorial. An important command if you edit Homestead.yaml is 'vagrant reload --provision' . It will update Nginx configuration on the virtual machine. :)
@QuentinWatt
@QuentinWatt 5 жыл бұрын
Thanks
@Jay-eg7yt
@Jay-eg7yt 5 жыл бұрын
Thanks for this series. It's been very helpful. Quick question regarding the IP. What's the reason for choosing 127.0.0.1? In homestead.yaml the default IP is 192.168.10.10 which should work without having to use the port 8080 in the browser address. I am still learning so if you can shed any light on this it would be appreciated. Thanks!
@QuentinWatt
@QuentinWatt 5 жыл бұрын
That's not what is documented on the Laravel website. I suppose it's just another way to do things but if someone modifies the yaml config then that IP would be different. So it opens up the possibility for that IP address not to be consistent across multiple environments.
@LetTheWritersWrite
@LetTheWritersWrite 4 жыл бұрын
@@QuentinWatt He's actually correct. The documentation does talk about setting it up with 192.168.10.10 and no longer necessary to use the port.
@srikanthchitturi2206
@srikanthchitturi2206 4 жыл бұрын
What to do in windows , because we don't have /etc/hosts file. And when did you serve the project , you run it automatically .
@QuentinWatt
@QuentinWatt 4 жыл бұрын
The hosts file for Windows is located in C:\Windows\System32\Drivers\etc\hosts The project starts up when you run `vagrant up` on the command line
@rocas4087
@rocas4087 3 жыл бұрын
if i enter via port 8000 i get "No input file specified", if i enter via port 80 i get "You don't have permission to access the requested directory. There is either no index document or the directory is read-protected." (error 403). Any ideas?
@alexdoerfer7146
@alexdoerfer7146 3 жыл бұрын
Same problem here when I use port 8000. Would greatly appreciate some help!
@PreetiPatel-w8p
@PreetiPatel-w8p Ай бұрын
In windows, sudo vim /etc/hosts gives error "bash: sudo: command not found " how to handle in window??
@yaseral-sakkaf9779
@yaseral-sakkaf9779 5 жыл бұрын
i do every thing correctly but still have problem is This site can’t be reached
@activelivingchallenger4298
@activelivingchallenger4298 5 жыл бұрын
in the yaml file check the to: of the sites second. You might have edit it like i had to do, have it end with blog/public or whatever u called the project if it wasn't called blog.
@nk361
@nk361 4 жыл бұрын
@@activelivingchallenger4298 This also worked for me. So I wanted to add more detail for anyone else who may be looking. In the yaml file, under sites: and to: it may need to be code/(project name)/public instead of just code/public. The project name is what you used in the laravel new command or the move command mentioned in the video. (whichever one you did last) I kept getting "refused to connect" which made me think it was a firewall/networking issue instead of a mapping problem. Hope this helps someone.
@jaxsofspades
@jaxsofspades 5 жыл бұрын
does anyone know how to do the editing the hosts file step on windows? i simply dont get a laravel website no matter how i alter it
@amirqushairijdeace3208
@amirqushairijdeace3208 5 жыл бұрын
- Press the Windows key. - Type Notepad in the search field. - In the search results, right-click Notepad and select Run as administrator. - From Notepad, open the following file: c:\Windows\System32\Drivers\etc\hosts. - Make the necessary changes to the file. - Select File > Save to save your changes. *make sure the ip same with vagrant ip example: 192.168.10.10 qcasts.test
@activelivingchallenger4298
@activelivingchallenger4298 5 жыл бұрын
In the browser I get: "No input file specified". Unfortunately this doesn't work for me.
@activelivingchallenger4298
@activelivingchallenger4298 5 жыл бұрын
Able to fix it from changing in my yaml file sites: to: from /home/vagrant/code/public to /home/vagrant/code/blog/public Then i did vagrant reload -provision to update everything to use the yaml changes.
@dolciziaselvaggio4762
@dolciziaselvaggio4762 5 жыл бұрын
@@activelivingchallenger4298 Big help thank you! vagrant reload --provision was exactly what I needed.
@activelivingchallenger4298
@activelivingchallenger4298 5 жыл бұрын
@@dolciziaselvaggio4762 no worries, good luck learning laravel!
@QuentinWatt
@QuentinWatt 4 жыл бұрын
Sounds like you skipped the step, I do mention this in the video, but I am glad the comment is here to help others. :D
@carlotamartinez8128
@carlotamartinez8128 4 жыл бұрын
Hi there! Great tutorial but when typing sudo vim /etc/hosts it always says "bash: sudo: command not found " No matter what I try, because I have search a bunch of options on the internet but not lucky at all. With all commands was the same. First time I was installing all these apps...
@QuentinWatt
@QuentinWatt 4 жыл бұрын
sudo is a linux/OSX command. If you are using windows, the command and the location of the file may be different.
@marcus11b
@marcus11b 5 жыл бұрын
Thank you Sir !
@QuentinWatt
@QuentinWatt 5 жыл бұрын
It's a pleasure.
@fayssalelansari8584
@fayssalelansari8584 4 жыл бұрын
ok this works, thanks .
@QuentinWatt
@QuentinWatt 4 жыл бұрын
You're welcome!
@Waanled
@Waanled 4 жыл бұрын
Writing this down so people dont make the same silly mistake I did. when editing the hosts file I was in my virtual machine so changes obviously were not working. Make sure when editing your host file you are not SSH into vagrant.
@QuentinWatt
@QuentinWatt 4 жыл бұрын
I think this is visible in the video, but thank you for highlighting it. I'll try to be a little more obvious in future videos.
@ismaelseck
@ismaelseck 4 жыл бұрын
an error occurs when i'm lauching qcasts.test:8000. 502 Bad gateway
@QuentinWatt
@QuentinWatt 4 жыл бұрын
Sounds like your server is running, but the homestead environment isn't properly mapped. Please watch again and find your mistake or read the documentation. :)
@ismaelseck
@ismaelseck 4 жыл бұрын
@@QuentinWatt i did it and i succeded thanks very much
@HylianNBf
@HylianNBf 5 жыл бұрын
why i need rename SERVER file to INDEX.php? :/
@QuentinWatt
@QuentinWatt 5 жыл бұрын
To which minute in the video are you referring?
@benfisher9942
@benfisher9942 3 жыл бұрын
I dont use vim tho
@mohamedyansane6595
@mohamedyansane6595 4 жыл бұрын
thanks so much
@QuentinWatt
@QuentinWatt 4 жыл бұрын
You're welcome!
How to install Homestead, in 8 minutes -  Set up Laravel Homestead tutorial 2
7:37
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Install Laravel Homestead on Windows 10
15:27
Tech School “Pcwebschool” Media Es
Рет қаралды 35 М.
Laravel .env.example: APP_XXX Values Explained
9:59
Laravel Daily
Рет қаралды 19 М.
Create a new Laravel project  - Set up Laravel Homestead tutorial 3
6:25
Quentin Watt Tutorials
Рет қаралды 18 М.
Everything You Need to Know About Laravel in 30 Minutes
29:15
Laracasts
Рет қаралды 14 М.
Netflix Removed React?
20:36
Theo - t3․gg
Рет қаралды 62 М.
How to Install Laravel Homestead on Windows 10
22:58
WHATNOT
Рет қаралды 923
React JS for beginners: Tutorial 9 - Fetching data from an API (part 1)
13:41
Quentin Watt Tutorials
Рет қаралды 79 М.