Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
279 views
in Technique[技术] by (71.8m points)

web - Is possible connect/inject a server in my localhost?

Is possible to ''connect'' a server in my localhost?

For example: Let's say there is a website, www.xyz123.com, and on this website we have the home page, the numeric ip is 123.1.2.3, would it be possible for me to "connect" and run this website on my localhost? just connect it to my localhost.

So let's say I would go to www.xyz123.com, I go to localhost:80 and I would be on the same site, but it wouldn't be mine, it wouldn't be on my computer, it would be the website itself, just being 123.1.2.3 and at the same time 127.0.0.1, would it be possible to do that?

In a simpler way to understand: Turn my ip into the same ip as the site, or vice versa, to connect to the website through my localhost.

This is just a question I have while thinking about this theory.

question from:https://stackoverflow.com/questions/65911528/is-possible-connect-inject-a-server-in-my-localhost

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...