J
J
john_chees72019-04-26 19:00:45
linux
john_chees7, 2019-04-26 19:00:45

Is it possible to host a site and a proxy on the server at the same time?

Is it possible to keep a website on the same server and use the server as a proxy or VPN?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
R
Rsa97, 2019-04-26
@Rsa97

There are no technical prohibitions, and there are no legal ones, it seems, either.

Y
Yuri Samoilov, 2019-04-26
@takezi

Can

D
Dimonchik, 2019-04-26
@dimonchik2013

and shell

A
Alexey Cheremisin, 2019-04-26
@leahch

In fact, that's what they usually do. They place an nginx type proxy that redirects requests to internal / external sites, virtual machines and containers. And the proxy itself can also live in a container and in a virtual machine.
If everything is done within the same system, and you don’t bother with virtual containers, then nginx hangs on the 80th port, and the rest of the sites sit on other ports like 8000-9000, etc. And usually they are hung up on a localhost.
And yes, you can raise the VPN.
I usually put everything in containers or virtual machines. And it’s easier to manage and subsequently distribute to a bunch of servers, and security increases if one service-container-virtual is hacked, then others will not suffer. Yes, and backup is much easier.

A
alex1478, 2019-04-29
@alex1478

It is possible, but personally I would not advise:
1. Anonymity. The site administrator will be able to get your site by your ip and possibly find out more information about you than you would like to tell random people about yourself.
2. Some sites check for open port 80 for visitors, and if it is open, they consider you a bot and generally suspicious, respectively, requiring you to solve captchas at every step.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question