Need help in hosting laravel dashbord on hostinger subdomain

Hello, I have a portfolio project built with Laravel, where the static pages use Blade templates, and the dashboard is built with React Inertia. I have successfully hosted this website on a Hostinger domain, making it publicly accessible.
For security reasons, I want to host the dashboard on a subdomain. The React/Inertia dashboard, located in [project-name]/resources/js, should be hosted separately from www.example.com and accessible via dashboard.example.com.
I was able to create a subdomain for the dashboard on Hostinger but am struggling to figure out how to host the dashboard there. I have searched for articles and YouTube videos on this topic, but none have been helpful.
Any guidance would be greatly appreciated.
Thank you for taking the time to read this.
1 Reply
Waffleophagus
Waffleophagus2mo ago
So this would be done most likely via your proxy, how are you hosting it on hostinger? Just a VPS? Did you stand up something like NGINX or let Forge do it?

Did you find this page helpful?