0% found this document useful (0 votes)
28 views3 pages

Administre Su Servidor

The document provides instructions for configuring virtual hosts on an Apache server to host multiple domains. It includes steps to create new directories for www, servicios, and internet sites, and configure virtual hosts definitions in the Apache configuration file to route requests for different ServerName domains to the corresponding directories. Settings like DocumentRoot, ServerName, and Directory directives are defined for the virtual hosts.

Uploaded by

nicofighte123
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views3 pages

Administre Su Servidor

The document provides instructions for configuring virtual hosts on an Apache server to host multiple domains. It includes steps to create new directories for www, servicios, and internet sites, and configure virtual hosts definitions in the Apache configuration file to route requests for different ServerName domains to the corresponding directories. Settings like DocumentRoot, ServerName, and Directory directives are defined for the virtual hosts.

Uploaded by

nicofighte123
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Administre su servidor

Dns

Servername localhost:80 cambiar a

ServerName www.dominio.com:80

Crear zonas nuevas de servicios e internet

Preparar como instalar y configurar el stio en el apache

Crear www

Wservicios

W internet

Configurar los virtual host

Habilitar “conf/extra

# Virtual Hosts

# If you want to maintain multiple domains/hostnames on your

# machine you can setup VirtualHost containers for them. Most configurations

# use only name-based virtual hosts so the server doesn't need to worry about

# IP addresses. This is indicated by the asterisks in the directives below.

# Please see the documentation at

# <URL:http://httpd.apache.org/docs/2.2/vhosts/>

# for further details before you try to setup virtual hosts.

# You may use the command line option '-S' to verify your virtual host

# configuration.
#

# Use name-based virtual hosting.

##NameVirtualHost *:80

# VirtualHost example:

# Almost any Apache directive may go into a VirtualHost container.

# The first VirtualHost section is used for all requests that do not

# match a ServerName or ServerAlias in any <VirtualHost> block.

<VirtualHost *:80>

DocumentRoot "C:winternet"

ServerName internet.com

ServerAlias www.internet.com

<Directory "C:/winternet">

Options indexes FollowSymLinks Includes ExeccCgi

AllowOverride all

Order allow ,deny

Allow from All

</DirectoRy>

</VirtualHost>

<VirtualHost *:80>
DocumentRoot "C:servicos"

ServerName servicios.com

ServerAlias www.servicios.com

<Directory "C:/servicios">

Options indexes FollowSymLinks Includes ExeccCgi

AllowOverride all

Order allow ,deny

Allow from All

</DirectoRy>

</VirtualHost>

##ErrorLog "logs/dummy-host.localhost-error.log"

##CustomLog "logs/dummy-host.localhost-access.log" combined

##</VirtualHost>

##<VirtualHost *:80>

##ServerAdmin [email protected]

##DocumentRoot "C:/xampp/xampp/htdocs/dummy-host2.localhost"

##ServerName dummy-host2.localhost

##ServerAlias www.dummy-host2.localhost

##ErrorLog "logs/dummy-host2.localhost-error.log"

##CustomLog "logs/dummy-host2.localhost-access.log" combined

##</VirtualHost>

You might also like