Search code examples
iisdnssitecoresitecore6

Sitecore and Non-Sitecore Sites on the Same Domain


We're currently running Sitecore 6.0.0 (090120). Before you ask the obvious question, I've only been with the company less than four months, so I don't have an answer. I've got a part of the site that I want to pull out into its own subdomain. The new site will be an independent dynamic site (most likely ASP.NET MVC) created outside of Sitecore (not using any Sitecore resources), and its content will not be housed in Sitecore. I want to do this so that the new site can have a URL like newsite.mycompany.com, on the same domain as the Sitecore solution, but not part of the Sitecore solution. I proposed setting up the subdomain and using a virtual directory in IIS 6 to house the new site, but I was told that Sitecore won't allow this type of configuration.

Can anyone shed a little light on this subject? Thanks in advance...


Solution

  • If the new site has nothing to do with Sitecore at all, then just set up a whole new site in IIS and bind it to your subdomain.

    Even if the Sitecore site is bound to the default website, by creating a new site you can instruct IIS to route traffic on "newsite.mycompany.com" to your new site. In IIS6, you set this in the "Host header for this Web Site" field in the new site wizard. If the site exists, bring up the properties for the web site, on the "web site" tab click "advanced" and add the subdmoain in the "Multiple identities for this Web site"