First of all, I have managed this before on another machine using VS 2012 and Windows 8. The only difference I can see with this machine is that I am using VS 2013.
So, I have set up my host file to have this:
127.0.0.1 localhost
127.0.0.1 localhost:3892
127.0.0.1 r3plica.localhost
127.0.0.1 r3plica.localhost:3892
On my working machine the localhost:3892 doesn't exist and it works without it. In visual studio everything is set as default. When I f5 the browser goes to localhost:3892 and everything works as expected.
On my other machine, if I change the URL to r3plica.localhost:3892 the expected website loads and I can still debug it (debugging is what I need to do).
On my new machine if I change to the new URL I get a Bad Request error.
I have searched the internet and can not find the solution, so if anyone has had the same issue, please help me fix it! :D
Cheers,
/r3plica