Hostinger Shared Hosting subdomain for admin panel
Hello everyone, nice to meet you! Would really appreciate your help if you have the time!
I've chosen Hostinger's Shared Hosting Plan for my project. I've successfully setup the "front-end" with Jetstream on the main domain.
What I'm trying to do:
Use a subdomain exclusively for filament without the need of creating a new project inside the subdomain's directory.
It's worth noting that everything lives within the same app.
What I did:
I've set up the subdomain as an env variable that I've configured within the production env. Not sure is this is the correct way to work in production because it works as expected locally.
I've implemented the UserContract in the User model
The error:
403 forbidden
Below is a snippet of the project's root .htaccess that i've attempted with no luck
I've chosen Hostinger's Shared Hosting Plan for my project. I've successfully setup the "front-end" with Jetstream on the main domain.
What I'm trying to do:
Use a subdomain exclusively for filament without the need of creating a new project inside the subdomain's directory.
It's worth noting that everything lives within the same app.
What I did:
I've set up the subdomain as an env variable that I've configured within the production env. Not sure is this is the correct way to work in production because it works as expected locally.
The error:
403 forbidden
Below is a snippet of the project's root .htaccess that i've attempted with no luck
Solution
Wow I feel like an idiot. It wasn’t pointing to the project’s public folder. Filament is up & running now on subdomain as expected.
Thank you both so much. And sorry for the trouble.
P.d. I will probably be asking more help along the way
Thank you both so much. And sorry for the trouble.
P.d. I will probably be asking more help along the way