How to route to administration console

We are currently setting up some customer test servers what is the best way to get the to route to administration console ?

As long as you frontend server is proxying domain to the installation, you just have to configure the XP_HOME/config/com.enonic.xp.web.vhost.cfg file to point to the admin target.

Here’s an example for mapping =
mapping.admin.source = /admin = /admin

Also, make shure that enabled = true is set in the same file to enable vhost mapping.


Thanks, Just what I was looking for.

I think this could be smart to add in com.enonic.xp.web.vhost.cfg as an example because I think “everyone” is looking for something like this.


Yea, I totally agree.
I’ll try to get in in to the example and the documentation.

1 Like