Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.

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

Open
mm7wd opened this issue Jun 29, 2022 · 1 comment

Comments

@mm7wd
Copy link

mm7wd commented Jun 29, 2022

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
Copy link
Collaborator

honfika commented Dec 25, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants