S
S
Sergey2016-09-30 22:59:54
linux
Sergey, 2016-09-30 22:59:54

How in apache on port 80 to display the data of the "site" of a different port on localhost?

Gentlemen, there is a server, let's say it has an IP of 123.123.123.123 on port 8000, there is one service that broadcasts to the Internet. Those. I can open it at 123.123.123.123:8000 and see the web interface. I do not know what she broadcasts, because. neither nginx nor apache is in the system, probably something built-in.
I install Apache and I can see the standard page at 123.123.123.123 .
How can I register a virtualhost, config (or something else?) in Apache, so that I can see what is on 123.123.123.123:8000 on 123.123.123.123/sluzhbaname , but referring to the localhost?
Those. on the server i want apache to take data from localhost:8000 and show it to me at 123.123.123.123/sluzhbaname(not just taking, but showing and processing any url, requests, etc.) As a result, the user can open them through 123.123.123.123/sluzhbaname or 123.123.123.123:8000 in the browser and do exactly the same.
Is it possible? In the direction of what to google at least?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir, 2016-09-30
@butteff

Nginx is just a proxy server. Well, or https://httpd.apache.org/docs/current/mod/mod_prox...

B
blackfox24, 2020-02-20
@blackfox24

I think you need to dig in this direction https://www.8host.com/blog/ustanovka-http-servera-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question