Basically i want to be able to type in http://mysites and it show me my localsite rather than typing in http://localhost:8080/?
I intend to do it a few times like ht
You can't set port with hosts file... You'll just need to access the sites as http://mysites:8080, mysites:8081, etc.
To do that, add an entry to your hosts like
127.0.0.1 mysites
(hosts is typically located at C:\WINDOWS\system32\drivers\etc\hosts)