You can use top-level Web site (top-level Web site: The default, top-level site provided by a Web server or virtual server. To gain access to the top-level Web site, you supply the URL of the server without specifying a page name or subsite.) and subsites (subsite: A complete Web site stored in a named subdirectory of the top-level Web site. Each subsite can have administration, authoring, and browsing permissions that are independent from the top-level Web site and other subsites.) to divide site content into distinct, separately manageable sites. Top-level Web sites can have multiple subsites, and subsites can also have multiple subsites, down as many levels as your users need. The entire structure of a top-level Web site and all of its subsites is called a Web site collection (site collection: A set of Web sites on a virtual server that have the same owner and share administration settings. Each site collection contains a top-level Web site and can contain one or more subsites.). The following diagram shows this hierarchy of sites and subsites.
This hierarchy allows your users to have a main working site for the entire team, plus individual working sites or shared sites for side projects. Top-level Web sites and subsites allow different levels of control over the features and settings for sites.
The administrator of a site collection can control settings and features for both the top-level Web site and any subsites beneath it. For example, an administrator of a site collection can:
- Add, delete, or change user permissions.
- View usage statistics.
- Change regional settings.
- Manage Web Part (Web Part: A modular unit of information that consists of a title bar, a frame, and content. Web Parts are the basic building blocks of a Web Part Page.) and template galleries.
- Manage Web discussions and alert (alert: A feature that notifies a user by e-mail when there is a change to an item, document, list, or document library on the Web site.).
- Change the site name and description, theme, and home page (home page: The main page of a Web site. A home page usually has hyperlinks to other pages, both inside and outside the site.) organization.
- Configure settings, such as regional settings, for the top-level Web site and all subsites.
The administrator of a subsite can control settings and features only for that subsite, and the administrator of the next subsite down can control settings and features for only that subsite. For example, an administrator of a subsite can:
Allowing Users to Create Their Own Top-Level Web Sites and Subsites
Depending on the amount of customization and control you want to allow your users, you can let them create either top-level Web sites or subsites. The Self-Service Site Creation feature gives users the ability to create top-level Web sites on their own. For more information, see Configuring Self-Service Site Creation.
Users can also create subsites of any site for which they have the Create Subsites rights (rights: File-level and folder-level permissions that allow access to a Web site.). The Create Subsites right is included in the Administrator site group (site group: A custom security group that applies to a specific Web site. Users are assigned to site groups to grant them rights on a SharePoint site.) by default, so any member of the Administrator site group for a site can create a subsite of that site. You can assign this right to other site groups by using the Manage Site and Workspace Creation page. For more information about managing site and workspace (workspace site: A subsite based on the Document Workspace or Meeting Workspace site templates.) creation, see Managing Site Groups and Permissions.
Creating Top-Level Web Sites for Users
You can give users the ability to create their own top-level Web sites by enabling Self-Service Site Creation. If you want to control top-level Web site creation yourself, however, you can disable Self-Service Site Creation and create top-level Web sites on your users' behalf from SharePoint Central Administration. To create a top-level Web site outside of Self-Service Site Creation, you must be an administrator of the local machine on which the site will reside or a member of the SharePoint administrators group.
Note When you are running a server farm with multiple host names or are in Active Directory account creation mode, you cannot create a top-level Web site from SharePoint Central Administration. To perform this action in Active Directory account creation mode, you must use the command line or object model. For more information, see Using the Object Model to Manage Windows SharePoint Services.
Create a top-level Web site from SharePoint Central Administration
- Click Start, point to All Programs, point to Administrative Tools, and then click SharePoint Central Administration.
- Under Virtual Server Configuration, click Create a top-level Web site.
- On the Virtual Server List page, click the virtual server (virtual server: A virtual computer that resides on an HTTP server but appears to the user as a separate HTTP server. Several virtual servers can reside on one computer. Each virtual server can have its own domain name and IP address.) under which you want to create the top-level Web site.
- To create a site under a predefined Uniform Resource Locator (URL) (Uniform Resource Locator (URL): An address that specifies a protocol (such as HTTP or FTP) and a location of an object, document, World Wide Web page, or other destination on the Internet or an intranet. Example: http://www.microsoft.com/.) path for the virtual server, on the Create Top-level Web Site page, select Create site under this URL; in the Site name box, type the name for the top-level Web site; and then in the URL path box, select the path to use.
The name and URL path are combined with the server name to create the full URL to the site. For example, on http://servername, if you create a top-level Web site at the /sites URL path, and use Site001 as the name, the full path to the new top-level Web site is http://servername/sites/site001.
- To create a site at a predefined URL path, select Create site at this URL, and then in the URL path box, select the URL to use for the top-level Web site.
The site is created at the top level of the URL path you select. For example, on http://servername, if you select /portal as the path, the site is created at http://servername/portal.
- In the Site Collection Owner section, type the user name (in the form DOMAIN\username) and e-mail address (in the form firstname.lastname@example.org) for the user who will be the site owner and administrator.
- If you want to identify a user as the secondary owner of the new top-level Web site (recommended), in the Secondary Owner section, type the user name and e-mail address for a secondary owner and administrator of the new site.
- If you are using quota (quota: A value that limits the amount of storage or number of users for a Web site.), in the Quota Template section, select a quota template (quota template: A predefined set of quotas to apply to a site or to all sites on a virtual server.) to use.
- In the Site Language section, select the language to use for the top-level Web site.
- Click OK.
The site owner can select a template for the site when first browsing to the URL, or you can browse to the URL on the confirmation page and select one yourself. You must alert the site owner and secondary owner when you have created the site with the URL. They are not notified automatically when you create a site.
You can create a subsite of a current site by using the Manage Sites and Workspaces page.
Create a subsite
- On a site, click Site Settings.
- Under Administration, click Manage sites and workspaces.
- On the Manage Sites and Workspaces page, click Create.
- On the New SharePoint Site page, in the Title and Description section, type the title and description for the new subsite.
- In the URL name box, type the URL for your subsite.
- In the User Permissions section, select either Use same permissions as parent site or Use unique permissions.
Select Use same permissions as parent site if you want to share users with the parent site, or Use unique permissions if you want to maintain a separate list of users for your subsite. For more information, see Managing Site Groups and Permissions.
- In the Language section, select the language to use.
- Click Create.
- On the Template Selection page, select a template to use, and then click OK.
Creating Sites and Subsites from the Command Line
If you are an administrator of the server computer, you can also create sites and subsites by using the Stsadm.exe command-line tool. To create a top-level Web site, use the createsite operation. To create a subsite, use the createweb operation.
Note You can also use the createsiteinnewdb operation to create a top-level Web site and a new content databases (content database: The Microsoft SQL Server or WMSDE database that contains the content for one or more SharePoint sites.) at the same time. For more information about this operation, see Command-Line Operations.
The createsite operation takes the following required parameters: url, ownerlogin, owneremail, and the following optional parameters: ownername, lcid, sitetemplate, title, description, and quota. For example, to create a top-level Web site called site1 on http://server_name/sites, you would use syntax similar to the following:
stsadm.exe -o createsite -url http://server_name/sites/site1
-ownerlogin <DOMAIN\user> -owneremail <email@example.com>
-ownername <display name>
The createweb operation requires the url parameter and takes the following optional parameters: lcid, sitetemplate, title, description, convert, and unique (used to specify unique permissions for the subsite). To create a subsite called subsite1 under the site you just created, you would use syntax similar to the following:
stsadm.exe -o createweb -url http://server_name/sites/site1/subsite1
For more information about using the createsite and createweb operations, see Command-Line Operations.