Solved

Multiple virtual host configuration in apache

Posted on 2011-03-16
1
329 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
1 Comment
 
LVL 32

Accepted Solution

by:
shalomc earned 500 total points
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now