[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]
[Hilos de Discusión] [Fecha] [Tema] [Autor]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