Hosting Next.js App and Payload separately on one server

default discord avatar
Arskeliss
7 months 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?

  • default discord avatar
    generator101
    7 months ago

    Yes

  • default discord avatar
    minion
    7 months ago

    or you can host in subdomain. like.

    sub.mydomain.com/admin

    . thats how I'm doing

  • default discord avatar
    Arskeliss
    7 months ago

    Thank you everyone!

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.