There is a hosting. One ip selected. It contains several sites. In connection with the interruptions with dns, you need to adjust the address by ip by mask: ip / alias -> folder.
I tried using Alias (Alias / api var / www / api), but for some reason when meeting the url word api (example.com/api) it uses a redirect to the api folder. AliasMatch also does not help.
There are options how to do this?