In my host file I have provided this option 
*127.0.0.1 localhost mysite.com* 
so that I can access my localhost site with my custom name (I can access the site directly via typing <http://mysite.com/> in browser). Now issue comes how do I do the same with my VS2008. I want to debug my application with url in the browser like this <http://mysite.com/> . I tried by putting the "http://mysite.com/ " in *Use Local IIS web server* option textbox of my webproject properties build option but I can't run my project with that. Is this compulsory that I have to enter localhost url only in that textbox. Can you help me in fixing the above issue?