Add IIS activity.
49
2/SRI/assignments/3-actividad-iis/3-actividad-iis.md
Normal file
@ -0,0 +1,49 @@
|
||||
# 3. Actividad IIS
|
||||
|
||||
_Nicolás A. Ortega Froysa_
|
||||
|
||||
## Configuración Hostname
|
||||
|
||||
Para configurar un nuevo dominio lo primero que hemos de hacer es abrir el IIS
|
||||
de Microsoft.
|
||||
|
||||

|
||||
|
||||
Luego tenemos que crear un sitio nuevo, y darle el nombre de dominio
|
||||
`prueba.es`.
|
||||
|
||||

|
||||

|
||||
|
||||
Luego tenemos que cambiar el archivo de `hosts` que se encuentra en
|
||||
`C:\Windows\System32\drivers\etc\`. Ahí editamos el documento para redireccionar
|
||||
las peticiones para `prueba.es` a nuestro `localhost` (`127.0.0.1`).
|
||||
|
||||

|
||||

|
||||
|
||||
Después cambiamos el archivo predeterminado de directorio añadiendo una entrada
|
||||
nueva a la lista. Este archivo se debe de denominarse `inicio.html`.
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
Finalmente, reiniciamos el servidor y creamos el archivo de `inicio.html`. Al
|
||||
navegar a `http://prueba.es` nos debe de salir el contenido de este archivo.
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
## Conclusión
|
||||
|
||||
IIS es muy complicado para lo que debería de ser un solo archivo de
|
||||
configuración.
|
||||
|
||||
## Derechos de Autor
|
||||
|
||||
Copyright © 2022 Nicolás A. Ortega <nicolas@ortegas.org>
|
||||
|
||||
Este documento está licenciado bajo las condiciones del CC-BY-ND 4.0
|
||||
Internacional.
|
BIN
2/SRI/assignments/3-actividad-iis/imgs/00-iis.png
Normal file
After Width: | Height: | Size: 109 KiB |
BIN
2/SRI/assignments/3-actividad-iis/imgs/01-crear-sitio.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
After Width: | Height: | Size: 15 KiB |
BIN
2/SRI/assignments/3-actividad-iis/imgs/03-hosts-path.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
2/SRI/assignments/3-actividad-iis/imgs/04-entrada-hosts.png
Normal file
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 115 KiB |
BIN
2/SRI/assignments/3-actividad-iis/imgs/06-agregar-entrada.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
2/SRI/assignments/3-actividad-iis/imgs/07-entrada.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
2/SRI/assignments/3-actividad-iis/imgs/08-reiniciar.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
2/SRI/assignments/3-actividad-iis/imgs/09-archivo-inicio.png
Normal file
After Width: | Height: | Size: 7.4 KiB |
BIN
2/SRI/assignments/3-actividad-iis/imgs/10-resultado.png
Normal file
After Width: | Height: | Size: 4.0 KiB |