Answer the question
In order to leave comments, you need to log in
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
There are no technical prohibitions, and there are no legal ones, it seems, either.
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.
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 questionAsk a Question
731 491 924 answers to any question