LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Internal VM development web server running CentOS7 with multiple site directories in /var/www/html setup (https://www.linuxquestions.org/questions/linux-server-73/internal-vm-development-web-server-running-centos7-with-multiple-site-directories-in-var-www-html-setup-4175653957/)

witchkinkofangmar 05-15-2019 11:17 AM

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

rtmistler 05-15-2019 02:19 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 04:21 AM.