I have an MVC4 webapplication serving a website. Now I want to use that same webapplication for serving other websites (other URL's) as some sort of whitelabel engine. Essentially I want to use same controllers but customize on header, style and occasionally on content.
I don't want to create variants of the same webapplication. What's the best way to go about this? I was thinking about detecting the URL from each controller and acting upon that. But it feels like detecting the URL could be done higher in the call stack.
Of course, other solutions are welcome as well. I'm basically looking for the most pragmatic way to implement this.