Create an entry in the host file of your OS. For Windows 7 it would be located in "C:\Windows\System32\drivers\etc\host".
Add a line like this "127.0.0.1 abc.com"
But keep in mind that if you do that you will always access your localhost until you remove the line again.