Opening a WHM (Web Host Manager) server involves setting up a VPS or dedicated server and installing WHM/cPanel on it. Here’s a step-by-step guide on how to do this:
Step 1: Choose a Hosting Provider
- Select a VPS or Dedicated Server Provider: Look for providers that support WHM/cPanel installations. Popular options include DigitalOcean, Bluehost, HostGator, and Vultr.
- Choose a Plan: Select a plan that meets your resource needs (CPU, RAM, storage).
Step 2: Provision Your Server
- Create an Account: Sign up with your chosen hosting provider.
- Select Server Location: Choose a data center location that’s closest to your target audience for better performance.
- Set Up Server:
- Choose an operating system (CentOS, CloudLinux, AlmaLinux, or Rocky Linux are commonly used).
- Configure any additional settings (firewall, backups) as per your provider’s options.
Step 3: Access Your Server via SSH
- Obtain SSH Details: After the server is provisioned, you’ll receive SSH details (IP address, root username, and password).
- Log into Your Server:
Use an SSH client (like PuTTY) or terminal:
bash
Copy code
ssh root@your_server_ip
Step 4: Install WHM/cPanel
- Set the Hostname:
Run the following command to set a fully qualified domain name (FQDN):
bash
Copy code
hostnamectl set-hostname server.yourdomain.com
- Update Your Server:
Make sure your server is up-to-date:
bash
Copy code
yum update -y
- Download and Install cPanel/WHM:
Change to the home directory:
bash
Copy code
cd /home
Download the cPanel installation script:
bash
Copy code
curl -o latest -L https://securedownloads.cpanel.net/latest
Run the installation script:
bash
Copy code
sh latest
- Wait for Installation: This process may take some time (30 minutes to an hour).
Step 5: Access WHM
- Open a Web Browser:
- Go to https://your_server_ip:2087.
- Log into WHM:
- Use the root username and password to log in.
Step 6: Initial Configuration in WHM
- Set Up the Initial Configuration:
- Upon first login, you’ll be guided through the setup wizard where you’ll configure server settings, contact information, and networking settings.
- Configure Backups and Security Settings:
- It’s important to configure backup options and security features to protect your server.
Summary
To open a WHM server, you need to choose a hosting provider, provision a VPS or dedicated server, install WHM/cPanel via SSH, and perform initial configurations through the WHM interface. After that, you can start managing hosting accounts and websites on your server.
