QUAPE 网站

如何轻松地在子域名上安装 WordPress

在您的子域名上安装 WordPress

一个 子域名 is a powerful tool that allows you to create a completely separate website or application under the umbrella of your main domain name (e.g., staging.yourdomain.com 或者 blog.yourdomain.com).

Unlike an addon domain, which acts as a secondary primary site, a subdomain is simply a division of your existing domain. This makes it ideal for:

  • Staging & Testing: Creating a private copy of your live site to test updates and changes before pushing them live.
  • Micro-sites: Running a dedicated e-commerce store, a support portal, or a separate community forum.
  • Development: Launching a new project without having to buy a new domain name.

If you are hosted with Quape and use cPanel, the entire process is completed in two simple phases using the Softaculous 应用程序安装程序—the fastest and most common method.

Steps to Install WordPress on a Subdomain

Steps to Install WordPress on a Subdomain

Phase 1: Creating the Subdomain in cPanel

The first step is to formally register the subdomain with your hosting server, which creates a dedicated folder for your new WordPress files.

Step 1: Log in to Your cPanel Account

Access your cPanel dashboard using the link provided by Quape (usually yourdomain.com/cpanel). Once logged in, navigate to the “Domains” 部分。

  • 点击 “Subdomains” icon.

Step 2: Define and Create the Subdomain

On the 子域名 page, you need to define three fields:

  1. 子域名: Enter the desired prefix (e.g., staging, dev, 或者 shop).
  2. Domain: Use the dropdown menu to select the main domain you want to attach the subdomain to (e.g., 您的域名.com). The full URL will display below (e.g., staging.yourdomain.com).
  3. Document Root: This path automatically generates the folder where the files will be stored (e.g., /public_html/staging). This is where the installer will place your new WordPress files.
  • 点击 “Create” 按钮。

cPanel will confirm success. You now have a ready-made folder on your server to house the WordPress installation.

Phase 2: Installing WordPress via Softaculous

With the subdomain active, we use the one-click installer to complete the installation effortlessly.

Step 3: Access the WordPress Installer

Return to the main cPanel dashboard and locate the “软件” 部分。

  • 点击 “WordPress Manager by Softaculous”“Softaculous Apps Installer” icon.
  • On the WordPress overview screen, click the blue “立即安装” 按钮。

Step 4: Configure the Installation URL (Critical Step)

This step requires careful attention to ensure WordPress is installed in the correct location:

  1. Choose Protocol: 选择 https:// (Quape provides a free SSL, making HTTPS the standard).
  2. Choose Domain: Use the dropdown menu and select the exact subdomain you just created (e.g., staging.yourdomain.com).
  3. In Directory: LEAVE THIS FIELD COMPLETELY BLANK. If you enter anything here, WordPress will install in a subfolder (e.g., staging.yourdomain.com/test), which defeats the purpose of installing on the subdomain root.

Step 5: Set Up the Site Details and Admin Account

Fill out the required site information:

场地Instruction and Best Practice
站点名称A descriptive name (e.g., “Quape Staging Area”).
管理员用户名Choose a unique username. Avoid ‘admin’ for security.
管理员密码Use the password generator to create a strong, secure password and save it immediately.
管理员邮箱Use an active email address for critical notifications and password recovery.

Step 6: Finalize and Launch

  1. Advanced Options: For beginners, you can leave these as default.
  2. 电子邮件安装详细信息: Enter an email address to receive a permanent record of your login details and site URLs.
  3. 点击最后 “安装” 按钮。

Softaculous will take about a minute to complete the installation and configure the necessary files and database.

Post-Installation Access

Once complete, Softaculous will provide the two essential links:

  • Your Subdomain Site URL: https://staging.yourdomain.com
  • 您的管理 URL(仪表板): https://staging.yourdomain.com/wp-admin

Use the Administrative URL, and your chosen Admin Username and Password to log in and start customizing your new WordPress project.

Effortlessly Manage Multiple Sites with Quape Hosting

Installing WordPress on a subdomain is an effective strategy for growth and development, but running multiple installations requires a robust hosting platform that can dedicate the necessary resources to all your projects simultaneously.

Quape, we offer high-performance WordPress 托管专用服务器 designed for multisite efficiency. Our optimized infrastructure ensures that whether you’re building a simple blog on your main domain or running a complex staging site on a subdomain, all your sites operate at peak speed and reliability.

Don’t let managing multiple projects slow you down. Choose Quape and get the dedicated resources and support you need to handle every subdomain with confidence.

网站托管计划

艾哈迈德·法里德
Achmad Farid 的最新帖子 (查看全部)
艾哈迈德·法里德
Achmad Farid 的最新帖子 (查看全部)

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

让我们保持联系!

怀揣梦想,与我们一同启程。我们专注于创新,并致力于将一切变为现实。