locked
Two URL's for same sharepoint application RRS feed

  • Question

  • Hi All,

    We have sharepoint site and we have application build on Infopath 2007 with custom code behind.

    We want if can have two seperate URL's for the same SharePoint site. Its means two different companies will be accessing same application . Only the difference is the pages they access.. like different landing page different CEO's message and related department pages.

    Can we achieve this..Please advise. we are using SharePoint 2007 SP2 


    -- Kind Regards Sandeep

    Thursday, August 16, 2012 2:56 PM

All replies

  • You can easily achieve the two urls for the same application by extending the web application to a second zone.  What you won't be able to do easily is have the two urls have different landing pages.  Extending the web app gives you a different web app that uses the same content database.  Since it uses the same content database everything is the same, including the default landing page.

    Paul Stork SharePoint Server
    MVP Senior Solutions Architect: BlueChip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

    Thursday, August 16, 2012 3:18 PM
  • Hi Paul,

    Thanks for your reply.

    Actually we have requirement to have two separate landing page, as there is two separate firms accessing the same application.

    Please if we create a new intranet site and can we able to access application in primary intranet site.

    So i suppose there will be two separate content database, can login in to 2nd site i will be able to access application in primary site..

    Please advise


    -- Kind Regards Sandeep

    Friday, August 17, 2012 10:53 AM
  • That would depend on how the application was written and what the security settings are on the primary site.

    Paul Stork SharePoint Server
    MVP Senior Solutions Architect: BlueChip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

    Friday, August 17, 2012 11:49 AM
  • Hi Paul,

    My application in infopath basically captures current login to SharePoint site(by using SPWeb and SPSite Objects) and then depending on the login do the rest of business logic.


    -- Kind Regards Sandeep

    Sunday, August 19, 2012 5:51 AM
  • When extending the zone I'm pretty sure the SPWeb and SPSite objects you retrieve will be the same objects no matter which zone url you use.  that's the point of extending the url.  You get the same content on a different address.

    Paul Stork SharePoint Server
    MVP Senior Solutions Architect: BlueChip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

    Monday, August 20, 2012 12:53 PM