Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Our existing public website consists of a mish-mash of pages with mostly static content and some real web applications that are set up as virtual directories. We're now looking at installing Umbraco, which requires that you install it at the root of the website.

Since the CMS would be at the root of the website, I'm assuming it's a bad idea to run our existing pages and web applications underneath Umbraco (due to the URL rewriting it performs and inheriting web.config settings, etc.) So how do we make everything co-exist peacefully both while we transition to the CMS and after we're finished?

My only idea so far was to set up the CMS and the applications as separate websites and then use some sort of URL rewriting/reverse proxy to make everything resolve correctly:

  • would keep resolving to our old homepage
  • would keep resolving to the old dept1 page
  • would resolve to the new dept2 page on the CMS
  • would resolve to an existing web application
share|improve this question

I've faced this situation several times and unless you're going to set up different sub-domains, e.g.

  • (umbraco)

it is better to install it in the root and set up the other applications as virtual directories/applications. You'll need to edit the configuration files in each of the child applications to add at the top of the relevant sections (connectionstrings,namespace) to stop config cascading and test, test, test.

The URL re-writing is not such a problem, if you add the root folder name of each child application to the umbracoreservedurls / directories.

Its a pain I know - unfortunately that is just the way Umbraco works for now.

share|improve this answer
Neil, thanks for the response. What I'm considering doing now is setting up the subdomains like you mentioned, and then using something like ISAPI rewrite to seamlessly redirect there without the URL changing. Have you tried doing anything like that? – Shea Daniels Nov 6 '09 at 14:49

I second Neil's comments but I'll reply as an answer so that I can format my reply better.

Here's a URL Rewrite 2.0 rule for you:

RewriteCond  Host:  (www\.)?domain\.com
RewriteRule  (?!/domain)(.*)   /domain$2 [I]

Put your site in a folder called /domain. Obviously you can change the URL and folder.

This ensures that anything with /domain doesn't redirect, but everything else does. That allows redirects, and other things that URL Rewrite isn't aware of, to still work.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.