Mostrando entradas con la etiqueta Host Header. Mostrar todas las entradas
Mostrando entradas con la etiqueta Host Header. Mostrar todas las entradas

sábado, 26 de mayo de 2012

Links útiles #24 Sharepoint 2010

1-Obtener el número total de versiones de todos los items en una site collection

http://jshidell.com/2012/05/21/get-the-total-number-of-versions-for-all-items-in-a-site-collection-using-powershell/

2-Crear un custom action mediante Visual Studio

http://www.sharemuch.com/2011/11/12/adding-custom-actions-in-your-sharepoint-2010-list-item-context-menus/

http://weblogs.asp.net/jan/archive/2007/09/05/using-the-current-page-url-in-the-urlaction-of-a-sharepoint-feature.aspx

http://www.thorntontechnical.com/tech/sharepoint/sharepoint-2010-context-menu-item-with-custom-code

3-Iniciar todos los jobs habilitados

http://get-spscripts.com/2012/05/start-all-enabled-timer-jobs-on.html

4-Licencias de OFFICE WEB APPS (OWA)

http://levinwayne.wordpress.com/2012/05/15/office-web-app-licensing-quick-guide/

5-Saber a qué instancia de w3wp atachar cuando debugeamos con Visual Studio

http://ybbest.wordpress.com/2012/03/22/how-to-find-which-w3wp-exe-to-attach-when-debugging-your-sharepiont2010-project/

6-Convertir a pdf archivos word mediante word services

http://msdn.microsoft.com/en-us/library/ff181518.aspx

7-Disparar un event handler si la ribbon cambia

http://spmonkeypoint.wordpress.com/2012/05/16/trigger-an-event-whenever-the-sharepoint-2010-ribbon-changes/

8-Eliminar un site collection huérfano

http://0ut0ftheb0x.wordpress.com/2012/05/17/orphanedsitecollectio/

9-Administración de content databases con powershell

http://www.mssqltips.com/sqlservertip/2608/managing-sharepoint-content-databases-with-powershell/

10-Remover el host de mysite con client object y powershell

http://www.c-sharpcorner.com/UploadFile/anavijai/remove-my-site-host-location-url-in-sharepoint-2010/

11-Conectar web parts con Visual Studio 2010

http://www.fewlines4biju.com/2011/09/connected-web-part-in-sharepoint-2010.html

12-Multiple dropdown con Infopath 2010

https://www.nothingbutsharepoint.com/sites/eusp/Pages/SharePoint-How-to-Create-Multiple-Cascade-drop-downs-using-InfoPath-2010.aspx

13-Implementar una wiki empresarial

http://www.denisstadler.com/sharepoint-2010/ecm-collaboration/step-by-step-how-to-implement-an-enterprise-wiki/

14-Crear una opción para el panel de refinamiento

http://purunep.wordpress.com/2012/05/25/building-custom-search-refiners-in-sharepoint-2010-server/

15-Custom ADFS Login (forms)

http://blog.helloitsliam.com/Lists/Posts/Post.aspx?List=e10cb685-6b5c-4b6c-aaf4-e1d122d57174&ID=76&Web=8fe3252e-9495-44f1-b2e4-dbd7b201440b

16-Warm-up para autentificación via formularios

http://peterheibrink.wordpress.com/2012/05/06/warm-up-script-for-form-based-authentication-fba-sharepoint-sites/

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

viernes, 17 de febrero de 2012

Host header for Web application Sharepoint 2010

 

Host header (aka domain names or host names) let you assign more than one site to a single IP address on a IIS Web server. In SharePoint context, may you need individual host-named such as http://thuansoldier.net instead of http://thuansoldier/.

When you create new Web application and then create new site collection, you will make difficulties  for end user. They don’t want complicated URL with port number. In this post, I will configure host header via DNS and IIS 7.5. in order to facilitate URL of Web application.  All of them are visual but you can use Windows PowerShell to do this rapidly.

Create new Web application

Open Central Administration > Application Management > Manage web applications (under Web Applications). Click New in Ribbon.

I will select Classic Mode Authentication because I haven’t configured Kerberos yet for fully configuring Claim-based Authentication. Under Name, you can type name of Web application. You should name it simply to remember and manage.  Please notice under Port and Host Header. Because I want to facilitate URL for end-user thus I select port 80. I continue to type URL: portal.ict24h.net.