Loading...

Knowledge Base
,

How to Troubleshoot a WHMCS Automatic Hosting Setup Failure

A WHMCS automatic hosting setup failure can happen when WHMCS is unable to create a hosting account on the server after a customer places an order. WHMCS can automate account creation, but it must be able to connect to the correct server using the right IP address, login details, and connection settings.

This guide explains how to manually test the failed order, review the server assigned to the product, and resolve common WHMCS setup errors.

How WHMCS Automatic Hosting Setup Works

WHMCS can automatically create hosting accounts when a customer completes an order. This process depends on the product settings, server configuration, and WHM connection details saved in WHMCS.

When everything is configured correctly, WHMCS sends the account creation request to the assigned server. If the server details are incorrect or WHMCS cannot connect to the server, the account may fail to create automatically.

Common causes include:

  • Incorrect server selected for the product
  • Wrong server IP address
  • Incorrect WHM username or password
  • SSL connection setting not enabled
  • DNS or hostname connection issues
  • Temporary server connection problems

Troubleshooting a WHMCS Automatic Hosting Setup Failure

To begin troubleshooting, try creating the failed hosting account manually from the order in WHMCS. This helps confirm whether the issue is with the order, the server connection, or the WHMCS module settings.

Step 1: Open the Failed Order in WHMCS

  1. Log in to your WHMCS Admin Dashboard.
  2. Go to Orders or Manage Orders.
  3. Locate the order that failed to set up automatically.
  4. Click the Order Number to open the order details.

Step 2: Review the Product or Hosting Account

On the order details page, review the items included in the order.

  1. Find the product or hosting account that was not created correctly.
  2. Click the product or hosting account name.
  3. Review the account details.
  4. Confirm that the correct product, domain, package, and billing information are listed.

Step 3: Check the Assigned Server

Before running the manual setup command, confirm that the product is assigned to the correct server.

  1. Look for the server selection on the product details page.
  2. Confirm that the selected server is correct.
  3. If the wrong server is selected, change it to the correct server.
  4. Save the change if required.

Using the wrong server can cause the setup to fail because WHMCS may try to create the account in the wrong WHM environment.

Step 4: Run the Create Module Command

After confirming the server, try creating the account manually.

  1. Find the Module Commands section.
  2. Click Create.
  3. Confirm that you want to create the account.
  4. Wait for WHMCS to process the request.

Common WHMCS Automatic Setup Error Messages

Below are common errors you may see when troubleshooting automatic hosting setup failures in WHMCS.

Curl Error: Could Not Resolve Host

This error usually means WHMCS cannot resolve or reach the server hostname. It may also happen if the server IP address or hostname saved in WHMCS is incorrect.

To fix this:

  1. Log in to your WHMCS Admin Dashboard.
  2. Go to Configuration.
  3. Click System Settings.
  4. Select Servers.
    • In older WHMCS versions, this may appear under Setup > Products/Services > Servers.
  5. Click the Edit icon next to the server WHMCS is trying to connect to.
  6. Review the server hostname and IP address.
  7. Update the IP address if it is incorrect.
  8. Click Save Changes.
  9. Return to the failed order and try the Create module command again.

Login Failed

The Login failed error usually means WHMCS cannot authenticate with WHM using the saved login details. This can happen if the username, password, or access details are incorrect.

How to fix it:

  1. Log in to your WHMCS Admin Dashboard.
  2. Go to Configuration.
  3. Click System Settings.
  4. Select Servers.
  5. Click the Edit icon next to the affected server.
  6. Enter the correct WHM username and password.
  7. Save your changes.
  8. Test the connection again, if available.
  9. Return to the failed order and try the Create module command again.

Make sure the WHM account has the correct permissions to create hosting accounts. If the login details were recently changed in WHM, update them in WHMCS as well.

Curl Error: Couldn’t Connect to Host — Code 7

This error usually means WHMCS can see the server entry but cannot connect to the server using the current connection settings. In many cases, enabling SSL mode for the server connection can resolve the issue.

To fix this:

  1. Log in to your WHMCS Admin Dashboard.
  2. Go to Configuration.
  3. Click System Settings.
  4. Select Servers.
  5. Click the Edit icon next to the affected server.
  6. Enable Use SSL Mode for Connections.
  7. Click Save Changes.
  8. Return to the failed order.
  9. Try the Create module command again.

Additional Items to Check

If the account still does not create after correcting the error message, review the following:

  • Confirm the hosting package exists in WHM.
  • Make sure the WHMCS product is mapped to the correct WHM package.
  • Check that the selected server is active in WHMCS.
  • Verify that the server IP address is correct.
  • Confirm the WHM username and password are current.
  • Make sure SSL mode is enabled if required.
  • Check whether the server is reachable.
  • Review any firewall, port, or access restriction that may block the connection.
  • Try creating a test account directly in WHM to confirm the server can create accounts.

When to Contact Bluehost Support

Contact Bluehost support if you need help checking the hosting-side setup for your VPS or Dedicated server.

Bluehost support can help review:

  • WHM access
  • cPanel account creation
  • Server IP address
  • WHM package availability
  • DNS or hostname setup
  • Hosting-side connection issues

Summary

A WHMCS automatic hosting setup failure usually happens when WHMCS cannot connect to the correct server or cannot authenticate with WHM. To troubleshoot the issue, open the failed order, check the assigned server, and use the Create module command to manually test the setup.

If WHMCS shows an error, use the message to guide your next step. Update the server IP address for host resolution errors, correct the WHM login details for login failures, and enable SSL mode if WHMCS cannot connect to the host. After saving the correct server settings, return to the failed order and try creating the hosting account again.

If you need further assistance, Bluehost Chat Support is available 24 hours a day, 7days a week while Bluehost Phone Support is available 7 days a week from 7 am-12 midnight EST. 

  • Chat Support -  While on our website, you should see a CHAT bubble in the bottom right-hand corner of the page. Click anywhere on the bubble to begin a chat session.
  • Phone Support -
    • US: 888-401-4678
    • International: +1 801-765-9400

You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.

Loading...