Skip to main content

SitecoreAI · Tutorial

Pointing a Local Site at Your Local Rendering Host

Fix Pages opening the wrong rendering host by setting the editing host on the Site Grouping item.

gavAusWeb1 min read

You've got a site in your local Docker CM, you open it in Pages, and the editor loads against the wrong rendering host, or even a cloud one. Your local code never gets a look in.

Set the editing hostLink to this section

Open the site's Site Grouping item (Settings › Site Grouping › your site) and set Predefined application editing host to LOCAL. That's the rendering host defined for local Docker.

Multiple sites, multiple portsLink to this section

If you run more than one site locally, each needs its own rendering host port. Map them on the site definition:

  • Target hostname: xmcloudcm.localhost
  • Hostname: xmcloudcm.localhost|localhost:3002 (pipe-separated, use your site's port)

Save, publish if needed, then reload Pages. It should now open against your local rendering host.