Follow the instructions below to place the CodeBehind files in ASP.NET. The location for these files depends upon how your domain is set up.
There are two possibilities:
With this kind of setup, you can place the CodeBehind files in a "bin" folder. And the "bin" folder can then be placed in the respective folders the domain is pointing to.
For example: The CodeBehind files for domain1.com can be placed in the folder domain1 (/domain1.com/bin).
All CodeBehind Files for .NET Applications should be placed in "bin" folder. The "bin" folder should then be placed in the root directory of your server and also the application directory of your domain.
For example: You have a domain named domain-name.com and all the files associated with that domain are in a folder named domain-name. Therefore the path for that folder is: E:\kunden\homepages\XX\dXXXXXXX\domain-name. The path for the root folder is: E:\kunden\homepages\XX\dXXXXXXX\
Place the bin directory in the "domain-name" folder and also the root. Additionally, place the web.config file in the root folder and the application folder.