Last post Feb 24, 2011 09:08 PM by stiletto
Feb 22, 2011 01:49 PM|karga|LINK
Is it possible to execute files from a different site in IIS than the one that's actually served? My problem is that my webhost allows for subdomains, but couples the subdomain with another folder than the default folder..
When opening domain.com i get the files from public_html on the ftp, but opening test.domain.com gets me the files from the test-folder
I need the subdomain to execute the files from public_html, but the support says that's not possible :( I was hoping some of the brilliant minds in here might have an idea.. I can of course add files and code to the subdomain-directory, but I wouldn't know
what to write in like a httpmodule or something like that
I don't know which security settings that comes into play here, all I know is that the server is running IIS ASP.NET 4.0
Feb 24, 2011 09:08 PM|stiletto|LINK
That forced configuration of "Your subdomains must be child folders of the primary domain." is coming from your provider and will prevent you from sharing code between the primary domain and its subdomains.
I know that other providers allow you to choose where the code should reside for each of your domains and subdomains so you could consider that as an option.