4

I have issues with Sitecore Azure PaaS from Sitecore Managed Cloud as below.

  1. We have red-shield which is security shielding for request where we have configured prod domain which is like prd.xyz.com
  2. Then we have Azure web app from managed cloud which has custom domain with name prd-service.xyz.com
  3. We mapped this with DNS. So if go and use prd.xyz.com it goes properly.
  4. But there are few cases where on the pages if we click buttons it is picking up prd-service.xyz.com.
  5. We have all the settings right for Link manager and sitedefinition.
  6. So need a way how I can tackle with any setting for the entire application which will force domain which in the request and in site-definition.
  • 1
    Sounds like either bad config in red-shield or bad config in <sites> config – Mark Gibbons Oct 9 at 5:32
  • 1
    Would be great to update your question with your site definition and also link manager to see the settings that has been made – Peter Procházka Oct 9 at 5:57
  • Welcome to SSE @Nikil . I am Assuming this is a SXA Site, Please share snapshot of your Sites item – Abhay Dhar Oct 9 at 6:52
  • Did you set targetHostName in your site-node in <sites> config? Had a similar problem a few days ago and targetHostName fixed it for me. – anbrue Oct 9 at 13:39
  • @MarkGibbons <sites> node in config is configured properly no issues with that as I am working with Sitecore Managed cloud team they also cross verified this. – Nikhil Kulkarni Oct 9 at 19:01
2

After long discussion with Redshield and DNS Provider we got the answer to this issue which is as below.

  1. We asked DNS provider to create the TXT record for Azure Webapp.
  2. We asked Redshield to point to DNS for only TXT entry created.
  3. Then we added the actual domain which we wanted to use.
  4. And now it is working properly.

Analysis of Mistakes:

  1. Yes as mentioned it was wrong configuration from Redshield side.
  2. We can had a more analysis for this before configuring to Sitecore Azure PaaS.
  3. Always follow the instruction given by Sitecore best practices.
  4. In this particular case always configure actual domain which you want to server on web-app itself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.