Kentico MVC 12 - Configuring Staging Server with Multiple sites

Anna Pengal asked on November 16, 2020 19:03

We have a staging environment and a production environment both with multiple sites and want to sync content between the two using task groups.

Our new production site is an MVC site configured in IIS as baseUrl.com. The admin site for this new website is configured as an application under the main site on IIS to use the "/admin" alias.

When I try to define a staging target server in Kentico following these instructions I get a error on the server service url field with a value of "baseurl.com/admin" that says:

"Response status code: MovedPermanently Moved Permanently"

https://docs.xperience.io/k12sp/deploying-websites/content-staging/configuring-content-staging

How can I resolve this?

Recent Answers


Brenden Kehren answered on November 17, 2020 18:24

I'd suggest modifying the ADMIN alias in IIS and call it something different to avoid confusion. The admin URL would look something like baseurl.com/admin/admin. I'd do something like baseurl.com/cms and give that a shot. Also make sure you don't have some route already setup for /admin or /cms in your MVC app.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.