A
A
Andrey Shubin2015-02-09 15:59:32
Nginx
Andrey Shubin, 2015-02-09 15:59:32

How to organize sites on VDS and access to them?

Hello!
I decided to move from hosting to VDS, and I got a little confused on how to place sites on VDS and provide access (for example, via ftp) to a user or group to a specific site.
Actually, I can’t decide whether it’s worth creating a user for each project (site), or making a separate user in whose home folder all projects will be (and there is already access via FTP of the form “user-project folder”), or in general, projects should be stored somewhere in /var/www?
How should one organize servers of this kind? Advise good practice, please.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
K
kompi, 2015-02-09
@idegree

Remote control - ssh by keys, rsync / git - for uploading new content / changes.
If you really need ftp, for example, you can use vsftpd.
And quietly learn something like ansible for quick deployment according to the template for the future.
If users are untrusted persons, it is possible to chroot at the level of services that support it.

I
Ilya T., 2015-02-09
@Insaned

vestacp.com - free and nothing like that

S
Sergey, 2015-02-09
@gangstarcj

Be sure to each site has its own access, its own ssh ftp, its own mysql user. Security rises

P
Puma Thailand, 2015-02-09
@opium

Yes, start for each individual user and do a suekzek, in fact, it’s easier to put a control panel on the same executive manager light with a perpetual license for about 20-30 bucks. don't be ashamed to pay once.

A
Arthur, 2015-02-09
@TheSunwave

ajenti.org - also free

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question