Internal VM development web server running CentOS7 with multiple site directories in /var/www/html setup
I have an internal development vm server people will use to test their site’s code.
In the /var/www/html/ directory, there are about 15 site directories mounted from a SAN. For this server, no external access is required.
How do you redirect to those directories on one server with one IP?
Should I create A records for all the internal sites so they have their own and attach a virtual nic for each one?
Or should I use .htaccess or httpd.conf to redirect somehow? New to this so any advice or links on how this is done is good. I’m not sure how to phrase searches and can’t find much on my own.
—thanks
|