Answer the question
In order to leave comments, you need to log in
How to set up a VPS?
1) Is it possible to host both a website and a game server on the same VPS? If yes, in what way?
2) What is needed to provide protection against attacks on VPS? And does the hoster provide this protection?
3) What needs to be installed on the VPS for the site to work properly? (MySQL, PHP, Apache). Describe what for what, and it would be desirable links.
Answer the question
In order to leave comments, you need to log in
1) Is it possible to host both a website and a game server on the same VPS? If yes, in what way?Yes, you can (although it is not clear why). The web server will listen on tcp ports, for example, 80 and 443, and the game server will listen on its own (often 2106, 7777, etc.). The game server can also use UDP sockets.
2) What is needed to provide protection against attacks on VPS?You need to know how your server works, where its weak points are. For example, if you're making a lot of complex database queries when you open the homepage of a site, the efforts of the hoster alone are unlikely to help keep your site highly available.
And does the hoster provide this protection?A hoster can protect against high-intensity DDoS attacks (SYN-flood, UDP flood) with the appropriate equipment. From L7 attacks that exploit the nuances of the game protocol, hardly.
3) What needs to be installed on the VPS for the site to work properly?At a minimum, a web server (nginx, for example) is required. The rest depends on the site.
1) Yes
2) Depends on hoster and service package.
3) Everything that your site requires for its work, there are no psychics.
1) Is it possible to host both a website and a game server on the same VPS? If yes, in what way?
yes, you can. there are no restrictions. as a rule installation goes through ssh-client.
but it is better not to do so, for better performance and data safety.
2) What is needed to provide protection against attacks on VPS? And does the hoster provide this protection?
You can set up cloudflare and enable protection against attacks from the host. Yes, the VPS has Ddos protection.
>3) What should be installed on the VPS for the site to work properly?
The usual bundle is: linux, web server, DBMS, php.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question