System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Is it possible to deploy admin panel on the main link of a domain.

For example:, that opens directyl admin panel?

I tried to configure in server.js:
module.exports = ({ env }) => ({
host: env(“HOST”, “”),
port:“PORT”, 1337),
admin: {
auth: {
secret: env(“ADMIN_JWT_SECRET”, “be8d5723db8f78788c380233539c7d78”),
url: env(“PUBLIC_ADMIN_URL”, “/”),

but it did not worked


I want to replace with

Thank you

Currently it’s not possible to serve the admin panel on the root, I would suggest just creating a meta-refresh index.html to redirect to /admin

You could use a reverse-proxy if that’s available to you.

If you’re deploying in Docker, it’s super trivial using the nginx image. I had to do it anyway to place my /uploads folder under the SPA’s root URL