how can i upload laravel project to shared hosting cpanel sub-domain? - laravel

I have a domain like abc.com I have created a subdomain math.abc.com
how to upload my project in the subdomain . I am searching in internet trying to do their way but fails . please help me .

how can i upload laravel project to shared hosting cpanel sub-domain?
You should use below link to deploy the laravel application on sub-domain.

Related

How deploy and upload laravel app on a shared hosting(aruba domain)

I have this project in laravel and I want to put in on a aruba domain (I have not c-panel so the tutorial that I found aren't helpful) So I don't know how can I do it , any suggestion?

unable to load images from storage path on shared hosting in laravel 9 and laravel voyager admin

i have a project in laravel 9 with laravel voyager admin panel. my problem is when i am using CLI to launch the app everything is fine but when i upload my website to shared hosting of htdocs (in case of localhost) images from storage folder is not loaded.
You need to locate your photo in the public access folder read Voyager documentation and also you need to keep your statice photo in the separate folder

How can I deploy Laravel and Wordpress together on Laravel Forge?

We are trying hard to deploy Laravel website with Wordpress on Laravel Forge but are unable to do so.
Say, if our domain is example.com, the blog should be example.com/blog. However, what we currently have is blog.example.com, which is not serving the purpose.
It'd be great if someone can help us find a fix for deploying Laravel project with Wordpress on Laravel Forge without changing the URL structure.

Configuring Laravel project in DirectAdmin server

I'm a newbie to Laravel projects but I need to have one accessible over the internet so I tried using DirectAdmin but whenever I go to my domain I get an index (pictures attached).
I renamed the Laravel 'public' folder to 'public_html', is that correct? Here is my file structure.
Here is what I get when I go to my assigned domain which isn't my website at all.
The webpage should look something like this
I also found a laravel app using Softaculous linked here (https://panel.freehosting.com:2222/CMD_PLUGINS/softaculous/index.raw?act=software&soft=419). Am I required to use this app?
At first, you need to learn about the laravel directory structure. You don't need to change the laravel public folder to public_html. I am not sure how the DirectAdmin server works. but if you see a laravel directory instead of serving an application it's might be a path-related issue in your server. your domain should serve your application public folder.
I just found a tutorial for the DirectAdmin server with laravel. that might help.

Can I deploy same Laravel project in main domain and subdomain?

I have developed a news website project using laravel 8x for one domain(main domain) Can I use the same project in subdomain? Main domain project frontend will Bangla language and the subdomain project frontend will English. Is it possible? or do I have to install new Laravel apps for the subdomain project?
Also, database will be different.
Hi There of course you cant use different databases for same Laravel Project unless you make separate installation for each domain and its subdomain.
Indeed You can use localization in Laravel so you will not have to install 2 copies for the same app
More details about localization here : https://laravel.com/docs/8.x/localization

Resources