I need to install a second web application site on a web server and hide the fact that's the same server to user.
So far, I have a web app XYZ that you can access via XYZ.com and which is located on the server somewhere like /var/www/ I need to add another webapp ABC which is located /var/www/abc/ and only permit access to people using the ip address.
www.XYZ.com --> XYZ ( /var/www/ ) 18.104.22.168 --> ABC ( /var/www/abc )
I've absolutely no clue how to do that with htaccess. Any help is more than welcomed !