I'm very new, still did not really understand.
My arms got a dedicated vps server, there are already a few sites, but for myself want to host a website to a real example to understand what's going on, try this website all sorts of usefulness.
On apache server, in the folders sites-available and sites-enabled ordered as written here https://hmil.ru/917/,
began to get an error about infinite redirects (before that was some other error).
The website was flooded with htaccess not understand how to configure, tried different, the result is 0.
Please help. Explain how do to the original setup of the site, how to place it that it is always necessary to specify which files as