如何使用 WooCommerce 销售主机(#1 WHMCS 替代方案)

发表于 | 通过Siteskyline
8 分钟阅读

是否曾梦想创办自己的网络托管公司?多年来,这个梦想伴随着一个重大障碍:WHMCS。虽然强大, WHMCS(Web Host Manager Complete Solution) 以复杂著称,通常需要专门的托管,并且学习曲线陡峭。这一技术壁垒让无数企业家望而却步。

但如果你能使用你已经熟悉和喜爱的平台构建一个完全自动化的托管和域名转售业务呢?

时机已到。忘记复杂性。 你可以直接从WordPress仪表盘启动一个专业、可扩展的托管业务。

本指南将带你逐步了解如何使用 WooCommerce. We’ll leverage the power of a game-changing plugin called SkyHS to bridge the gap between your reseller hosting account and your user-friendly WooCommerce store, creating a seamless experience for you and your customers.


为何放弃WHMCS而选择WooCommerce?现代转售方法

Before we dive into the “how,” let’s understand the “why.” Choosing WooCommerce isn’t just a workaround; it’s a 业务模式的战略升级.

  • 无与伦比的简单性: If you know WordPress, you’re already 80% of the way there. You’ll 管理托管产品 就像其他任何WooCommerce产品一样,使用熟悉的界面。
  • 成本效益: You avoid the high licensing fees and specialized hosting requirements of WHMCS. You’re building on top of the world’s most popular (and free) CMS.
  • 完全设计自由: 你的托管商店是你WordPress主题的一部分。你可以无限控制外观和感觉,确保无缝的品牌体验。(如果需要帮助,请查看我们的选择最佳WooCommerce主题指南。)
  • 庞大的插件生态系统: 想要添加联盟计划、高级分析或 特定的支付网关? The entire WooCommerce and WordPress plugin library is at your disposal.
  • 卓越的SEO: 基于WordPress,您的托管业务从一开始就为 搜索引擎优化 做好准备,让您能够自然地吸引客户。

Your Essential Toolkit: What You’ll Need to Get Started

要建立我们的托管帝国,我们需要几个关键要素。请确保您已准备好以下内容:

  1. 一个 WordPress 网站: 您业务的基础。
  2. WooCommerce插件: WordPress的免费电子商务引擎。您可以从 官方插件仓库.
  3. WooCommerce订阅插件: 用于处理托管计划的定期计费。这是一个高级插件,对于自动化订阅模式至关重要。
  4. 一个WHM经销商托管账户: This is the server backend you’ll be reselling from. Your hosting provider will give you the necessary WHM credentials.
  5. SkyHS插件: The magic bridge that connects WHM to WooCommerce. We’re using SkyHS because it’s currently the most direct and feature-complete integration for this specific purpose. You will need to purchase a license from SiteSkyline.com/skyhs.
  6. 一个eNom账户: 要成为域名经销商。您可以在 eNom网站.

With your toolkit assembled, let’s build your business.


Part 1: The Foundation – Connecting Your WHM Server to WooCommerce

第一阶段完全是关于在您的服务器和店面之间建立技术连接。

步骤1:安装并激活SkyHS插件

First, purchase, download, and install the SkyHS plugin on your WordPress site. Once installed, navigate to the plugin’s settings page and enter the license key you received to activate it.

Activating the SkyHS plugin with a license key.

步骤2:创建中央客户仪表板

您的客户需要一个地方来管理他们的托管和域名。SkyHS使得这变得非常简单。

  1. 前往 Pages > Add New 在您的 WordPress 仪表盘中。
  2. Title the page something clear, like “My Dashboard” or “Client Area.”
  3. 在页面内容块中,添加以下短代码 [skyhs_dashboard].
  4. 点击 发布。此短代码将自动为您的客户生成一个功能强大的前端仪表板。
Creating the client dashboard page in WordPress.

步骤3:在SkyHS设置中链接仪表板

现在,我们需要告诉SkyHS将您的客户发送到哪里。

  1. 导航至 Dashboard > SkyHS > SkyHS Settings.
  2. 找到标记为 仪表板页面.
  3. From the dropdown menu, select the “My Dashboard” page you just created.
  4. 点击 保存更改.
Linking the client dashboard page in SkyHS settings.

步骤4:连接您的WHM服务器

This is the most critical step. It’s time to link your powerful WHM reseller account to SkyHS.

  1. 前往 Dashboard > SkyHS > Server 并点击 添加新内容.
  2. 添加服务器标题: Give your server an internal name (e.g., “Main Reseller Server”).
  3. 输入WHM凭据: 使用托管服务提供商提供的信息填写字段:
    • WHM用户ID: 您的WHM用户名。
    • WHM令牌: Your WHM API token. (You can generate this inside your WHM panel under “Manage API Tokens.” See WHM documentation for help.)
    • WHM主机: Your server’s hostname or IP address.
  4. 点击 发布.

验证: 发布后,页面将重新加载。如果成功,您将看到一个新的部分,标题为 带有默认功能列表的WHM套餐。这个托管套餐列表确认您的服务器已连接!

Successful WHM server connection confirmed by package list

Part 2: Create & Sell Your Hosting Plans

With the backend connected, let’s create the actual products your customers will buy.

Step 5: Create a “Variable Subscription” Product

前往 Products > Add New. Give your product a name, like “Premium Web Hosting.” Scroll down to the 产品数据 框。从下拉菜单中选择 可变订阅.

Step 6: Configure it as a “Hosting” Product

在 产品数据 框中,勾选新标记为 托管。这将显示一个下拉菜单以 选择服务器。选择您刚刚连接的服务器。 将产品保存为草稿。 这很重要,因为它会将服务器信息加载到编辑器中。

Configuring a WooCommerce product as a 'Hosting' product type.

第7步:使用属性定义您的计划

  1. 前往 属性 选项卡在产品数据框内,并点击 添加.
  2. 名称: Type Plan.
  3. 值: Enter your tier names, separated by a pipe |. Example: Basic | Standard | Premium.
  4. 勾选 用于变体.
  5. 点击 保存属性.
Creating product attributes for hosting plans.

第8步:为每个计划设置价格和功能

  1. 前往 变化 选项卡。
  2. 选择 从所有属性创建变体 并点击 前往.
  3. 展开每个变体(基础版、标准版等)进行配置:
  4. 设置价格和计费周期: Enter the price (e.g., $5.99) and the interval (e.g., per month).
  5. 选择托管计划: 为此计划选择对应的 WHM 包。
  6. 功能文本框: 输入此计划的功能,每行一个。这将显示在销售页面上。
  7. Repeat for all variations. Once you’re done, click 发布!
Configuring a specific hosting plan variation in WooCommerce.
Feature list for product

恭喜!您现在拥有了一个完全自动化的、基于订阅的托管产品。


第 3 部分:集成和销售域名

A hosting business isn’t complete without domain registration. Let’s automate it with eNom.

第 9 步:在 SkyHS 中配置 eNom 设置

  1. 在您的 WordPress 仪表盘中,转到 SkyHS > eNom Setting.
  2. 默认名称服务器: Enter the nameservers from your WHM provider (e.g., ns1.yourhost.com, ns2.yourhost.com).
  3. 每个域名的附加价格($): Add your markup (e.g., 2 for a $2 fee).
  4. 模式: 将其设置为 实时.
  5. Live Username & Live Password: 输入您的 eNom 账户凭据。
  6. 点击 保存设置.
Configuring eNom reseller settings in the SkyHS plugin

第 10 步:将所有内容添加到菜单

您的产品已存在,但客户需要找到它们!

  1. 前往 Appearance > Menus.
  2. 在左侧,找到标记为 SkyHS 端点.
  3. 勾选以下框 托管、域名、 和 仪表板.
  4. 点击 添加到菜单,排列它们,然后 保存菜单.
Adding hosting, domain, and dashboard links to the main menu.

Verify Your Hard Work & Launch!

Go to your website as a visitor. Click on your new “Hosting” menu item to see your plans. Select a plan and see the variations. Go to the “Domain” page and search for a domain to see the live eNom integration.

You’ve done it! You have successfully bypassed the complexity of WHMCS and built a powerful, flexible, and fully automated hosting and domain business using WordPress and WooCommerce. You now have complete control over your branding, pricing, and customer experience, all from one dashboard.

欢迎来到经销商托管的未来。


常见问题 (FAQ)

问:我需要在任何地方安装 WHMCS 吗?
答: No! That’s the beauty of this system. You only need a WHM Reseller Hosting account. SkyHS communicates with your server’s WHM panel directly via its API, completely eliminating the need for a separate WHMCS installation.

问:我可以使用 eNom 以外的域名注册商吗?
答: 本指南和 SkyHS 插件专为与 eNom 无缝集成而设计。对于其他注册商,您需要不同的插件或自定义解决方案。

问:托管账户如何自动创建?
答: When a customer completes a purchase, WooCommerce Subscriptions creates the recurring payment profile. Simultaneously, SkyHS securely sends a command to your WHM server to create the cPanel account based on the package you linked to that product variation. It’s 100% automated.

问:我应该期待什么样的支持?
答: Your support is two-fold: 1) You will get technical support for your server and WHM panel from your hosting provider. 2) For any issues or questions related to the plugin’s functionality, you will get support from the SkyHS developers at SiteSkyline.

Siteskyline

Siteskyline

Siteskyline is a premium WordPress plugin and SEO management platform dedicated to providing the best speed, security, and optimization tools.