We are currently setting up some customer test servers what is the best way to get the www.mydomain.info/admin to route to administration console ?
As long as you frontend server is proxying www.mydomain.info domain to the installation, you just have to configure the XP_HOME/config/com.enonic.xp.web.vhost.cfg file to point www.mydomain.info/admin to the admin target.
Here’s an example for mapping www.mydomain.info/admin:
mapping.admin.host = www.mydomain.info mapping.admin.source = /admin mapping.admin.target = /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.