How to create a WHM reseller account without an associated domain

April 30, 2024 / cPanel & WHM

This article explains how to create a WHM reseller account without an associated domain. Creating a WHM reseller account without an associated domain allows for managing hosting resources without the need for domain management.

Important notes –

  1. In the steps below, the username represents the desired account username.
  2. You must select the desired permissions for your new reseller account.

Let us follow the steps-

  1. Access the server via SSH as the root user.
  2. Create a new user using the command-
    useradd -Um username
  3. Set the password for the new user-
    passwd username
  4. Adjust permissions for the user’s home directory-
    chmod -v 711 /home/username
  5. Add an entry for the user in the /var/cpanel/resellers file-
    echo “username:” >> /var/cpanel/resellers
  6. Check for the existence of the /var/cpanel/users/username file-
    • If it exists, remove the line-
      “DNS=”
    • If the file does not exist, create it-
      1. echo USER=username > /var/cpanel/users/username
      2. chmod 0640 /var/cpanel/users/username
      3. chgrp username /var/cpanel/users/username
  7. Log in to WHM as the root user and navigate to Edit Reseller Nameservers and Privileges.
  8. Select the reseller username, make desired permissions selections, and save changes.

That is it!

However, if you accidentally create a WHM reseller account two or three times, you you can eliminate a WHM reseller without an associated domain.

Hope you liked our article. Should you encounter any issues, feel free to contact our technical support team. They are available 24X7.

 

Dominos Search