qlaueen's avatar

Deploying Laravel 9 application to BlueHost

Hi Everyone,

I am a beginner. I just created my first complete Laravel application and I want to make it go live. I already have domain and hosting services (domain with Name.com, and BlueHost for hosting). I have been trying to do it the way I learned in school, but it hasn't been successful. What I've tried:

  1. Uploading the files in the cPanel File Manager. It would show 403 Forbidden. I saw some over questions about it, where they say to run a command in to change the preferences. The thing is that I don't have access to a server terminal (because it's a shared terminal. YES, I know shared hosting isn't the best for Laravel. But it's all I can afford at the moment).
  2. Using CyberDuck and SSH to upload the files. Also did not work, same outcome as before.
  3. Using Git to clone the Github repository into the host. It didn't work because it would say that the repository I was trying to add to (public_html) already had files. I don't understand why I can't add more files to that repository?

I am not sure what to do now. I can't find this information anywhere.

0 likes
3 replies
jlrdw's avatar

Have you tried punching into Google:

site:laracasts.com upload to Shared hosting

Also did you search their articles they may have how to articles.

qlaueen's avatar

@jlrdw Yes, I did. Still couldn't find an article that would help me. They're all not updated with the current version of Laravel. Even watched a bunch of Youtube videos.

jlrdw's avatar

@qlaueen the version doesn't matter it would be the same for version 5.1 as Version 9.

You should be able to ssh in with something like putty.

Please or to participate in this conversation.