Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Defining the root website

  Asked By: Lavanya Mulani         Date: Aug 07, 2009      Category: Sharepoint      Views: 215
 

I have read somewhere (obviously can't remember where :-) ) that you
can configure the SharePoint workspace to point to a root website instead of
connecting to a virtual directory underneath the root website.
E.g. In stead of connecting to http://server/workspace
I would like to connect to the workspace with
just http://server <http://server>

Additionally I would like to host several workspace and provide each with
different host header names (that ain't the problem), but then I would like
to connect to each workspace using just the host header name.
Like: http://hostheadername1 and
http://hostheadername2 each pointing to a
different workspace on the same portal server.

Anyone have an idea on how to configure this?

Tagged:        

 

3 Answers Found

 
Answer #1       Answered By: Rosalinda Merrill          Answered On: Aug 07, 2009       

For the first option, create a default.asp page on the root  directory with
the following ASP code

<% Response.redirect "/workspace" %>

For the second option, try creating a new web site that point  to a directory
with a different default.asp with the same code as below. Not sure it will
work but worth a try

 
Answer #2       Answered By: Yogendra Zarapkar          Answered On: Aug 07, 2009       

The above tip worked great for me.

 
Answer #3       Answered By: Jerad Mercado          Answered On: Aug 07, 2009       

Or use next one

msdn.microsoft.com/.../
dnmsipag/html/msi_pag_chapter6.asp

Configure Redirection to the Workspace
Redirection enables users to navigate to the corporate portal  without having to
know the name of the workspace. For example, if the server  is named CorpPortal
and the workspace  is named Home, a user could then navigate to the site by
typing http://CorpPortal instead of http://CorpPortal/Home.

To configure  redirection

On the taskbar, click Start, point  to Programs, point to Administrative Tools,
and then click Internet Services Manager.
Expand the server node.
Right-click Default Web Site, and then click Properties.
Click the Home directory  tab.
In When connecting  to this resource, the content should come from,
click A redirection to a URL.
In Redirect to, type /workspace_name
In The client will be sent to:
Select the The exact URL entered above check box.
Select the A directory below this one check box.
Select the A permanent redirection for this resource check box.
Click OK.

 
Didn't find what you were looking for? Find more on Defining the root website Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].