Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7912525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:37:52+00:00 2026-06-03T13:37:52+00:00

I have an Umbraco site on the root. It’s working fine. I need to

  • 0

I have an Umbraco site on the root. It’s working fine.

I need to be able to serve static (not ASP.NET) content from IIS, eg /foo. (/foo maps to a different folder structure than the main app, eg:

www.example.com     -> d:\sites\example.com
www.example.com/foo -> d:\sites\static\foo
www.example.com/bar -> d:\sites\static\bar
  • I can setup an IIS application, but then I inherit the parent applications web.config, and as this is static content, it has none of the dlls etc needed (and shouldn’t have them!)

  • I can setup an IIS virtual directory, and add in the various bits into the web.config to tell Umbraco NOT to use the folder (umbracoReservedUrls, umbracoReservedPaths). This works, however it is still running as the main ASP.NET application, and I’d much prefer it to be only static (ie, no .NET runtime allowed)

Neither is ideal, as we may have a few of these, so will need to script all the creation. Editing 4 web.config files (in a web cluster) isn’t ideal.

What I’d like is:

  • Make a virtual directory (or app) pointing to the right place. Tell IIS to serve it up as static content. If I have to drop a web.config into the folder (/foo), telling it to not load anything at all, that’d be fine (I can then use a non-.NET app pool)

Everything I search for comes up with a “nope, can’t be done”. Did I miss something?

[edit]

Just to clarify, I’m not needing a CDN — we have one. I just want to have /foo to be it’s own folder, with a bunch of html/css/images (eg /foo/index.html, /foo/images/logo.png), which are served up to the user, but not via umbraco — just via IIS.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T13:37:53+00:00Added an answer on June 3, 2026 at 1:37 pm

    I never found a good solution to this, so we ended up just putting it on a seperate domain, and using UrlRewriting to redirect the user to that other server.

    Not perfect, but it does work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a .net user control to add some opinions nodes to umbraco content
I'm working on a new data type for an Umbraco site and have been
I have a asp.net website in the umbraco cms, there I can use razor
I have an ASP.NET site which I'd like to add page-level comments to without
So I have an umbraco setup with a 'content' root node and then a
We have an Umbraco site in a load balanced environment and we need to
not sure if many of you have used Umbraco before, the .net based CMS.
I have an Umbraco 4.7.x project (.NET 4.0 webforms) where I want to compress
I have an umbraco project with a masterpage (with it's own content type) and
I have an umbraco macro that spits out the content of the page at

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.