jueves, 1 de marzo de 2012

Crear un host name para un web application

Hay 3 pasos para crear un host name para un web application en Sharepoint

  1. Agregar el host header al archivo host o DNS. Está localizado en:  Windows > System 32 > drives > etc.
    # Copyright (c) 1993-2009 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    #
    # For example:
    #
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host   # localhost name resolution is handled within DNS itself.
    # 127.0.0.1 localhost
    # ::1 localhostS     #Turned off loopback so these will work: http://support.microsoft.com/kb/926642/en-us/
    127.0.0.1 sharepoint
    127.0.0.1 search.sharepoint
    127.0.0.1 intranet.sharepoint
    127.0.0.1 mysites.sharepoint

    Después ejeuctar: iisreset /noforce


  2. Usar Powershell (this is manadatory) to create the host header site collection:
    New-SPSite http://hostheader.sharepoint/ -OwnerAlias contoso\administrator -HostHeaderWebApplication http://sharepoint

  3. Actualizar el  IIS Bindings:



    1. Edit Bindings
    2. Agregar una entrada para el host headerAdd binding

Hacer un iisreset, y probar de nuevo

No hay comentarios:

Publicar un comentario