If I want to use subdomains for images, stylesheets and javascripts on my website (like img.domain.com), how would you set it up in Visual Studio 2008 so I am able to debug the website on my local computer?
Is it possible ? and how ?
The webdev server always uses localhost:port, is there anyway to map etc. img.localhost:port to a specific folder in a project ?
Use
%systemroot%\system32\drivers\etc\hostsand map and arbitrary domain name to 127.0.0.1 (i.e. localhost). Then, set your debug action to open a custom URL.(edit in response to comments)
If you need to have different directory structures, you’ll need to complicate the setup a bit. I’d try setting up IIS with a virtual directory pointed at the same content, especially if it’s static (like images).