Subdomains¶
A subdomain is a website of its own below one of your domains — for example
blog.your-domain.com or shop.your-domain.com. It gets its own directory and
can run a different PHP version from the main site.
Overview¶
| Property | Meaning |
|---|---|
| Name | The part in front of your domain, e.g. blog |
| Full name | Follows from it, e.g. blog.your-domain.com |
| Document root | Its own directory, separate from the main website |
| PHP version | Freely selectable, independent of the main website |
| Status | Active or disabled |
Creating a subdomain¶
- Navigate to Subdomains
- Choose Add
- Select the domain the subdomain should sit under
- Enter the name — only the front part, so
blograther thanblog.your-domain.com - Choose the PHP version
The directory is created automatically. Upload your files afterwards through the File Manager or via FTP.
Quota
How many subdomains you may create depends on your package. Current usage is shown on the Dashboard.
DNS record¶
For the subdomain to be reachable, its name has to point at the server.
If your domain is managed here, this happens automatically — nothing to do.
If your domain is with another provider, create an A record there pointing at the same IP address as your main domain. You can look that address up under Domains.
SSL certificate¶
Subdomains get a certificate of their own. It is issued as soon as the name resolves to the server — see SSL Certificates.
DNS first, then the certificate
As long as the subdomain does not resolve to the server, no certificate can be issued. Create the DNS record first.
Disabling or deleting a subdomain¶
Disabling takes the subdomain offline but keeps its directory and files. Useful when a site should be temporarily unreachable.
Deleting removes the subdomain along with its directory and everything in it.
Deleting removes the files too
Back up anything you want to keep first — see Backups.