Create and set up a subdomain: a step-by-step guide
Published on July 10, 2026 9 min read
Create and set up a subdomain in Plesk. Learn how to make a subdomain, how the DNS works and how it automatically gets a free SSL certificate.
A subdomain is a separate address within your own domain name, such as blog.yourdomain.com or shop.yourdomain.com. You use it to give a blog, a webshop, a test environment or a separate part of your site its own place. With LJPc you create a subdomain in Plesk, the control panel for your hosting, or you order a separate website on a subdomain in the customer portal. In this guide you learn what a subdomain is, how to create one step by step, how the DNS and the SSL certificate are arranged, how to point a subdomain to another service, how a wildcard subdomain works, and when a subdomain or a subdirectory is the better choice.
What is a subdomain?
Your domain name, for example yourdomain.com, is your main address on the internet. A subdomain is a prefix that you add to it, separated by a dot. So blog.yourdomain.com, shop.yourdomain.com and test.yourdomain.com are all subdomains of the same main domain. Even the familiar www is technically a subdomain.
A subdomain works as an independent part. You can attach a separate website, folder or service to it, with its own content and its own settings. Even so, it belongs to your main domain and you do not need a new domain name for it. When you create it in Plesk, it belongs to your hosting package and uses its storage: you pay nothing extra.
What do you use a subdomain for?
A subdomain is useful when you want to clearly separate a part of your site from the main one. Common examples:
- Blog or knowledge base: blog.yourdomain.com for your articles.
- Webshop: shop.yourdomain.com when your store runs on a different system.
- Test or staging environment: test.yourdomain.com to try changes without touching your live site.
- Separate app or service: my.yourdomain.com or api.yourdomain.com for a customer portal or an integration.
Create a subdomain in Plesk
You open Plesk from the customer portal: choose Services and then Sites in the menu, open your site and click Log in to Plesk in the Site overview block. You are signed in automatically. Read more in open Plesk from the customer portal.
- You land on Websites & Domains. Click Add Subdomain above the list.
- In Subdomain name, enter the prefix, for example
blog. Parent domain shows your domain, so the subdomain becomes blog.yourdomain.com. - Under Hosting Settings, check the Document root: the folder that holds the files of your subdomain. Plesk suggests a folder of its own with the name of the subdomain, for example blog.yourdomain.com, next to the httpdocs folder of your main site. You can leave that folder as it is.
- Click OK. The subdomain then appears as a website of its own in the list on Websites & Domains.
If the form also offers to secure the subdomain with Let's Encrypt straight away, you can leave that option on. The certificate arrives either way, see below.
No Add Subdomain button above the list? Then subdomains are not included in your hosting package by default. Ask us to switch them on through a support ticket. Would you rather have a separate website with its own package on the subdomain? Then you order it in the customer portal (see further down).
From that moment your subdomain works as a website of its own. You put files on it with FTP or SFTP or with Files in Plesk, or you install WordPress on it.
The DNS of your subdomain
A subdomain only works once the DNS points to it. DNS is the system that translates an address such as blog.yourdomain.com into the server where the content lives.
Does your domain use the LJPc name servers (ns1, ns2 and ns3.ljpc.network)? Then Plesk adds an A record for the subdomain to the DNS zone of your domain when you create it, plus an AAAA record for IPv6. Within a minute they are on our name servers. You do not have to touch the DNS yourself.
Is the DNS of your domain with another party? Then create the subdomain in Plesk first and then add a record at that party:
- An A record with the name of your subdomain, for example blog, and the IPv4 address of your hosting. If your hosting also has an IPv6 address, add an AAAA record as well. Both addresses are shown in Plesk at the bottom of your domain, next to IP address.
- Or a CNAME record to your main domain, if your main domain also runs on your hosting package at LJPc. The subdomain then automatically follows the address of your main domain. This is often the quickest choice.
If you manage the DNS of your domain in the customer portal, you add the record there with Add record. Read how in managing DNS records. How quickly a new record at another party is visible everywhere depends on that party and on the TTL; read more in DNS propagation.
A DNS record alone is not enough: without the subdomain in Plesk, our web server does not know which website to show.
SSL for your subdomain
Like your main domain, a subdomain should work over https with a valid SSL certificate. We take care of that: our system automatically requests a free Let's Encrypt certificate for every subdomain on your hosting package as soon as the subdomain points to our server. You usually have it within an hour. The certificate is then renewed automatically, and the redirect from http to https is already on for a new subdomain (Permanent SEO-safe 301 redirect from HTTP to HTTPS under Hosting Settings).
Want the certificate right away? In Plesk, click SSL/TLS Certificates for your subdomain, click Install next to Install a free basic certificate provided by Let's Encrypt and then Get it free. You do not need a www variant for a subdomain: Plesk does not create a www address for a subdomain, so leave that option off if you see it. Read more about certificates in SSL certificate.
Point a subdomain to another service
Does the subdomain run with another service instead of on your hosting, such as a webshop platform or a newsletter service? Then do not create it in Plesk, but only add the DNS record that service gives you: usually a CNAME record to their host name, sometimes an A record to their IP address. If your domain uses our name servers and you have a hosting package, you do this in Plesk:
- In Plesk, click the Hosting & DNS tab of your domain and then DNS. You land on DNS Settings.
- Click Add Record, choose the type under Record type and enter only the prefix in Domain name, for example
shop. Then enter the value the service gives you. - Click OK. Plesk then prepares the record, but does not apply it to your DNS zone yet.
- Click Update above the list. Only then does the record go into your DNS zone. Revert rolls back prepared changes.
If your main domain sends an HSTS header with includeSubDomains, browsers also open this subdomain over https only. LJPc switches that header on when we request the certificate of your main domain automatically. So choose a service that delivers https with a valid certificate. Read how to check the header in setting up HTTP security headers.
Order a separate website on a subdomain
Do you want a separate website with its own hosting package on a subdomain, for example because your main site runs with another party? Then you order it in the customer portal. Your main domain stays where it is.
- Open the order page in the customer portal with the choice I already have one at another registrar.
- Enter your subdomain, for example blog.yourdomain.com, and choose Website on this subdomain.
- Choose a hosting package and complete your order in the cart.
- The page of your order shows under Point blog.yourdomain.com at us which A and AAAA records to add where you manage the DNS of your main domain. If that DNS is with us, you add the records yourself in Plesk (with Update) or in the portal.
As soon as the records point at us, https works with a free Let's Encrypt certificate.
Create a wildcard subdomain
A wildcard subdomain catches every subdomain that you have not set up separately, all at once. You recognise it by the asterisk notation *.yourdomain.com. That is useful when an application creates subdomains itself, or when you want to send visitors from a mistyped subdomain to your main site.
You create a wildcard subdomain in Plesk like any other subdomain, but in Subdomain name you enter an asterisk (*). Subdomains you created separately keep working; the wildcard applies only to names you have not set up separately.
Watch out with SSL: a standard Let's Encrypt certificate covers only the exact names it was issued for. For a wildcard you need a wildcard certificate, and that requires an extra check through a DNS record (a so-called DNS validation). If you want one, contact support and we will arrange the wildcard certificate with you.
Subdomain or subdirectory: which is better for SEO?
You can place content in two ways: on a subdomain (blog.yourdomain.com) or in a subdirectory of your main site (yourdomain.com/blog). For SEO there is a real difference.
Google can process and index both perfectly well. Even so, Google sees a subdirectory more clearly as part of your main site. The authority and links of your main domain then benefit those pages more directly. For content that should benefit from your main site, such as a blog or knowledge base, a subdirectory is therefore often the better choice.
A subdomain makes more sense when the part truly stands on its own: a webshop on a different platform, a separate web application, a customer portal or a test and staging environment. So choose based on the purpose. If it belongs to your main site, use a subdirectory. If it stands alone, use a subdomain.
Still stuck? Call us on +31 85 130 6429, email support@ljpc.nl or create a support ticket. We are happy to help.
Frequently asked questions
What is the difference between a subdomain and a subdirectory?
A subdomain is a separate address within your domain, such as blog.yourdomain.com. A subdirectory is a path on your main site, such as yourdomain.com/blog. Technically a subdomain works as an independent part, while a subdirectory is part of your main site. For SEO a subdirectory is usually seen more clearly as part of your main domain.
Does a subdomain cost extra with LJPc?
No, not when you create it in Plesk. The subdomain then belongs to your hosting package and uses its storage, and you do not have to register a new domain name for it. If you choose a separate website on a subdomain in the customer portal, it has its own hosting package with its own price.
Why do I not see an Add Subdomain button in Plesk?
Then subdomains are not included in your hosting package by default. Ask us to switch them on through a support ticket, or order a separate website on the subdomain with its own hosting package in the customer portal.
How long does it take before my subdomain works?
If your domain uses the LJPc name servers, the DNS records of a new subdomain are on our name servers within a minute and you usually have a free certificate within an hour. If your DNS is with another party, the waiting time depends on that party and on the TTL of the records.
Can I point a subdomain to another server or service?
Yes. Then do not create the subdomain in Plesk, but only add a DNS record: an A record to the IP address of that server or a CNAME record to the host name of that service. If you do that in Plesk, click Update above the list after OK. The subdomain then does not run on your LJPc hosting, but in that other place.
Do I need a separate SSL certificate for my subdomain?
Yes, but we take care of it. Every subdomain on your hosting package automatically gets its own free Let's Encrypt certificate, usually within an hour after it points to our server. For a wildcard certificate that covers all subdomains at once, contact support.
Is a subdomain bad for my SEO?
No. Google can process and index both subdomains and subdirectories. For content that should benefit from the authority of your main site a subdirectory is often handier, but for a part that truly stands on its own a subdomain is a fine choice.