Subdirectory in virtualhost apache config

June 12, 2014 2.5k views
I've got a virtualhost set up for my root, but I want it to have it like: serverip/folder. How am I suppose to configurate that in my apache? So my root is, but I want to have my website on
1 Answer
Inside of your Apache Virtual Host, you simply need to add an Alias directive:
Alias /app /path/to/app
Have another answer? Share your knowledge.