Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

hadiswais's avatar

Laravel dashboard & Apis with Nextjs and vercel

Hello Everyone,

I Have Laravel Project is a (Dashboard with blade and APIs) hosted in aws ec2 and the Front-End for this project is in Nextjs hosted in Vercel

I want to make my website work like this

dash.example.com/*   -> for Laravel admin panel
api.example.com/*    -> for Laravel APIs 
example.com/*           -> for serve Nextjs

for now I make Vercel to point to example.com/* and i add subdomain and pointed to dash.example.com/* in nginx with a records but still not achieved my point

0 likes
2 replies

Please or to participate in this conversation.