How to create a subdomain

A subdomain lets you run a separate section of your site, like blog.yourdomain.com or shop.yourdomain.com.

DirectAdmin

  1. In DirectAdmin, open Subdomain Management.
  2. Enter the subdomain name (e.g. blog) and click Create.
  3. A matching folder is created automatically under public_html.

cPanel

  1. In cPanel, open Subdomains.
  2. Enter the subdomain name and select your main domain.
  3. The document root will be filled in automatically — you can leave it as-is or customize it.
  4. Click Create.

Upload files for the subdomain into the folder created for it, just like you would for your main site.

  • 0 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

How to upload your website files using File Manager

To upload files without needing an FTP client: DirectAdmin Log in to DirectAdmin and open File...

How to install WordPress in one click

Most Onebux Hosting plans include a one-click WordPress installer. DirectAdmin Log in to...

How to create and manage a MySQL database

Many applications (like WordPress) need a database to store content. DirectAdmin In...

Understanding your hosting disk space and bandwidth

Disk space is the total storage your account uses: website files, databases, emails, and backups...

How to set up automatic website backups

Most Onebux Hosting plans include daily automatic backups, but you can also create manual backups...