Page 1 of 1
Moving admin
Posted: Fri Feb 24, 2012 12:01 am
by slabbe
I'm running 1.10.3 in a test environment and I want to know if you know a way that i can set the environment like that:
:
http://www.test.com -> Public side
admin.test.com -> Admin panel
I know I can change the name of the of "admin" in the config, but I want to completely move the admin on a subdomain...
Re: Moving admin
Posted: Fri Feb 24, 2012 7:49 am
by hasanen
I'm not sure if this is the best solution, but you can try if it is working.
Remove the admin directory from path where "
http://www.test.com points.
Create directory for admin site, for example /path/sites/admin.test.com.
Copy all cmsms files there.
Create subdomain admin.test.com and point it to /path/sites/admin.test.com/admin.
Change admin.test.com to config file and maybe /path/sites/admin.test.com too (I don't remember what kind of adminpanel related settings there is). All settings related to public site, might have to be changed too, to same as those are in test.com.
So this is in theoretically, and I have not tested it! I would personally try this first if I had to do same thing. Maybe some from dev team can confirm this?
Re: Moving admin
Posted: Fri Feb 24, 2012 5:41 pm
by Dr.CSS
It might help if you can explain why you want to do this...
Re: Moving admin
Posted: Fri Feb 24, 2012 11:02 pm
by slabbe
Dr.CSS wrote:It might help if you can explain why you want to do this...
My client want to only allow admin zone when you're inside the network. So the vhost "
http://www.test.com" his available from inside and outside visitors and the vhost admin.test.com is only visible from inside the office (on the network).