Two URL's for same sharepoint application
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
August 16th, 2012 11:02am
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.
Free Windows Admin Tool Kit Click here and download it now
August 16th, 2012 11:24am
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
August 17th, 2012 7:10am
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.
Free Windows Admin Tool Kit Click here and download it now
August 17th, 2012 8:06am
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
August 19th, 2012 1:56am
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.
Free Windows Admin Tool Kit Click here and download it now
August 20th, 2012 8:59am