Web 8.5 - Experience Manager Boostrap URL pointing to localhost, how to change to actual website url?

Nicholas Wetmore 06/12/2018. 1 answers, 106 views
experience-manager web8.5

I have Web 8.5 setup with the latest CD Environment. I am using XPM on DWTs and when I publish a page whose template has the "Enable inline editing for Page" TBB on it. I see the SiteEdit script tag output with the following URL: "http://localhost:80/WebUI/Editors/SiteEdit/Views/Bootstrap/Bootstrap.aspx?mode=js" however, it is clearly pointing to localhost which will only work on the CM server itself. How do I change this to point to the actual website URL?

1 Answers


Nicholas Wetmore 06/13/2018.

This URL is derived from your CmEnvironment as it is defined in the Topology Manager Database. By running the Powershell script "Get-TtmCmEnvironment" you can see the current environment. By running the script "Set-TtmCmEnvironment" you can update the environment.

Example:

PS ExamplePath> Get-TtmCmEnvironment


CoreServiceRootUrl     : net.tcp://localhost:2660
WebsiteRootUrl         : Http://localhost:80
CoreServiceCredentials : "AuthenticationType":"Windows", "UserName":"exampleUser", "Password":"examplePassword"
Id                     : ExampleId
ExtensionProperties    : {}




PS ExamplePath> Set-TtmCmEnvironment -Id ExampleId -CoreServiceRootUrl net.tcp://localhost:2660 -WebsiteRootUrl http://actualpath


CoreServiceRootUrl     : net.tcp://localhost:2660
WebsiteRootUrl         : http://actualpath
CoreServiceCredentials : "AuthenticationType":"Windows", "UserName":"exampleUser", "Password":"examplePassword"
Id                     : ExampleId
ExtensionProperties    : {}

Related questions

Hot questions

Language

Popular Tags