Ask a questionAsk a question
 

AnswerHomepage only public page

  • Monday, November 02, 2009 1:54 PMBrent Harvey Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I have an external SharePoint site, say www.example.com.  It has windows authentication, both for local user accounts and AD. 

    I want a main page available to everyone (public) when they type in www.example.com.  Then have a link to www.example.com/default.aspx, the main SharePoint page, which will require users to log in. 

    I'm not sure how to do this. 

    I used SharePoint Designer to create a default.htm file, and I added the following to the Web.Config for this SharePoint instance: 
    ...but no luck. 
    Note: this worked if it wasn't the root directory, e.g. ~/FolderNm/default.htm




    <
    location path="default.htm"> <system.web> <authorization> <allow users="*" /> </authorization> </system.web> </location>

    Worse comes to worse, I'll need to create a new domain name and have the Sharepoint site use the second one. 

    Brent.

Answers

  • Monday, November 02, 2009 3:08 PMDavid Lozzi Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Brent,

    I've done similar. You need to enable anonymous access on the site. The site I setup is www.nerac.us. We have the home page open to the public and a few web parts there as well. Then when you log in, you gain access to the other sub sites and lists.

    You can enable Anonymous Access in Central Admin, then Application Management, then Authentication Providers. Pick your zone and check Enable anonymous access.

    HTH
    David Lozzi
    Delphi Technology Solutions
    Blog  |  LinkedIn | Twitter
    • Marked As Answer byBrent Harvey Monday, November 02, 2009 5:00 PM
    •  

All Replies