0

I am redirecting a request to local host by editing my host file as such : 127.0.0.1 web-sls.tera.gameforge.com

Now I understood that the request that was previously sent to web-sls.tera.gameforge.com is now redirected to my localhost, but what I don't understand is how I receive this request and answer to it ? Do I simply code a server program that listens to the http port and run it on the same computer that has its host modified ? thanks

2
  • 1
    "Do I simply code a server program that listens to the http port and run it on the same computer that has its host modified" Yes.
    – DavidPostill
    Aug 6, 2016 at 12:16
  • Meh, although it's logic i thought there would be more to it, thanks for confirming. Aug 6, 2016 at 12:29

0

You must log in to answer this question.

Browse other questions tagged .