|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
||||
|
||||
|
NameVirtualHost
We seem to be having a problem with our httpd.conf file, when restarting apache. We're using ver. 1.3.20. The server has an IP address 219.118.81.2 which we host about 30 virtual hosted accounts. Do we need to use the NameVirtualHost with each virtual host IP addess in the httpd.conf or do we just use one NameVirtualHost directive with the server's IP addess:
NameVirtualHost 216.118.81.2 Thanks, Mickalo
__________________
Thunder Rain Internet Publishing Custom Programming & Database development Providing Personal/Business Internet Solutions that work! |
|
#2
|
|||
|
|||
|
>> Do we need to use the NameVirtualHost with each virtual host IP addess in the httpd.conf
Don't understand what you mean. >> do we just use one NameVirtualHost directive with the server's IP addess By default, Apache listens to all available IPs (i.e. 127.0.0.1, 192.168.0.1 and your external IP). You can do that to vhost with NameVirtualHost *. If you want just your external IP, then put NameVirtualHost 216.118.81.2. For each <VirtualHost>, use <Virtual 216.118.81.2>. |
|
#3
|
||||
|
||||
|
Thanks for the info.
![]() After some "lite" book reading last nite, I was able to better understand how it works now. Mickalo |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > NameVirtualHost |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|