cancel
Showing results for 
Search instead for 
Did you mean: 

Setup admin backend on a subdomain

Setup admin backend on a subdomain

Hello,

 

I am trying to create a setup where my main store is on www.mystore.com (behind a google cloud load balancer)

 

I would like to create another machine that has the admin accessible via subdomain,

 

admin.mystore.com

 

I am having trouble doing so. I tried to go into the Magento configuration > advanced > admin and set

 

Use Custom Admin URL: http://admin.mystore.com/

Use Custom Admin Path: <leave blank>

 

in my env.php I have my admin front, set us admin.

 

So I'm trying to access via http://admin.mystore.com/admin

but I am having a lot of redirect issues and this does not seem to be working properly.

 

Any ideas, if this is the right configuration to or should I be doing it elsewhere? Hoping it is possible.

 

Thanks!

 

 

 

 

 

1 REPLY

Re: Setup admin backend on a subdomain