Solved

Apache VirtualHost Binding and NameVirtualHost

Posted on 2001-08-07
3
331 Views
Last Modified: 2006-11-17
What`s the difference between the Apache directive Binding * and NameVirtualHost * ? Can I use them together or are the mutually exclusive ?

In the http.conf there of Apache 1.3.12 is an Binding entry which is commented out. I use VirtualHosts using NameVirtualHost myIP. Do I have to comment the Binding directive in ?

Thanks,
Tassilo
0
Comment
Question by:tequilla
3 Comments
 
LVL 3

Accepted Solution

by:
izwiz earned 100 total points
ID: 6364239
Binding tells apache what IP addresses to Bind onto.  Default is all addresses I believe, this is useful when you have more than one network interface in a machine, or are using it only to develop locally for instance.

NameVirtualHost, controls what interface to use name based virtual hosting on.  * just does all, obviously apache should be bound to an interface you want to use namebased virtual hosting on.

If you only have one network interface just leave 'em both as *.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 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

12 Experts available now in Live!

Get 1:1 Help Now