Right now, I have my DocumentRoot set to /var/www/html
and my URL is domain.com
.
My logical ordering of things is that I have mainpages for domain.com
all located in /var/www/html/{index.html,about.html,...}
. I also have "unrelated" sub-sites which I'd like to link from domain.com/subsite1
domain.com/subsite2
.
Is there any way I can move the domain.com
top-pages to a folder, without having to move subsite1
and subsite2
inside that folder. I also don't want to hard-code any aliases to subsites or to the top-pages of my domain.
Essentially, I want to collect the scattered html files in my DocumentRoot into a folder, but still have them accessible without the URL containing a directory. I also want existing subdirectories of my DocumentRoot to stay where they are and retain the same URL.