Тёмный

Using Subdomain in Laravel for Staging, Beta, and Live Servers 

DevMarketer
Подписаться 69 тыс.
Просмотров 21 тыс.
50% 1

Ever wanted to create multiple staging servers for your Laravel project but not know how to set it up? In today's video we answer a common subscriber question I get about how this works, so that you can maintain different Larave projects with different subdomains.
This is for staging subdomains, not multi-tenant subdomains.
So a common workflow is to have staging.mysite.com and beta.mysite.com and then mysite.com as the live website. This allows you to push different code to each codebase without the sites interfering with each other.
==== MORE FROM THIS SERIES ====
==== DOWNLOAD SOURCE CODE ====
Download Code from this Episode:
github.com/DevMarketer/DevMar...
==== FOLLOW ME ====
Subscribe for New Releases!
Subscribe to DevMarketer Insider
confirmsubscription.com/h/d/5...
Twitter - / _jacurtis
(ask me questions!)
==== QUESTIONS? ====
Leave a comment below and I or someone else can help you.
For quick questions you may also want to ask me on Twitter, I respond almost immediately.
Email me hello@jacurtis.com
Thanks for all your support!

Хобби

Опубликовано:

 

30 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 60   
@agilasadi5044
@agilasadi5044 6 лет назад
hoooly fork, It's amazing to see you back. I follow you on Twitter, but I prefer seeing you on RU-vid. Even if I'm not looking for learning something, I prefer you on the background while working, so I can learn something instead of wasting time. Please keep up the work. I know it's hard, but you have no idea how beautiful things we have been building with the information you shared.
@akarshskeyboardmania9021
@akarshskeyboardmania9021 5 лет назад
Hi alex, so good to see you after a very long time. I just loved your each and every video, they are simply amazing. One thing I want to say that please make consistency in your videos. At least 1 video in every 2 weeks.
@juanrincon6576
@juanrincon6576 5 лет назад
Welcome back! great to see again a new video from you
@Alvi
@Alvi 6 лет назад
Always love to see your tutorials. I think you are one the best tutor out there. I was wondering if you can have some tutorials for laravel with docker
@raynextechnologies4011
@raynextechnologies4011 6 лет назад
You are the best. I learned laravel and php from your tutorials
@idiakosesunday3806
@idiakosesunday3806 6 лет назад
Good to have u back bro
@skarnvy8109
@skarnvy8109 6 лет назад
Welcome Back :) Please make a video about Wildcard subdomains in a laravel project
@Peggysue_zSut
@Peggysue_zSut 6 лет назад
Hurrah!!! He is back... Oh Man.... Good to see you..
@MrAdminFacebook1999
@MrAdminFacebook1999 6 лет назад
Oh man welcome back I missed you so much
@prasantuladhar9872
@prasantuladhar9872 6 лет назад
Advanced Vue + laravel anytime soon?
@user-cs4yq8ii9s
@user-cs4yq8ii9s 6 лет назад
glad to see you!
@niided
@niided 6 лет назад
Hurray , This is great!
@zubayralawwam1956
@zubayralawwam1956 6 лет назад
Hello!!! Great to see you Well Sir!
@ehguacho2008
@ehguacho2008 5 лет назад
actually you spent $ 1.72, not just $ 1.60... that's whole lotta love mate, thnx, we love you too ❤️
@mohammedelamin1563
@mohammedelamin1563 6 лет назад
thnx god !!!!you are alive
@hugomejia7826
@hugomejia7826 5 лет назад
Really, really thanks man, you made it seem so simple that I actually feel dumb, but I'm having right now this exact need, to configure like 3 different environments Dev, test, prod, each one connected to its own branch, so this was absolutely exactly what I needed, cannot say thanks enough! 😀😀😀😀...howevee, just for curiosity, I think (and I saw some other people asking the same thing) that it would be great to see how this work using subdomain wilcards.
@snelinternet4654
@snelinternet4654 6 лет назад
Your video's are awesome!
@yschin5663
@yschin5663 6 лет назад
You are back!
@HkanKurtulus
@HkanKurtulus 6 лет назад
We have been missing you❤️
@ahmedsaid4361
@ahmedsaid4361 6 лет назад
welcome back man miss you :D
@larencesilveri6374
@larencesilveri6374 6 лет назад
finally back. can you make a series using nodejs like project development tutorial series as you do as always.
@rickybarabba7866
@rickybarabba7866 6 лет назад
Very good stuff from Alex Curtis in this video. The multiple domain DNS (both from AWS and Digital Ocean) is a bit misleading and adds a certain degree of confusion. I would have left that out and concentrate more on the single domain case because of the complexity of the topic because of the pre-requisites like Forge, nginx config, DNS git (branching and merging) etc. THANK YOU ALEX.
@ahmedelmasry6666
@ahmedelmasry6666 6 лет назад
Welcome back 😗
@farhadfahri3174
@farhadfahri3174 6 лет назад
Hey, you are back, CMS blog series are we resuming it?
@perfectwebsolutions
@perfectwebsolutions 6 лет назад
Welcome Back
@yaserahmadhasan
@yaserahmadhasan 6 лет назад
thank you man
@tonydevloptutorial169
@tonydevloptutorial169 6 лет назад
welcome back, i want to ask which is the best way to make a laravel classified website. i want in post to add different fields on job post, different on car post, etc. thanks
@krasimirdankov8315
@krasimirdankov8315 5 лет назад
Have you ever considered making series for an e-commerce website. I would definitely watch them if you make one.
@ashishkpoudel
@ashishkpoudel 6 лет назад
i was wondering how would we keep all this with live data and when there is some changes in database
@xseman
@xseman 6 лет назад
Hey! Can you do video about your development setup? Like, your code editor 'Atom' its extension, what software you use.. etcetera :) Thanks!!
@rizwanahmad5290
@rizwanahmad5290 5 лет назад
can you make video for Laravel 5.7 Authentication? I've completed CRUD but having problem for registration and login that can access some selected pages after login
@ousseynoudiagne2557
@ousseynoudiagne2557 6 лет назад
Could you teach us React JS ? You explain things very well and details. Thanks
@amitmeghare2334
@amitmeghare2334 4 года назад
Hey Alex, I am unable to deploy my staging branch files to my subdomain's directory using git hooks. Only master branch files are moving to that staging directory. Please suggest how it could be done without a forge.
@pawanbantawa7651
@pawanbantawa7651 6 лет назад
He is alive 😂
@bcmarcos03
@bcmarcos03 4 года назад
Hello, thank you. It helps. At the end I had a problem with the symlink/storage. I copied the storage paste with all the photos and files. But the "Dev/staging" site doesnt show the photos...
@faryaltoys2338
@faryaltoys2338 5 лет назад
is it possible to let my users to dynamically add a subdomain url on their profile settings. so they could easily let others to view their profile with subdomain link, i am unable to do this in laravel!
@saranyaashokkumar7104
@saranyaashokkumar7104 5 лет назад
Hi, I am using laravel 4.2. I want to do subdomain setup. Based on subdomain, I need to change database connection.... Can anyone tell me how to do this?
@samdeacon7910
@samdeacon7910 6 лет назад
Your videos are really really good. Is there anyone else helping you out with the tutorials / site etc or all alone? Just curious Also..... any chance of a playlist on vue.js and laravel? :) :)
@trantanchung9837
@trantanchung9837 5 лет назад
Hope you resume blog CMS series
@drlucky5474
@drlucky5474 5 лет назад
So, it means that every domain has a separate complete Laravel installation? There is no any files that can be shared between? Thanks
@andiluthor5502
@andiluthor5502 6 лет назад
And you're still alive
@kenxu5721
@kenxu5721 6 лет назад
Finally...
@markbriones4871
@markbriones4871 4 года назад
I follow the process but when I click onto some link/buttons/ or the login button, I am redirecting to the main site. Why is it like that? Please help, I am new to this thing. =(
@Andrea80661
@Andrea80661 6 лет назад
Will you do a series about creating an api with laravel?
@bloggervista
@bloggervista 6 лет назад
long time
@Study-br9ok
@Study-br9ok Год назад
so the intro says the common flow is to create a staging before a beta. Whats the difference between beta and staging server?
@denemedeneme6403
@denemedeneme6403 6 лет назад
Sir, can u make a full laravel app tutorial for version 5.6? From scratch ?
@markbriones4871
@markbriones4871 4 года назад
What about the database? Are they using the same database? How to have a separate database for the beta site?
@ihabhamad8290
@ihabhamad8290 5 лет назад
Can you add some tutrials for laravel nova admin panel
@patrickschocke1140
@patrickschocke1140 6 лет назад
Hey, how do you learned all this? All by self study or did you went to college etc? Thank you 👍🏼
@LV-md6lb
@LV-md6lb 6 лет назад
I remember him mentioned that he is the self-taught person. At the time it took a while for him to learn all this, hence he is doing RU-vid videos and sharing the knowledge with us!
@johnnyvick7190
@johnnyvick7190 3 года назад
Great Video. I followed it but still have an issue. my current site is *.example.com I created a demo.example.com according to your video. But, demo.example.com still keeps displaying *.example.com
@learnwithwaliafrad7834
@learnwithwaliafrad7834 5 лет назад
sir please make a video to dynamic isotop plugin ,,,,,,,,,,,,,,,, please please please sir i was looking for but i don't get any video any where //////////////
@fabiano8888
@fabiano8888 5 лет назад
Where are the videos teaching how to display related posts by tags? I can't find them. I wish there were more videos teaching how to filter posts by category, by tag, most recent and maybe most popular. Thank you!
@parasnshah2899
@parasnshah2899 5 лет назад
Hello sir please make videos for sending sms on mobile using laravel twilio
@fabiano8888
@fabiano8888 5 лет назад
Hey Alex, I have a request if you don't mind. In my opinion, Laravel's official documentation is not clear enough for beginners and lacks example codes. Many times I got stuck and I couldn't even find the answers to my questions on Google because I didn't even know what I was looking for. I believe the same happens to many other people. It can be quite time consuming and really frustrating for beginners. I recommend you would create a solid introductory series where people could at least name all the technologies involved in Laravel and what exactly are they used for. Also all the alternatives we have and why should we should choose one over another depending on the situation. For example, I believe we have at least three different ways to access the database: raw SQL, Query Builder and Eloquent. It's really hard to learn a framework because all that fancy names they come up with, and when you think you learned something they come up with a bunch more. I think that just makes the learning curve steeper. In my example I just mentioned the database part, but these strange names are everywhere in Laravel and every time I read the manuals or watch videos about the subject, I feel like I have more questions than answers. I think that a good way to introduce the subject would be by telling us how you learned everything you know about Laravel, what were your misconceptions, so people wouldn't make the same mistakes if any. Sorry if my comment is a bit lengthy, but I believe my request is valid and would encourage learners. Thanks a lot in sharing your knowledge with us.
@won1626
@won1626 5 лет назад
Request Laravel API Passport, REST API with Vue project.
@RichardOpokuEngineer
@RichardOpokuEngineer 2 года назад
Where is this guy? Anyone heard from him recently?
@TheInitMandem
@TheInitMandem 6 лет назад
20 years later lol.
Далее
5 tips for supercharged Laravel Eloquent queries
16:29
What if my Intel CPU explodes??
14:20
Просмотров 5 тыс.
PhpStorm for Laravel Developers - 3 Hour Full MasterClass
2:35:29
Configuring Settings For Our Laravel-Websockets Server
16:55
Клавиатура для девушек
0:14
Просмотров 4,9 млн
На сколько опасна рыба меч?
0:40
Иваново - город невест
0:20
Просмотров 5 млн
Самый ДОБРЫЙ мальчик!😎
1:00
Просмотров 6 млн