4. by using different hostnames (it actually looks up the IP Address that a winmxgroup hostname resolves to, then that is the IP Address it uses thinking that is where the original winmx hostname resolves to when in fact it does not)
5. if your browser kept telling you everything it did...
Warning: you just typed winmxworld.com in to your address bar
Warning: to load winmx.com i am going to connect to 212.227.64.159
Warning: i am now asking 212.227.64.159 for winmxworld.com
Warning: 212.227.64.159 just told me to go to
www.winmxworld.com instead
Warning: i am now going to connect to 212.227.64.159 to get
www.winmxworld.comWarning: i am now asking 212.227.64.159 for
www.winmxworld.comWarning: i have now received a page from the server, this has images in it
Warning: i am now going to load an image from
https://www.winmxworld.com/logo.pngWarning: i am now asking 212.227.64.159 for
https://www.winmxworld.com/logo.pngWarning: .....
ok, i think you get the picture
websites have more than one file on them, and servers almost always have more than one website on it - your browser tells the server which file it wants, and which website it is loading it from, for example it would ask the server for the file /logo.png from the website
www.winmxworld.comfor the update bar in winmx internet explorer connects to the server in control of the website
www.winmx.com (which the hosts file has told it is 212.227.64.159 so it doesn't need to look it up), then it asks the web server for the file /v353/mainbar/index.html (varies depending on winmx version) on the website
www.winmx.com, which the server then sends back - if you type in
https://www.winmx.com/ then it asks the server for the file / on the website
www.winmx.com, which is of course a completely different file - and will result in the server saying "ahh, but that's not here, go to
http://winmx.com/ to get it instead" so your browser will then start again but instead loading the URL
http://winmx.com/clear as a plank of wood? oh well, i give up then
1. it sends the same thing, just that it asks for a different file, you type in
https://www.winmx.com/ which asks for that file, winmx doesn't ask for that it asks for
https://www.winmx.com/v353/mainbar/index.html2. it isn't redirected anywhere, your computer just gets the web page as normal, just that the hosts file saves it finding the server, instead of finding the right server it finds the wrong one and thinks it is the right one
3. probably best to use a different thread for that? but a streaming server (similar to used for web broadcasts) would probably be easiest