How to organize the web on linux?

Good afternoon. Give advice how to organize web development on Linux.
Recently moved to Linux, installed apache, php7, mysql
and now to create a domain, you have to do a bunch of operations to create, edit configs, set the IP and domain name in /etc/hosts, set right, I need to use the original domain name, not site.loc and a real domain site.ru
because I use authorization through SOC. network. And then go on the website on the Internet, the problem.
Bekapy sites with a script that simply backs up a folder with the site and does a mysqldump of the database.

Maybe there are more convenient ways how to organize it all, on Windows yuzal openserver very convenient to create a domain like this is all done in Linux?
August 19th 19 at 22:41
3 answers
August 19th 19 at 22:43
AMPPS - principle of operation approximately similar to the OpenServer can be difficult because of access rights to the files.
Another option is Vagrant but it is more difficult setting up.
August 19th 19 at 22:45
Such variant will approach?
August 19th 19 at 22:47
now to create a domain, you have to do a bunch of operations to create, edit configs, set the IP and domain name in /etc/hosts to put right

Well, almost the same thing was done in Windows. And in General - welcome to Linux. At first it will be difficult, long and unclear. After a couple of months of active work with Linux, these issues you simply will not arise.

because I use authorization through SOC. network

And then go on the website on the Internet, the problem.

Well then maybe you should buy a real domain and work with real DNS names. All your projects can be placed on subdomains projectN.site.ru.

Find more questions by tags Backing upLinuxWeb Development