User Guide

Connect a cPanel & WHM server

Make an API token in WHM, add the server in CoreInto, test the connection and use it in a hosting product.

Step by step 1 min read Updated

Step 1: Make an API token in WHM#

Sign in to WHM as root, or as a reseller if CoreInto should create accounts under that reseller. Open Manage API Tokens, create a token with a clear name such as "CoreInto", and copy it. WHM shows the token only once.

Step 2: Add the server in CoreInto#

Open Settings > Servers and add a server. Choose the module cPanel & WHM, enter the host name, port 2087, the username the token belongs to and the token. Fill in the nameservers and the server's IP address; they are used in welcome emails. Set how many accounts it may hold.

Step 3: Test#

Press Test connection. CoreInto answers with a line about the server. If it fails, check the host name, that port 2087 is open from your CoreInto server, and that the token belongs to the username you entered.

Step 4: Use it in a product#

Open Settings > Products/Services, edit a hosting product, choose the module cPanel & WHM, the server or server group, and the package from the list CoreInto reads from WHM. Choose when the account is created.

Step 5: Order a test#

Place a test order and pay it. The account appears in WHM, and the welcome email with the login details goes to the client. Every call to WHM is in the module log, with the token hidden.

Was this article helpful?

Something missing? Ask in the community or open a ticket.