Like what we’re doing? Star us on GitHub!

Hosting Next.js App and Payload separately on one server

Arskeliss
3 weeks ago
3

Hello team,



I am following your advice on keeping Next app amd Payload on separate repos, but I am asking whether I will be able to make them work correctly if I host them together on one server?



Basically, my next app will be on

mydomain.com

and payload will be accessed through

mydomain.com/admin

. Would this work without developing them together in one repo?

  • generator101
    3 weeks ago

    Yes

  • minion
    3 weeks ago

    or you can host in subdomain. like.

    sub.mydomain.com/admin

    . thats how I'm doing

  • Arskeliss
    3 weeks ago

    Thank you everyone!

Open the post
Continue the discussion in Discord
Can't find what you're looking for?
Get help straight from the Payload team with an Enterprise License.Learn More