THANK YOU. I've deployed several laravel projects across multiple servers but those were all homemade servers with direct access to everything including Apache configs, etc. This was my first time really using CPanel and I for the life of me could not figure out how to get my Laravel project to use routes or use the public/index.php. Thank you, this finally fixed it.
thank you so much for the clear tutorial one thing i created subdomain i did all of this it says This site can’t be reached does the subdomain need time to be activated?
hi, first of all thank you for the tutorial. it's very kind of you. Secondly, I did follow all the steps, but the website and css + js files are not connecting. kindly help
superb tutorial and I easily got to deploy my webapp to my cpanel. Why other tutorial not working? too much complexity, moving file here and there, changing path this and that yet still not working which taking almost 15-30 minutes video duration. This can do this, below than 10 minutes.
Did you use jetstream with? In live server you do not have to npm install & npm run because Cpanel only support nodejs 10 and jetstream require at least nodejs version 12
4:40 I recomment not to display passwords in video, this video part maybe it's possible change to a fog. You give possibility for cyber bad guys for kracking in such way.
In future, whilst the application is in production, if I add new migration and run it locally, do I have to export the database from my local machine and import it on Cpanel?
@@AjithJojo118 : actually it's a bug, but not an error. Because we should keep a unique URL for each page. otherwise, Google will consider it as duplicated content/pages.
@@AjithJojo118 you can forget the htaccess file Follow the steps below Server 1 : Create a folder behind the public_html (root) (ex: project_core) 2 : Move all the stuff from Laravel project (except the public folder and its content) to the folder 'project_core' 3 : Move all the stuff from the public folder to the public_html folder (root) 3.1: open the index.php (public_html) file and change the path of vendor and bootstrap
u are getting localhost means , that for your database .. ur database on the same server .. and u missed the the part of the video ruclips.net/video/WN2hHvxMHTI/видео.html
Hello brother. Hope u alright. I upload laravel project on cpanel. First create folder outside public_html with the name of realestate, where I extract my project. And place public folder inside public_html folder. My all images are showing on the website. But The problem is that when I upload images it never save/upload to public images folder. I don't know how I can solve this issue. Maybe somewhere I need to set path.. Help me to solve the issue.?
can you tell me why the whole project works on web hosting but the chat(chatify) gives 403 access denied? but if in a url to add public / index.php that it works,but not correctly(js). .htaccess in root: RewriteEngine on RewriteRule ^$ public/ [L] RewriteRule ((?s).*) public/$1 [L] public/.htaccess: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^((?s).*)$ index.php?_url=/$1 [QSA,L]
I am getting below error Warning: require(/storage/ssd3/370/16599370/public_html/vendor/composer/../../app/helpers/common.php): failed to open stream: No such file or directory in /storage/ssd3/370/16599370/public_html/vendor/composer/autoload_real.php on line 71
@@AjithJojo118 nd if u having 2 3 projects on subdomains u have to do the same there too: how..? Means to say that you did extract the app withing the public_html...now If I extract other app under public_html then I think i will conflict with previous app.. For other app should I have to create subdomains...?
do u mean u want to host multiple applications inside ur public html folder and inside of some folders ? better for laravel u have to use subdomains ..
htaccess file code codeconia.com/2020/11/17/host-laravel-8-project-on-cpanel-easiest-way/
This really helps me thanks for the video
I will try this once I get home
Bro in c panel when you get our hosting website link
This is the most simple way to deploy a Laravel project in CPanel… thank you 🙌🏻
Out of many tutorials, actually this did work. Thank You!
Glad to know that your problem fixed..
Thank you so much, very clear explanation. I just finished deploying my site. Also subbed
thank you
Informative video, just to make it clear, you should also change the APP_URL to your live domain from .env file.
You are a genius man, So much of a hassle if you do not have softlacous
watch on Speed 1.25x, You are welcome!
Yeah You did it bro, You did it, Bundle of thanks, out of 100s tutorials I find the secure way to do it, Thanks a lot
thanks
THANK YOU. I've deployed several laravel projects across multiple servers but those were all homemade servers with direct access to everything including Apache configs, etc.
This was my first time really using CPanel and I for the life of me could not figure out how to get my Laravel project to use routes or use the public/index.php. Thank you, this finally fixed it.
Thank you so much for this tutorial... it saved me literal hours of searching for solution
Really superb easy. Save a lot of time to modify files or move them.
Thank you chief,,,,, you just saved me a lot of frustration
How to run Commands like php artisan migrate
config:cache etc
Thank you so much my issue is fixed by after htaccess code
step
cool ..
Amazing video. Explained everything perfectly. Thank you!
most welcome bro
HI, is secure put all files includes .env on public_html? Thx!
So helpful!!! Ambali from Nigeria
Subscribed!! God bless you, you have me from frustration am grateful
thanks it works but if you are using laravel 8 downfrade your php to php8.0
the video was created an year ago bro
Worked successfully Thanks brother
Thank you brother, this was very helpful
Mais merci merci !
Thank you a LOT !!! You saved my life !
sweet
Thank you so much bro, It was very helpful for me.
sweet
good explanation - he deserved more subs + 1
thank you
Nice tutorial bro..Love from Nepal.
thanks bro 😊
bro this really works. thank you!
Superb tutorial sir thank you so much for that, also sir upload more interesting laravel packages.
sure. i will upload bro
checkout the latest video about documentation package
and subscribe to get latest videos
@@AjithJojo118 Yes sir
Very straightforward, thanks! 🙏🙏🙏
you save my life bro thank you very much!
thankyouuuuuuuuuuuuuuuu So much brother
thank you so much for the clear tutorial one thing i created subdomain i did all of this it says This site can’t be reached does the subdomain need time to be activated?
hi, first of all thank you for the tutorial. it's very kind of you. Secondly, I did follow all the steps, but the website and css + js files are not connecting. kindly help
superb tutorial and I easily got to deploy my webapp to my cpanel. Why other tutorial not working? too much complexity, moving file here and there, changing path this and that yet still not working which taking almost 15-30 minutes video duration. This can do this, below than 10 minutes.
Glad to hear that bro
Good job mate. Thank you very much !
Thank you so much
Well done 👍
finally youtube understand what i really want insted of some long bullcrap
🥰
Thank you bro, very good !!!
thank you
thanks a lot bro its works perfectly
cool bro
Maan, you are a hero!
does anyone know how to configure public storage after running the app production? thank you
thanks brother.....
Did you use jetstream with?
In live server you do not have to npm install & npm run because Cpanel only support nodejs 10 and jetstream require at least nodejs version 12
yes with Jetstream..
@@AjithJojo118 ok i will try it thank you
in laravel jetstream we have a "node_modules" folder, Should it be uploaded too?
if you run "npm run build" thn u dont need to upload the node modules folder
thanks, worked it. i subscribed
thank you
hats off 🙂 bro
thanks man, it worked
welcome bro
4:40 I recomment not to display passwords in video, this video part maybe it's possible change to a fog. You give possibility for cyber bad guys for kracking in such way.
its auto generated password and after recoding the video i do delete that bro
In future, whilst the application is in production, if I add new migration and run it locally, do I have to export the database from my local machine and import it on Cpanel?
thank u very much, if I want to change the ui and update it should I use the same way ?
yes , upload the updated files
Thanking you Bro..
super..
Best process thanks
I have a question. In the .env file I change one of the variable. And is not reflecting. What should I do to reflect to my site?
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0". I got this error message can u help me ?
Thank you so much 💗🥰
most welcome
It worked thanks alot
glad to know
Thanks
What if my website doesnt use a database? What should I write in .env?
What is i want to deploy inside a folder in public_html
c'est super cool merci bcp
Pls help me
laravel api routes not working on live server
do you have same type of tutorial in which i can clone a project from cpanel to another domain name (cpanel)
great one
thanks
there is a problem on uploading this on a subdomain, please tell me how to fix this
Thanks Really help
Please how can one add ssl certificate to laravel 8 app on cpanel. Thank you
already created a video about getting free ssl bro .. please check the my videos
Superb bro...
thanks bro
@@AjithJojo118 but will it not effect security?
Thanks bady
🥰
Love u brother...
hello am getting
SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected
Thank you sir!
500
Internal Server Error
An internal server error has occured.
i did everything as u told in video but didnt worked
Dear, it is easy to upload it to root public_html. Kindly make video where you upload it to sub folder, or sub domain. Thank You
use the same procedure for uploading to a sub domain
Thank you 💯
Hey Ajith, how should i do it for subdomain for staging
yes
thanks for your vieo , but your explanations was too few and i didn't figure out some parts
how to create a symbolic link, to storage on to public_html
How to run queue?
How to run migration?
But, here we can access the site with "public" url too
do not think that's a bug .. consider as its a feature 😉😉
if you want, you can block the access using htaccess bro 😃
@@AjithJojo118 : actually it's a bug, but not an error. Because we should keep a unique URL for each page. otherwise, Google will consider it as duplicated content/pages.
@@hashikvu5730 thn we can block that using htaccess ..
will update our htaccess file code soon
@@AjithJojo118 you can forget the htaccess file
Follow the steps below
Server
1 : Create a folder behind the public_html (root) (ex: project_core)
2 : Move all the stuff from Laravel project (except the public folder and its content) to the folder 'project_core'
3 : Move all the stuff from the public folder to the public_html folder (root)
3.1: open the index.php (public_html) file and change the path of vendor and bootstrap
example
require __DIR__.'/../project_core/vendor/autoload.php';
$app = require_once __DIR__.'/../project_core/bootstrap/app.php';
I am getting
"Class 'PDO' not found error"
Error 500 whenever there is a call to back-end
Please help
can anyone teach me how to find that file manager?
I tried installing laravel script and i keep getting error 500
same issue here
@@user-qz9dq1xz7h i really wanted to use this
Access denied for user 'myusername' @ 'localhost'....... Why still i am getting localhost here
you forgot to watch this part ruclips.net/video/WN2hHvxMHTI/видео.html
u are getting localhost means , that for your database .. ur database on the same server .. and u missed the the part of the video ruclips.net/video/WN2hHvxMHTI/видео.html
I resolve the error. It was due to wrong user name
@@sohampatel2782 okay cool
after uploading, my data are not getting saved and sweet alert is also not working. How to fix it?
check your php versions
can we upload laravel with inertia in cpanel...?
bro i upload it .....but cloud not find driver .....error comes......how it solve
bro share the details including error screenshot in our forum forum.codeconia.com/
subdomain il upload same way aano
yess
Hello brother. Hope u alright.
I upload laravel project on cpanel.
First create folder outside public_html with the name of realestate, where I extract my project. And place public folder inside public_html folder.
My all images are showing on the website. But
The problem is that when I upload images it never save/upload to public images folder.
I don't know how I can solve this issue. Maybe somewhere I need to set path.. Help me to solve the issue.?
yeah am fine .. hope u are safe too ..
yes that is a path error .. have to check how u defined ur upload paths ..
i am facing one error bruh a saml bug
still access denied!!!🙁
How create laravel project sub domain
same method
mine is giving server error
can you tell me why the whole project works on web hosting but the chat(chatify) gives 403 access denied? but if in a url to add public / index.php that it works,but not correctly(js).
.htaccess in root:
RewriteEngine on
RewriteRule ^$ public/ [L]
RewriteRule ((?s).*) public/$1 [L]
public/.htaccess:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^((?s).*)$ index.php?_url=/$1 [QSA,L]
yes show me the code .. send to my email ajithjojo07@gmail.com
I am getting below error
Warning: require(/storage/ssd3/370/16599370/public_html/vendor/composer/../../app/helpers/common.php): failed to open stream: No such file or directory in /storage/ssd3/370/16599370/public_html/vendor/composer/autoload_real.php on line 71
share me more details ,, will tell u why
@@AjithJojo118 I have email you all the details on ajithjojo07@gmail.com
very noise on your sound
why we need to create .htaccess file...
And if suppose I have 2 3 project then how can I upload it.
we creating the htaccess file to redirect to our public directory. and if u having 2 3 projects on subdomains u have to do the same there too
@@AjithJojo118 Is this .htaccess file access the css js sotrage path which is inside the public folder
@@AjithJojo118 nd if u having 2 3 projects on subdomains u have to do the same there too: how..? Means to say that you did extract the app withing the public_html...now If I extract other app under public_html then I think i will conflict with previous app..
For other app should I have to create subdomains...?
actually the index file inside our public folder is the access point .. we just redirecting users to directly into it using the htaccess file
do u mean u want to host multiple applications inside ur public html folder and inside of some folders ? better for laravel u have to use subdomains ..
👍
✌✌
Index of /
This issue i am facing
add htaccess file
@@AjithJojo118 still have same issue after adding the htaccess file in root folder as per your instruction
where is .sql file how to get that ?
get the sql file from your database manager (if you have any)
404 | Not Found Sir