Set up Magento backend on a separate node

Last modified by sashka_ua on Sun, September 4, 2011 13:22
Source|Old Revisions  

This is an old revision of the document!


That is article describes how to handle access to Magento backend, include how to set up backend on a separate node.

Version can be used for such set up: 1.10.X, 1.9.X This will not work for: 1.11.0.0

Change backend path entity

This will change name of path entity used to get access to backend.

Edit “app/etc/local.xml” and change

 # <frontName><![CDATA[admin]]></frontName>

to something you like

 # <frontName><![CDATA[hidden_path]]></frontName>

and then clear Magento cache in backend.

After that backend will be accessible through such URL:

 # http://www.domain.com/index.php/hidden_path

Configure domain for backend access to the same node

If you want just set up different domain for your backend and use, for example, some VirtualHost related features like HTTP auth for your domain, access by IP, you can do this with “Custom admin path”.

WARNING!

it MUST be the same Magento installation with the same document root as for frontend. 
In other case it will break your Magento installation.

Steps:

1. Set

"System->Configuration->General->Web->URL Options->Auto-redirect to Base URL" to "No"

2. Configure VirtualHost. You MUST ensure that Magento is accessible with your new domain. Suppose it’s “admin.domain.com”.

3. Set

"System->Configuration->Advanced->Admin->Admin Base URL->Use Custom Admin Path" to "Yes"

then set

"System->Configuration->Advanced->Admin->Admin Base URL->Custom Admin Path" to "http://admin.domain.com/"

That’s should be full URL with “http://”, admin domain, slash at the end “/”.

Configure backend on separate node

1. Change

"System->Configuration->General->Web->URL Options->Auto-redirect to Base URL" to "No"

- cron - media - cache

Fix broken backend access

Once something went wrong and you cannot get access to admin anymore you can back everything with such steps:




 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs