[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]
[Hilos de Discusión] [Fecha] [Tema] [Autor]gracias, de hecho si lo agregue en httpd.conf, solo preguntaba si habia que modificar directivas en alguno de los otros que mencione, gracias --- "jcmd en acer com mx" <jcmd en acer com mx> wrote: > > En ninguno de los archivos que mencionas debes > agregarlo en en httpd.conf > en donde tambien viene unos ejemplos de lo que > deseas hacer reiniciar el > httpd y listo, con que siguas lo que mencionas con > la ip 111.22.33.44 que > viene en el ejemplo que pegaste en tu correo sera > suficiente > > Saludos > > On Fri, 1 Feb 2002, Jose Luis Ayala wrote: > > {Hola, antier escribi solicitando ayuda para poner > un > {subdominio en mi servidor principal de dominio sin > {tener que hechar mano de una ip adicional dentro > del > {virtualhost , esto es que tenemos un dominio > {www.dominio.gob.mx y dentro del server que lo > maneja > {queremos añadir un www.sub.dominio.gob.mx, segun lo > {que estuve leyendo en apache.org en la seccion de > {vhosts me pone varios ejemplos, creo que el que > mejor > {queda es este: > { > { * Setup 1: The server machine has one IP > address > {(111.22.33.44) which resolves to the name > {server.domain.tld. There are two aliases (CNAMEs) > {www.domain.tld and www.sub.domain.tld for the > address > {111.22.33.44. > { > { Server configuration: > { > {... > { Port 80 > { ServerName server.domain.tld > { > { NameVirtualHost 111.22.33.44 > { > { <VirtualHost 111.22.33.44> > {DocumentRoot /www/domain > { ServerName www.domain.tld > { ... > { </VirtualHost> > {<VirtualHost 111.22.33.44> > {DocumentRoot /www/subdomain > { ServerName www.sub.domain.tld > { ... > { </VirtualHost> > { > { Apart from localhost there are no unspecified > {addresses/ports, therefore the main server only > serves > {localhost requests. Due to the fact that > {www.domain.tld has the highest priority it can be > seen > {as the default or primary server. > { > {Aun no lo pruebo, estoy en eso, solo tengo la duda > {sobre si debo agregar directivas en hosts, > host.conf, > {o en named.conf. > {De antemano gracias > {Saludos. > {Pepe > { > {__________________________________________________ > {Do You Yahoo!? > {Great stuff seeking new owners in Yahoo! Auctions! > {http://auctions.yahoo.com > {_______________________________________________ > {Ayuda mailing list > {Ayuda en linux org mx > { > __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com _______________________________________________ Ayuda mailing list Ayuda en linux org mx