GoAdmio
GoAdmio Documentation

Create Subdomain

From the GoAdmio knowledge base.

Create Subdomain

This page explains how to create a subdomain in GoAdmio. Subdomains let a hosting account serve a separate website or application under a prefix of its main domain — for example, blog.example.com or shop.example.com.

Location: Admin Panel → Domains → Create Subdomain
Location (User Panel): Domains → Create Subdomain



Overview

A subdomain is a domain prefix under an existing domain. If the primary domain is example.com, a subdomain might be:

  • blog.example.com
  • shop.example.com
  • staging.example.com
  • INLINECODE6
Each subdomain can have its own document root, its own files, and (in many setups) its own PHP version, SSL certificate, and email. This makes subdomains a lightweight way to host multiple sites under one account without creating separate hosting accounts.

> Note: A subdomain is not the same as an addon domain. A subdomain lives under the account's primary domain; an addon domain is a completely separate domain added to the account. See Addon Domains for that.



Subdomain vs. Addon Domain vs. Alias

| Feature | Subdomain | Addon Domain | Domain Alias |
|---|---|---|---|
| Example | blog.example.com | otherdomain.com | alias.com → example.com |
| Own document root | ✅ Yes | ✅ Yes | ❌ No (serves the primary site) |
| Own email | ⚠️ Sometimes | ✅ Yes | ❌ No |
| Own DNS zone | ❌ Part of the primary zone | ✅ Yes | ❌ Points to primary |
| Typical use | Sections of a site, staging, sub-apps | Hosting a second domain | Branding, alternate domains |



Prerequisites

Before creating a subdomain:

  1. The primary domain exists on the account and is active.
  2. DNS is configured — either an A record for *.example.com (wildcard) or a specific A record for the subdomain. See DNS Manager.
  3. The account is not suspended (see Suspend Account).
  4. You have disk space available for the subdomain's content.
> Tip: If a wildcard *.example.com A record already exists, most subdomains will work without any DNS change.

How to Create a Subdomain

Via the Admin Panel

  1. Log in to the GoAdmio Admin Panel.
  2. Navigate to Domains → Create Subdomain.
  3. Select the domain under which the subdomain will be created (e.g., example.com).
  4. Enter the subdomain prefix (e.g., blog). The full subdomain will be shown as blog.example.com.
  5. Choose the document root for the subdomain:
- Default — GoAdmio creates a directory (typically ~/blog.example.com or ~/public_html/blog). - Custom — specify an existing directory to use.
  1. Optionally configure SSL, PHP version, and email for the subdomain.
  2. Click Create.

Via the User Panel

If enabled for the account:

  1. Log in to the User Panel.
  2. Navigate to Domains → Create Subdomain.
  3. Follow the same steps as above.
> Note: Feature availability in the User Panel depends on the account's package and the admin's permission settings.

Via CLI

GoAdmio provides command-line tools for subdomain management. The exact syntax depends on your version; see Command Reference for the current command list.

```bash

Example form — check the Command Reference for exact syntax


/go/subdomain create blog.example.com

↑