Valeria Bushueva
Valeria Bushueva

Reputation: 11

Directus on remote server

I have an app on remote server. I use directus of this app and I have a site example.com. I want to make able the route example.com/admin manage content . I try to start directus with command pm2 start npm --start, but I get this enter image description here

Can you help me?

Upvotes: 1

Views: 758

Answers (1)

Shea Lavington
Shea Lavington

Reputation: 505

You would be better off serving Directus on a subdomain (admin.example.com), this will separate the back-end from the front-end. The root URL for the Directus install is the API URL, followed by /admin for the editing interface.

If you have installed Directus under /admin then the API will likely be available at example.com/admin and I believe the interface will be under example.com/admin/admin, which is why I suggest a subdomain.

I generally use mgmt.example, cms.example or similar variations.

Upvotes: 1

Related Questions