I would like to see my app when I go to my local root URL (in anonymous mode).

I deleted the Home website from the admin. So currently I have this tree:

Sitecore Tree

my-app.config looks like this:

my app config

However, when I go to my URL I have this error: "The layout for the requested document was not found"

How can I do, to have /sitecore/content/my-app/home as my homepage ?

Thanks!

up vote 4 down vote accepted
  1. Make sure you hostname matches your IIS binding.
  2. When you click on preview, make sure you selected sitecore/content/my-app/home item and not sitecore/content/my-app/
  • Thanks Mohamed ! I changed my hostname to hostName="vue.jss" (same as my URL). And, now I can enjoy my app :) – tomagladiator May 14 at 18:18
  • 1
    FWIW if you want it to be the default homepage for any binding, remove hostName entirely and you'll get it. – Kam Figy May 14 at 20:21

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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