Previous page | Next page | Locate page |

#### Setting Up Subdomains

To set up a subdomain:

1. Click the Domains shortcut in the navigation pane.
2. Click the required domain name in the list.
3. Click Subdomains.
4. Click Add New Subdomain.
5. Select the required Hosting type and click OK:
   - Select Physical hosting to create a virtual host for the domain.
   - Select Subdomain on subfolder to create a virtual subdomain. Subdomain on subfolder will use physical structure of the domain. The creation of a separate FTP user account will be not possible: the FTP user account of the domain will be used.
6. Type the subdomain name as required. This can be, for example, a topic of a site, organization department, or any other combination of letters, numbers and hyphens (up to 63 characters in length). To add the WWW prefix, select the appropriate checkbox.

   The subdomain name must begin with an alphabet character. Subdomain names are case insensitive.

7. If you are creating subdomain on subfolder, specify the physical location for the subdomain files in the Site home directory field:
   - Clear the Create physical directory for subdomain checkbox and specify the existing directory to the right of httpdocs field. You can click to browse for the required directory, select it and click OK.
   - Leave the Create physical directory for subdomain checkbox selected to create a corresponding physical directory with the same name as the subdomain.
8. If you are creating subdomain with physical hosting, specify the FTP user account for it:
   - If this subdomain will hold a part of your own Web site that you manage on your own, leave the Use the FTP user account of the main domain option selected.
   - If this subdomain will hold a separate web site that will belong to or will be managed by another person, select the Create a separate user account for this subdomain option, and specify the login name and password that will be used for accessing the web space through FTP and publishing web site content. Specify the hard disc quota in the appropriate field in megabytes or leave the Unlimited checkbox selected. When the specified limit is exceeded, you will not be able to add files to the web space, and editing existing files may corrupt them.
9. Leave the Publish site with SiteBuilder checkbox selected to be able to access SiteBuilder and build web site through your Plesk control panel interface. When the Publish site with SiteBuilder option is selected, a site will be created in SiteBuilder.

   All publishing parameters will be set in the paths predefined: for subdomain with Physical hosting - /subdomains/SUBDOMAINNAME/httpdocs/sitebuilder; for subdomain with Subdomain on subfolder - /httpdocs/SUBDOMAINNAME/.

10. If you want to enable Microsoft FrontPage support, select the appropriate checkbox. Enable or disable Remote Microsoft FrontPage authoring by selecting the appropriate option.
11. Specify the programming languages support in the Services group by selecting the required languages. Use select all or clear all to select or clear all of the languages available.

    If the ASP.NET support is disabled on the domain for which you are creating subdomain, it is also unavailable on Subdomain on subfolder. In case the ASP.NET support is enabled on the domain, the ASP.NET is available for subdomain created on a subfolder.

12. To allow you to view the information on the number of people visited the site and the pages of the site they viewed, select a module in Web statistics drop-down menu and select the accessible via password protected directory /plesk-stat/ checkbox, if required. This will install the selected statistical software module, which will generate reports and place them into the password protected directory. The subdomain administrator will then be able to access Web statistics at the URL: https://subdomain.domain.com/plesk-stat/ using their FTP account login and password.

    Note. If subdomain administrator changes the FTP credentials, web statistics access credentials do not change. The original login and password specified upon the subdomain creation should always be used for accessing password-protected web statistics directory.

13. Select the Additional write/modify permissions option if this subdomain's web applications will use a file-based database (like Jet) located in the root of `httpdocs` or `httpsdocs` folders. Please note that selecting this option might seriously compromise the web site security.
14. To complete the setup, click OK. It may take up to 48 hours for the information on new subdomain to spread in the Domain Name System and become available to the Internet users.

To publish web content to the subdomain's web space, follow the instruction presented in the Publishing a Site section.