Jul 13, 2016 at 10:06 AM
Edited Jul 13, 2016 at 10:20 AM
My Ops team has informed me of a new requirements while moving to a different hosting provider.
- all admin acccess must be done on domain admin.mydomain.com
- all front end pages must be displayed on
www.mydomain.com, including e.g. all published "View" links on the admin side
- all access, both front end AND admin access must be on https
- if it's relevant, all SSL is terminated at the switch, however, the admin.mydomain.com can run on a different port
It's No.2 that i am struggling with.
Currently if i hover over the "View" link on the admin url, it goes to admin.mydomain.com/blah/blah, not
Also, I'm wondering how other things might be affected by having a different domain on the admin side, like inserting content item links, media etc. and whether any of this (or other stuff) will mean links on the front end getting admin.mydomain.com instead
What's the correct way to resolve this problem?
I was really hoping that the BaseUrl setting might determine all the content links, but it's already set to
, so that doesn't seem to have any effect here as it just writes out a relative url.
I also tried using the SSL module, in the hope that it would rewrite the links appropriately, but the "View" links are still all set to admin.mydomain.com/blah/blah
We cannot afford any content links in the admin side to have the admin domain, because our content editors love to copy and paste urls.
What is the correct way to solve this problem?
My brain is wandering off to nasty hacks like intercepting the port in the url and rewriting it in some kind of hack to e.g. the displayroute metadata.
There must be a better way?
footnote - all admin acccess must be done on domain admin.mydomain.com because Amazon ELB does not support redirecting based on the URL.