How to create Sub-domains


Sub-domains are useful when you have a sub-section of your website which is separate from your main site, such as when you have a blog or when you are setting up a new development site for staging. A sub-domain uses the format something.yourdomain.com. They work in exactly the same way as a full domain, and can have their own FTP users, applications, PHP configuration, DNS setup and log files (as well as all the other features of full domains).

To set up a new sub-domain on your account follow the steps below:

  1. Log in to Plesk
  2. Click the "Websites & Domains" tab
  3. Click the "Add New Subdomain" button to add a new sub-domain
  4. Under Subdomain name type the sub-domain name you are adding (eg blog.yourdomain.com)
  5. Set the Document root to your preferred location - the document root is a directory on the server where the domain's files will be stored. We suggest using "/subdomains/yourdomain.com".
  6. Click "OK" to finish.

Sub-domains can be accessed with the same FTP account as your main domain. For example, if your main domain is test.com and you create blog.test.com, you can manage both domains with the main FTP account for test.com. You can also create additional FTP accounts by clicking on Websites & Domains > FTP Access.

Note: when creating a new sub-domain it may take 10-15 minutes before it will start working when you type the new address into your browser (due to the time it takes for DNS updates to take effect).

Помог ли вам данный ответ?

 Распечатать статью

Связанные статьи

How to add and manage Domains

When your hosting account was activated, it was configured with the domain that you specified...

How to manage your DNS records

DNS records control the way your domains and sub-domains work by providing a mapping between the...

Our Nameservers

The domain that you have added and assigned to your hosting package will not work until the...

How to create Domain Aliases in Plesk

Domain Aliases are additional domain names that can be set up to point to one of your existing...