justcoding121 / titanium-web-proxy

A cross-platform asynchronous HTTP(S) proxy server in C#.
MIT License
1.92k stars 598 forks source link

How to Point all requests for one server to the same port on a different server? #922

Open mm7wd opened 2 years ago

mm7wd commented 2 years ago

Hi! I need a help. Currently I want to point a server to my localhost 127.0.0.1 ip address, how do I do that? For example: Request: hostname is "google.com" Response: url is still "google.com" but ip address is 127.0.0.1 Maybe I said it a bit confusing but I hope someone can help me :D

honfika commented 1 year ago

I think it is easier to add the 127.0.0.1 ip to your hosts file.. you don't need a proxy for this.