The customer panel has two places where an address like blog.example.com can be added: the
Domains page and the Subdomains page. Both work, but they do different things, so
the right one depends on what the address should show.
The short version
- A different website under a domain you already have (a blog, a shop, a test copy at
blog.example.com): use Subdomains. - A separate domain (
another-domain.com): create a site for it on the Sites page and add the domain to that site on Domains. - The same website on another address (
example.netshowingexample.com, or a parked domain that should redirect to it): use Domains and add it to the existing site as an alias.
What the Domains page does
A domain on the Domains page is an address for a whole site. You choose the site it belongs to, and it serves that site's folder. Every domain is one of three kinds:
- Primary: the site's main address.
- Alias: another address for the same site. In the domain's settings you choose whether it shows the site's content or redirects visitors to the primary domain. This is what other panels call a parked domain.
- Subdomain: a subdomain used as an address of a site. Choose this when the subdomain should be a site of its own, with its own PHP version, web server, deployments and so on: create the site first, then add the subdomain to it here.
What the Subdomains page does
A subdomain on the Subdomains page lives inside an existing site. It gets its own folder in that
site (<site folder>/blog/public_html for blog), its own SSL certificate, and you can
install an app such as WordPress into it. It runs on the same web server as the site it belongs to.
This is the quick way to add a second website under a domain without setting up a whole new site. If the subdomain later needs settings of its own (a different PHP version or web server, Git deployments), make it a site instead: create a site and add the subdomain to it on the Domains page.
Examples
| You want | Use |
|---|---|
blog.example.com with its own WordPress | Subdomains |
staging.example.com as a quick test copy | Subdomains, or a WordPress staging copy from WordPress Manager |
app.example.com running a Laravel or Node.js app with its own deploys | A new site on Sites, then the subdomain on Domains |
example.net showing the same site as example.com | Domains, as an alias set to show content |
example.co.uk redirecting to example.com | Domains, as an alias set to redirect |
another-domain.com, a different website | A new site on Sites, then the domain on Domains |
Whichever you choose, the address still needs DNS pointing at the server. See Configure DNS for a new domain.