Solved

Multiple virtual host configuration in apache

Posted on 2011-03-16
1
337 Views
Last Modified: 2012-05-11
Hi,
I am configuring apache with multiple virtual hosts and multiple apache instances running on the same unix box.
I have the following design, appreciate if someone can validate if this is the correct way or there are any potential errors in this
Apache instance 1
         domain.tld(10.3.11.106:80 - main site)
        legacy.domain.tld(10.3.11.107:80xx) - VirtualHost
       Proxy.domain.tld(10.3.11.108:80yy) - VirualHost
      oldsite.domain.tld(10.3.11.109:80zz) - VirtualHost
     onemoresite.domain.tld(10.3.11.110:80aa)VirtualHost


Apache Instacne 2
         domain2.tld(10.3.11.106:80bb)-main site

I am using IP based virtual hosts.
Can I use port 80 for all the virtual hosts. Docroot are different for all the Virtual Hosts.
Appreciate input from experts.

Thanks


0
Comment
Question by:Mohit_t
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 33

Accepted Solution

by:
shalomc earned 500 total points
ID: 35160504
There are three methods to have virtual hosts in apache.
Host name, IP address, and port.
As all your virtual hosts seem to have different names, it seems that you can use port 80 for all of them.

The allocation to different IP addresses is more a question of balancing the network load between cards, or serving different network segments.

 
0

Featured Post

Turn Insights Into Action

You’ve already invested in ITSM tools, chat applications, automation utilities, and more. Fortify these solutions with intelligent communications so you can drive business processes forward.

With xMatters, you'll never miss a beat.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
What You Need to Know when Searching for a Webhost Provider
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question