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.