What is a subdomain? It is any name to the left of a registered domain, such as docs in docs.example.si. You create it yourself as a record in your own DNS zone, and the registry does not charge for it. Strictly speaking, example.si is itself a subdomain of the si top-level domain.
Most examples in this guide end in .si on purpose. .si is Slovenia’s country-code domain. For AI companies it reads as SuperIntelligence. For AI products, where the app, docs and API should live is also a current question. When BuySI Domains checked on November 26, 2026, OpenAI’s old ChatGPT address, chat.openai.com, sent every visitor to chatgpt.com with a permanent redirect.
What is a subdomain? Anatomy of a hostname
A subdomain is a domain that sits inside another domain. RFC 1034, one of the two 1987 RFCs that define the DNS, says a domain is a subdomain of another “if it is contained within that domain.” The test is simple: the subdomain’s name ends with the name of the domain that contains it.
Read a hostname from right to left. Take docs.example.si as an example:
- si is the top-level domain (TLD), one layer below the DNS root.
- example.si is the registered domain, often called the root domain: the part you register and renew through a registrar.
- docs is the subdomain label you add yourself.
Each part between the dots is a label. A label can be up to 63 octets long. A full name is limited to 255 octets on the wire, which works out to 253 characters as you type it. Hostname labels use letters, digits and hyphens.
By the same test, www is a subdomain. Google’s Search Console help lists “m, www, and so on” as subdomains. The word is relative, not a fixed level. People often call blog.example.si a third-level domain, but www.fri.uni-lj.si sits four levels deep and is still a subdomain of uni-lj.si.
Subdomain examples
A subdomain example is any hostname with an extra label before the registered domain, such as www.gov.si. Subdomains usually split one brand into separate services. All 7 hostnames in this table resolved when BuySI Domains checked them on November 26, 2026.
| Hostname | Parent domain | What it hosts |
|---|---|---|
| www.gov.si | gov.si | Slovenian state portal |
| e-uprava.gov.si | gov.si | E-government services |
| fri.uni-lj.si | uni-lj.si | A University of Ljubljana faculty |
| gemini.google.com | google.com | Gemini AI assistant |
| platform.openai.com | openai.com | OpenAI developer console |
| chat.mistral.ai | mistral.ai | Le Chat assistant |
| sora.chatgpt.com | chatgpt.com | Sora, under the ChatGPT domain |
For a new product the usual pattern is app.example.si for the signed-in product, api.example.si for the API, docs.example.si for documentation and status.example.si for the status page. None of these needs a second registration.
Subdomain vs subdirectory vs separate domain
A subdomain gets its own hostname. A subdirectory, also called a subfolder, is a path on a hostname you already have. A separate domain is a new registration. The differences show up in cost, setup, cookies and how Google groups your pages.
| Factor | Subdomain | Subfolder | Separate domain |
|---|---|---|---|
| Example | docs.example.si | example.si/docs | exampledocs.si |
| Registry fee | None | None | Yes, plus renewals |
| Where you set it up | Your DNS zone | Your web server or app | Registrar, then DNS |
| robots.txt | Its own file | Shares the main file | Its own file |
| Search Console Domain property | Included in example.si | Included in example.si | Needs its own property |
| Site name in Google | Supported | Not supported | Supported |
| Cookies | Shared only if set for Domain=example.si | Same host, shared | Kept apart from example.si |
| TLS certificate | Must cover the new name | Main certificate covers it | Its own certificate |
| Typical use | App, API, docs, status | Blog, guides, help pages | A separate product or brand |
Subdomains are free at the registry, since only the registered domain carries a fee, although hosting and certificates can still cost money. Beyond cost, the choice depends on where the content runs. For a blog or guides that share the main site’s design and server, a subfolder is the least work. For software that runs on other servers or a hosted platform, a subdomain is easier because its DNS record can point anywhere. A separate domain makes sense when the product needs a name of its own.
Subdomain SEO: what Google says
Google treats subdomains and subfolders as equally valid choices. In a December 2017 video on the channel now called Google Search Central, Google’s John Mueller said “Google web search is fine with using either subdomains or subdirectories.” Google’s guide to multi-regional sites lists both as valid structures: subdomains allow “different server locations,” while subdirectories are “low maintenance (same host).”
Some differences are documented, though, and they affect your setup:
- Search Console. A Domain property “Includes all subdomains (m, www, and so on)” and requires DNS record verification. A URL-prefix property includes only URLs that start with one exact prefix, protocol and hostname included.
- robots.txt. Google’s robots.txt documentation says a robots.txt on a subdomain “is only valid for that subdomain.” Each subdomain needs its own file.
- Site names. Google can show a site name for a domain or a subdomain, but it “does not support site names at the subdirectory level.”
Subdomains are no loophole either. Google’s spam policies list “creating new subdomains, subdirectories, or sites” to keep breaking its rules as policy circumvention. If you also run country sites, our guide to how country-code domains affect SEO covers that side.
How to create a subdomain
To create a subdomain, add a DNS record with the new label, such as docs, in the DNS zone your domain’s nameservers point to. That provider may be neither your registrar nor your web host. The five steps are the same at any DNS provider:
- Find your DNS host. Your domain’s nameservers show who answers for the zone. Our guide to nameservers explains how to check them.
- Set up the service first. Add the hostname, for example docs.example.si, in your hosting or docs platform before you touch DNS. MDN advises creating DNS records last.
- Add the record. Use an A or AAAA record to point at an IP address, or a CNAME to point at another hostname. A CNAME works on a subdomain but not on the bare domain, because the zone apex must hold the SOA and NS records. Some DNS providers work around this with ALIAS or CNAME flattening.
- Cover it with HTTPS. Issue a certificate for the new name. A wildcard such as *.example.si matches one label only, so it covers docs.example.si but not eu.docs.example.si or example.si itself. Let’s Encrypt issues wildcards only through the DNS-01 challenge.
- Wait for resolvers to pick up the record. How fast the new subdomain works everywhere depends on the record’s TTL and on resolver caches, not on a fixed 48 hours.

Subdomain risks: takeover, cookies and wildcards
The biggest subdomain risk is a dangling DNS record, which can let an attacker take over the subdomain. MDN describes the weak spot as a subdomain that “has a canonical name (CNAME) in the Domain Name System (DNS), but no host is providing content for it.” Microsoft’s security guidance adds that the attacker can then get a valid certificate for the hijacked name.
The fix is a habit. When you retire a service, remove the DNS record first, then shut the service down. Keep a list of every subdomain and where it points. Our article on domain hijacking covers the registrar side of the same problem.
Cookies are the second risk. Under RFC 6265, a cookie set with Domain=example.si is sent to example.si and to every subdomain below it. If you leave out the Domain attribute, the browser returns the cookie only to the host that set it. Starting a cookie’s name with the __Host- prefix makes browsers enforce that: as MDN explains, such a cookie must be Secure, must have no Domain attribute and must use Path=/.
Two settings widen the blast radius. A wildcard DNS record (*.example.si) makes every name under example.si that has no records of its own resolve, typos included. When example.si sends the HSTS includeSubDomains directive, browsers use HTTPS on every subdomain as well, so an old internal host that serves only HTTP stops loading. The HSTS preload list requires that directive.
How subdomains work under .si
Register.si registers one level only: the name directly under .si. Its general terms, published November 15, 2024, define a domain name as “a string of characters registered directly under the .si top-level domain.” Arnes, the Academic and Research Network of Slovenia, runs the registry.
The rules for that name are short. It needs at least 2 characters and at most 63, with no hyphen at the start or end. The 63-character cap matches the DNS label limit. The terms set no rule and no fee for anything to the left of yourname.si, because that part lives in your own DNS zone.
The Public Suffix List, which browsers use to tell where one site ends and the next begins, shows the same flat structure. BuySI Domains checked the November 25, 2026 version of the list on November 26, 2026. Its ICANN section has a single .si entry: “si” itself. By comparison, .uk has 12 entries, including co.uk, ac.uk and gov.uk, and .ai has 5, including com.ai. Under .si there is no co.si layer, so a name like example.si is the registrable domain and everything to its left is a subdomain you create.
The list’s private section adds 3 .si names run by platforms that hand out subdomains to users, such as gitpage.si. Browsers treat each user’s name under them as a separate site, so one user cannot set cookies for another.
Slovenian public bodies run many of their services on subdomains. The government domain gov.si is an ordinary second-level name: the state portal runs on www.gov.si, e-government on e-uprava.gov.si and the Financial Administration on fu.gov.si. The University of Ljubljana gives faculties names such as fri.uni-lj.si, fe.uni-lj.si and ff.uni-lj.si, and the University of Maribor uses feri.um.si.
The same lookups show CNAMEs at work. The University of Ljubljana’s www.uni-lj.si is a CNAME to a hostname at an outside web agency, and Arnes points www.arnes.si to splet.arnes.si. For the registration side, see our complete guide to the .si domain.
Subdomain or a separate .si domain for an AI product
Most consumer AI chat assistants run on a domain of their own. On November 26, 2026, BuySI Domains checked 18 of them. Of those, 11 answered on the root or www of their own domain, 5 on a subdomain of a broader domain and 2 in a subfolder.

On their own domains we found claude.ai, grok.com and poe.com, among others. Gemini runs on gemini.google.com and Le Chat on chat.mistral.ai. HuggingChat lives in a subfolder at huggingface.co/chat.
Some of the biggest names changed hosts. ChatGPT’s old address, chat.openai.com, returned a 308 permanent redirect to chatgpt.com, and Microsoft’s copilot.microsoft.com returned a 301 to copilot.com. Gemini moved sideways: bard.google.com redirects to gemini.google.com, another subdomain. The reverse happens too: sora.com sent a 307 temporary redirect to sora.chatgpt.com.
Developer tools stayed on subdomains, as our check showed for platform.openai.com, platform.claude.com and aistudio.google.com. That fits the split many teams use: the consumer product gets the name people type and share, while the console, API and docs sit on subdomains.
A practical rule for a new AI product:
- Use subdomains for parts of one product. App, API, docs and status pages cost nothing extra and stay under one brand.
- Use a separate domain for a product with its own name. It keeps cookies and sessions apart and is easier to spin off later. A short name such as aipic.si, which BuySI Domains lists for sale, would suit an AI image tool.
- If you move later, redirect the old hostname. ChatGPT’s old address still redirects today. Our guide to domain redirects covers the setup.
If you are naming a product now, start with the name people will type. Put everything else on subdomains of it, and keep a DNS inventory from the first day.