How to redirect subdomain locally on my computer without modifying the code?
Let's say, subdomain 'static.company.com' should be redirected to 'localhost/static'.
I forgot to mention that I had WAMP installed. WAMP already have 'alias directories' that do exactly what I needed - redirect URI to the folder on local server. There is a command-line interface where you should set URI (in my case, multimedia) and /path/to/the/folder/on/the/server/.
You can find this post http://www.itsananderson.com/2009/01/wamp-alias-directories/ useful also if your URI doesn't have slash(/) at the end.