LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Closed Thread
  Search this Thread
Old 05-15-2019, 11:17 AM   #1
witchkinkofangmar
LQ Newbie
 
Registered: May 2019
Posts: 13

Rep: Reputation: Disabled
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
 
Old 05-15-2019, 02:19 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 7,724
Blog Entries: 13

Rep: Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214
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.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Any problem if I install CENTOS7 Workstation over CENTOS7 Server? Rich Strebendt Linux - Software 5 05-03-2018 11:05 PM
block particular web site form multiple site hosted web server and allow others lasantha Linux - Security 2 08-17-2010 01:49 PM
block particular web site form multiple site hosted web server and allow others lasantha Linux - Security 1 08-17-2010 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration