Upoad Your Laravel Project to Cpanel Step By Step | Namecheap Cpanel

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone this is Yamin and in this tutorial I'm going to show you how you can upload your larabel project to name chip hosting service provider so after logging to the name chip you will see something like this so here you can see a domain name in our election.com so I'm going to upload my larel project to this domain so over here you can see a few option and for this option for the middle on here you can see go to C panel option so I'll just click on it so it will redirect us to the C panel and there you go this is our C panel for name chip and right now if we go down here you can see file manager option over here so I'll just click on it on file manager and after it if you go down garyi public HTML so let's go inside and here we're going to upload our LEL project and in order to upload the larel project we must have our project as zip file okay so I already made my project into a zip uh let me just show you so here you can see this is my La project vot web and here you can see the zip file over here so I'm going to upload this Z file to the name CH so in order to upload it here you can see the upload option so I'll just click on this upload button and then I'll just click over here select file right now we'll just go to our project location and there you can see the P zip file over here I'll just select it then click open and there you go it is uploading so it may take some time so right now I'll just pass for the video so there you can see the upload is complete so right now I'll just click over here and there you go we are able to see the zip file here you can see V web. zip so first of all we need to extract this ZIP file so for it we'll just right click on this uh ZIP file and then here you can see the extract option so we'll click on extract we'll extract our project to this location public HTML so right now I'll click on extract files and it will take a few second and there you go the HT is complete so we can just close this and we can also just delete this Z from here we just delete it permanently and after this here you can see Bo web so we'll go inside the project and right now here at the top you can see select all option so we'll click on select all then here you can see the move option so click on move and we'll choose the location public _ HTML so we'll remove this folder name from here and after it just click over here move files and there you go all the files are moved to the public HTML location so if I now click on this app on level option there you go so those are located in the public HTML okay so right now before we modify anything over here we need to create our database for our project so let's go back to the C panel and right now here if you go down here you can see MySQL databases and PSV so let me just click over here mycale databases so here can see create new database option so here we need to give a database name let's say our database name will be vot web you can give it any name okay so right now I'll just click on this button create database once you click on this button it will create the database in our tkp bweb this will be the database name so let's click on this option go back so we created the database so right now we need to create a user in order to handle the database so if we now go down here you can see mycale user at new user so let's say the username will be same on code web and let's say password will be this one same as the database name in our tkp V wave we'll just past the password over here two times okay so after that after giving the username and password here you can see create user button so right now I'll click on this option create user the page is reloading and a user is created here you can see you have successfully created MySQL username in our tkp pH so right now we can just click on go back so right now what we need to do is that we need to connect the database and user so in order to do that we just go down and here at the bottom you can see we have only on user and only on database over here and after selecting the user and database here you can see the add button so we click on ADD and once you click add it will take you to this space and it will ask for the permission for the certain user to this database so we'll give all privileges we'll just select it and go down and here you can see make Chang this option just click on it it will reload and here you can see you have saved in uh inner tkp V PS to the database okay so right now let's just go back to the C panel again and we'll just go down and here you can see PSC manp if I now click on psmi admin it will open in different tab it will just show us the database so here you can see in a tkp pho and there is nothing in this database table so what you need to is that for the four project for this project we have a database so we are going to upload that SQL file so I already downloaded the SQL file uh let me just show you here I have the SQL file over here you can see so right now what I need to do is that just click on the database and then here you can see the import option just click on import then here you can see choose file so I click on choose file then go to down downloads then pH just select it and then click open and there you can see the database name over here so we'll just go down and here you can see the import option or import button just click on import and there you can see all that table is imported to the database so right now we need to go back to the file manager uh where we have the project so here you can see the public folder but before that uh let me just remind you that we have already created our database over here you can see our database name the database username and password as well so first of all we are going to modify our EnV file so just select it then right click and here you can see the edit option just click on edit then edit again and here we need to give our database name so our database name was this one right so let me just copy the database name contrl c and we need to paste it over here and let me just show you the username the username and database name was the same here you can see so let me just copy this again even though both of them are same but we'll just paste over here and password was also the same thing and for some reason if you just forgot the password you can also change the password form here okay so let's go back and after that here you can see app URL so here we need to give our domain name so where can I get the domain name uh here I have the domain name so let me just copy the domain new from here contrl C let's go to ENB and make sure that you have the HTTP before it so I'll just remove the local post form here and then paste the doain name and after it just click over here save changes once you click it it will show us this success message so we can now just close this so after this what we need to do is that we need to go to our public folder and from the public folder we need to move the index and hxs file from here we just select those two then here you can see the move option click on move and we'll move it to the public uncore h table so just click over here move files so let's go up on level and right now if we just go down here you can see index.php and HDX so let's go inside index.php right click on it then click edit click edit again and here you can see storage and before it we have a slash and dot dot so we'll remove the Slash and dot dot form here then go down for the vendor we'll do the same and for boost app we'll also do the same and after it just click over here save changes and we can just close this so right now let's just go our domain name and our domain name was this on inner el. online so if we just search over here inner el. online and go there so this is our larel website so we are able to upload our larable website successfully to the name hosting service provider so this how you can upload your L project in name I hope this tutorial is useful to you if you have any question or any problem or any confusion just let me know in the comment section make sure to subscribe and I hope to see you in the future tutorials
Info
Channel: Web Tech Knowledge
Views: 1,913
Rating: undefined out of 5
Keywords: how to upload laravel project on cpanel, upload laravel project on cpanel, how to deploy laravel project on cpanel, host laravel project to cpanel, how to upload laravel to cpanel, how to upload website to namecheap, how to deploy laravel on cpanel, how to upload laravel project to subdomain cpanel, how to upload or host your website with namecheap, host laravel to cpanel, deploy laravel project, how to upload laravel project to cpanel subdomain, upload laravel project to cpanel
Id: Ai-703B7i3s
Channel Id: undefined
Length: 10min 18sec (618 seconds)
Published: Thu Mar 14 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.