Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
I would like to only expose "site/umbraco", i.e. backoffice, on a specific subdomain, e.g., "admin.site".
Suggestions are:
Ad 1: This suggestion seems too manual to handle
Ad 2: Seems straight forward...
Before I continue with option 2 I would like to hear about experiences, best practices, and so forth - maybe there is an Umbraco configuration to handle it?!
Thanks
Hi Martin,
Option 2 is good.
This is a good article that describes the process. https://www.digbyswift.com/blog/2015/02/changing-umbracos-backoffice-address/
Regards,
Shaishav
Hi Shaishav
Thank you! I'm having some problems getting the rewrite to work but it's good to know I'm on the right path.
The example given has the following:
<rule name="Restrict umbraco access" stopProcessing="true"> <match url="^umbraco/?.*"/> <action type="CustomResponse" statusCode="404" /> <conditions> <add input="{HTTP_HOST}" pattern="^sub.domain.co/$"/> <!--<add input="{REQUEST_URI}" pattern="^umbraco/Surface/.*" negate="true" ignoreCase="true" />--> <add input="{REQUEST_URI}" pattern="^umbraco/Surface/.*" negate="true" ignoreCase="true" /> </conditions> </rule>
Leaving as is I get access to login on 'sub.domain.co/umbraco', which redirects me to 'sub.domain.co/umbraco#/content' (if i'm logged in).
I tried removing the 'Surface/' but that doesn't work.
I'm publishing, flushing, reseting, and doing anything else I can think of would hinder it working.
Any ideas?!
Regards, Martin
I figured it out! I had overlooked the umbraco/Surface as the default path for calling Surface controllers. Works like a charm! Thank you!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Access backoffice on subdomain
Hi
I would like to only expose "site/umbraco", i.e. backoffice, on a specific subdomain, e.g., "admin.site".
Suggestions are:
Ad 1: This suggestion seems too manual to handle
Ad 2: Seems straight forward...
Before I continue with option 2 I would like to hear about experiences, best practices, and so forth - maybe there is an Umbraco configuration to handle it?!
Thanks
Hi Martin,
Option 2 is good.
This is a good article that describes the process. https://www.digbyswift.com/blog/2015/02/changing-umbracos-backoffice-address/
Regards,
Shaishav
Hi Shaishav
Thank you! I'm having some problems getting the rewrite to work but it's good to know I'm on the right path.
The example given has the following:
Leaving as is I get access to login on 'sub.domain.co/umbraco', which redirects me to 'sub.domain.co/umbraco#/content' (if i'm logged in).
I tried removing the 'Surface/' but that doesn't work.
I'm publishing, flushing, reseting, and doing anything else I can think of would hinder it working.
Any ideas?!
Regards, Martin
I figured it out! I had overlooked the umbraco/Surface as the default path for calling Surface controllers. Works like a charm! Thank you!
is working on a reply...