You only want one line for each IP address. You should already have a line that says: 127.0.0.1 localhost or maybe it has more names after that. Just add a space and the new name you want to map to localhost. So, you may end up with: 127.0.0.1 localhost tab30.com