RE: [coldbox:12756] Multiple sub-domains with different app settings each

And to add to that, if the sites are all sharing the same ColdBox app, ensure that whatever URL-specific data you are loading is only stored for the scope of that request. You don’t want to actually set Coldbox
settings at the beginning of each request as those are application-scoped and shared with the entire application. If you have too many settings to just stick them all in the request collection, you could abstract it into a service which would cache the settings for all the sites and return the appropriate site-specific setting when you needed it.

Let me know if that doesn’t make any sense. :slight_smile:

Thanks!

~Brad

Thank you Brad,
Good and very important points you mention here!!

Thank you, I will look into scope settings too.

Felipe Serrano