Search code examples
umbracoumbraco6

No template exists to render the document at url '/'


In Umbraco, why does one get this error on a new deployment or machine that is pointing to an existing umbraco database and existing content?

Page not found

No template exists to render the document at url '/'.

In addition, no template exists to render the custom 404.

This page can be replaced with a custom 404. Check the documentation for "custom 404".

This page is intentionally left ugly ;-)


Solution

  • The reason it was doing that was because the domain name wasn't setup correctly. I was using a custom domain to host the site, and umbraco was obviously not matching the incoming request to a site in the CMS.

    By going to the Site and right clicking -> Culture and Hostnames, I could set the hostname.

    As per this answer: Umbraco configured with IIS 7 having hard time with the site URL?

    Did you set your hostname in Umbraco?
    
    Right click on the site root in your solution and click "Culture and hostnames"
    

    right click

    Fill out your hostnames and save
    

    culture and hostnames