I am setting up Commerce in my IIS environment. Right now I have it listed as a separate site that the CMS application accesses. Instead of using an actual domain though, I reference the server name and the port of the web application in the cms web.config. The problem is that if I was deploy this to a separate environment, I would need to create a transform for each machine so that it points to the right location. Is there any way of setting up Commerce as a sub application under the main Cms website's application so that I can reference it via the Cms site itself instead of it's own domain.
Current setup:
Cms: site.domain.com
Commerce: site.commerce.domain.com (on port 8012)
Cms Config
<add key="CommerceManagerLink" value="http://host:8012" />
Desired setup:
Cms: site.domain.com
Commerce: site.domain.com/commerce
Cms config:
<add key="CommerceManagerLink" value="http://site.domain.com/commerce" />