it seems that part of your message got deleted, would you mind reposting it? In order to prevent sanitization you might want to introduce each line of your code by the tab character.
With the info you entered I would suppose you want to be redirected to
somesite.com upon entering
http://localhost within your web browser, which can be achieved by admin-edditing
%systemroot%\system32\drivers\etc\hosts. However, I'm not sure you wanted that, can you please elaborate?