CDNShark Documentation

Web Hosting

← Back to Documentation

Add an Addon Domain or Subdomain

One hosting account can serve several websites. Each gets its own folder: domains/<name>/public_html.

Addon domain or subdomain?

Addon domainSubdomain
Examplemy-second-site.comblog.example.com
NeedsThe domain added to CDNShark first (Domains in the portal)A domain you already have on this account
wwwServed on both example.com and www.example.comOnly the subdomain itself
LimitYour CDN plan's number of websites, plus any domain add-ons you boughtYour hosting plan's subdomain limit

Steps

  1. Open your hosting account → Domains → Add Domain.
  2. Choose Addon domain — a new domain and pick the domain, or Subdomain — under a domain you already have and enter the label (for example blog) and the parent domain.
  3. Pick the PHP version for it.
  4. Click Add Domain. The domain shows provisioning, then active.

When it's active, its folder is ready and its DNS records point at your hosting through the CDN automatically. HTTPS follows by itself (see HTTPS and SSL Certificates for Hosted Sites).

If you hit a limit

  • "Your plan covers N hosted website(s)…": buy a domain add-on or upgrade your CDN plan.
  • "Your plan allows up to N subdomain(s)": upgrade your hosting plan.

Removing a domain

Click the trash icon on its row. This deletes the domain's folder and all its files. Download anything you need first. The primary domain can't be removed; delete the whole account instead.