Solved

Apache VirtualHost Binding and NameVirtualHost

Posted on 2001-08-07
3
330 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 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

16 Experts available now in Live!

Get 1:1 Help Now