Getting hosts file to work with mapping domains

I was trying to view a development site by updating my hosts file in windows and it doesn't seem to work. Is that something that is possible?

Thanks!