Apache Warn NameVirtualHost *:80 Has No VirtualHosts Error When Start Apache advertir NameVirtualHost *: 80 no tiene VirtualHosts error al comienzo
When start Apache web server or restart the HTTPD service on web host, the following warning message may appears on console or error log, even though Apache HTTP service can still startup and running fine without error. Al inicio del servidor web Apache o reiniciar el servicio httpd en servicio de alojamiento web, la siguiente advertencia mensaje puede aparece en la consola o registro de errores, a pesar de Apache HTTP servicio todavía puede arrancar y correr perfectamente sin error.
[warn] NameVirtualHost *:80 has no VirtualHosts [advertir] NameVirtualHost *: 80 no tiene VirtualHosts
where * can be asterisk itself (*), hostname or IP address. * donde se puede propio asterisco (*), nombre de host o dirección IP.
Luckily the message is just a warning message and does not affect the functionality of web server, and hence the websites hosted on the server can still be served properly. Afortunadamente, el mensaje es sólo un mensaje de advertencia y no afecta a la funcionalidad de servidor web y, por ende, los sitios web alojados en el servidor puede seguir siendo servido correctamente. The possible cause for this problem’s symptom is incorrect use of NameVirtualHost. La posible causa de este problema es síntoma del uso incorrecto de NameVirtualHost.
When the server, dedicated or virtual private server web host, has only one IP address, websites are hosted by Apache via name based virtual hosting. Cuando el servidor dedicado o servidor privado virtual host web, sólo tiene una dirección IP, los sitios web alojados por Apache a través de nombre virtual basado en el hospedaje. In this case, there should be only one NameVirtualHost been defined. En este caso, sólo puede haber una NameVirtualHost sido definida. For example, Por ejemplo,
NameVirtualHost *:80 NameVirtualHost *: 80
<VirtualHost *:80> <VirtualHost *:80>
servername host servidor de acogida
serverPath /public_html/ serverPath / public_html /
DocumentRoot /public_html/ DocumentRoot / public_html /
</VirtualHost> </ VirtualHost>
The name of one or more virtual hosts (websites’ domain name) is defined by “servername” directive. El nombre de uno o varios hosts virtuales (sitios web "de nombres de dominio) se define de« servidor »Directiva. So if you have more than one websites hosted on a single IP address, you will have one NameVirtualHost declaration and many VirtualHost sections to configure those domains. Por lo tanto, si usted tiene más de un sitios web alojados en una única dirección IP, tendrá una declaración NameVirtualHost y muchas secciones VirtualHost para configurar los dominios.
Beside, try at best to use IPs or * for the NameVirtualHost and <VirtualHost> directives. A lado de, en el mejor de tratar de utilizar direcciones IP o * para la NameVirtualHost y <VirtualHost> directivas. In some cases, where the website is assigned a dedicated IP address where only one virtual host is declared, the NameVirtualHost can even be dropped. En algunos casos, cuando el sitio web se le asigna una dirección IP dedicada que sólo existe un host virtual se declara, el NameVirtualHost puede ser incluso se redujo.
For more example on how VirtualHost supposed to be setup, visit Por ejemplo más de cómo VirtualHost supone que la configuración, visite Apache 2.2 documentation Apache 2,2 documentación or o Apache 1.3 documentation Apache 1,3 documentación (more common version of Apache used currently as most control panel such as cPanel comes with this, although it’s going to be upgraded in cPanel 11). (más común versión de Apache utilizado actualmente ya que la mayoría del panel de control, como cPanel viene con esto, aunque va a ser ascendido en cPanel 11).
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Se trata de una máquina que traduzca la página se proporciona "tal cual" sin garantía. Machine translation may be difficult to understand. La traducción automática puede resultar difícil de entender. Please refer to Por favor, consulte original English article artículo original Inglés whenever possible. siempre que sea posible.
Share and contribute or get technical support and help at Compartir y contribuir o recibir apoyo técnico y ayudar a My Digital Life Forums Mi vida digital Foros .
Related Articles Artículos relacionados
- Request URL /server-status or 404 Page Not Found Apache Error Solicitud URL / server-estado o 404 Page Not Found Error Apache
- cPanel WHM Failed to Receive Status Information From Apache Error cPanel WHM No se ha podido recibir la información de estado de error de Apache
- winnt_accept: Asynchronous AcceptEx failed Error in Apache Log winnt_accept: asíncrona AcceptEx no Error en registro de Apache
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 4 Instalación de Web Server en FreeBSD 6,0 con Apache 2,2, 5,0 MySQL y PHP 5 - Parte 4
- FreeBSD Apache HTTP Accept Filter Error FreeBSD Apache HTTP aceptar filtro de error
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Condición Apache (servidor-WHM-estado) en cPanel WebHost Manager Devoluciones página en blanco
- Starting Apache HTTPD Failed Due to Cannot Open or No Such mod_bwlimited, mod_log_bytes or mod_bandwidth Files A partir de Apache httpd Debido a Error No se puede abrir o No Such mod_bwlimited, mod_log_bytes o mod_bandwidth Archivos
- gmmktime Error in WordPress and MagpieRSS gmmktime Error en WordPress y MagpieRSS
- Subversion (SVN) Issues and Problems on mod_dav_svn in FreeBSD Subversion (SVN) Cuestiones y problemas en mod_dav_svn en FreeBSD
- PHP Parse Error: syntax error, unexpected $end PHP Parse error: error de sintaxis, $ final inesperado

































August 20th, 2007 19:30 20 de agosto de 2007 19:30
[...] people on the web say stuff like ‘change the *:80 to a _default_:80′ or similar - focusing on tricking [...] [...] Las personas en la web dicen cosas como 'el cambio *: 80 a un _default_: 80' o similar - centrándose en engañar [...]
July 10th, 2008 19:05 10 de julio, 2008 19:05
[...] Still, now that I’m running my own VPS, I might as well get it fixed. [...] Sin embargo, ahora que me estoy dirigiendo mi propia VPS, yo también podría hacerlo fijo. So here’s it. Así que aquí es todo. [...]