Moving admin

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
slabbe
Forum Members
Forum Members
Posts: 29
Joined: Wed Sep 28, 2011 1:22 am

Moving admin

Post 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...
Last edited by Dr.CSS on Fri Feb 24, 2012 5:39 pm, edited 1 time in total.
Reason: Please use double quotes on fake links so they aren't clickable...
hasanen
Forum Members
Forum Members
Posts: 38
Joined: Tue Feb 15, 2011 8:44 am

Re: Moving admin

Post 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?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Moving admin

Post by Dr.CSS »

It might help if you can explain why you want to do this...
slabbe
Forum Members
Forum Members
Posts: 29
Joined: Wed Sep 28, 2011 1:22 am

Re: Moving admin

Post 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).
Post Reply

Return to “CMSMS Core”