Installation and deployment
Version 3.x > Installation and deployment > Sub-site View modes: 
User avatar
Member
Member
tim.stokes - 10/22/2008 7:14:37 AM
   
Sub-site
Hi,

We have an existing website (e.g. http://www.example.com) written in ASP .Net 2.0, with various pages (e.g. http://www.example.com/some-function.aspx). We want to provide our users with some static content as well, and we need this to be driven by a basic CMS. But we do not want the whole site to be CMS driven, just a section within it. We want it to be on the same domain, within a "content" folder (e.g. http://www.example.com/content/some-article.aspx would be driven by the CMS, but not the rest of the site).

Is this possible? If so, how do I do this? Would it involve an Alias or Virtual Directory in IIS? Would this cause issues with web configs, and perhaps paths to pages and images?

Many thanks,
Tim

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 10/22/2008 9:08:41 AM
   
RE:Sub-site
Hi Tim,

It is possible to achieve your goal using Virtual directory in IIS. You can define one folder for Kentico CMS and another for your content not driven by CMS as a default folder for your domain.

They will be separated so there shouldn't be any web.config issues.

Best regards
Ondrej Vasil