Installing Cpanel/WHM to resell hosting through a wordpress site and WHMCS.

May 22, 2018 1.6k views
CentOS One-Click Install Apps Applications

I am having trouble nailing this down. Any guidance would be greatly appreciated. I want to start a small hosting company for the clients that i add to my web design agency, so that customers play a flat rate for hosting, design, maintanence, etc. Ideally, I would like to use DO droplets for my projects. How should i go about setting this up?

I’ve installed Cpanel/WHM on an CentOS droplet i created. But for the life of me, i can not figure out how to set custom nameservers with a domain i purchased from GoDaddy.

From my understanding, in Cpanel, i would create an account for the Wordpress page i want to sell hosting. Then in that Cpanel, i would install wordpress, and WHMCS on a subdomain. But when i do this, my pages do not show when typing in mydomain.com/wp-admin

Im confused. Im wondering if anybody has come across a guide for setting up Cpanel/WHM on a cpanel.mydomain.com subdomain, then installing wordpress on the main mydomain.com url to display info, then install WHMCS on a billing.mydomain.com subdomain.

Everything i have typed may be confusing, and i apologize. My goal is to setup a web hosting site to resell hosting of my DO droplet, since i can’t use a different droplet for different customers.

1 Answer

I think I can help clear some of this up…

I’ve installed Cpanel/WHM on an CentOS droplet i created. But for the life of me, i can not figure out how to set custom nameservers with a domain i purchased from GoDaddy.

Your cPanel installation includes a DNS server (running only 1 isn’t recommended and cPanel offers a free DNS-only license to set up a secondary that will automatically sync with your main WHM server). On GoDaddy’s site you can register your name servers with your droplet(s) IP address. Unlike a normal DNS entry, a nameserver registration is made directly with the TLD and included in your whois data. You will then want to set up ns and A records for the nameserver subdomains you create in cPanel. GoDaddy Documentation

Im confused. Im wondering if anybody has come across a guide for setting up Cpanel/WHM on a cpanel.mydomain.com subdomain, then installing wordpress on the main mydomain.com url to display info, then install WHMCS on a billing.mydomain.com subdomain. So if you set up cPanel with your domain as the root domain, install WordPress there and then add a subdomain (or create a second client/site configuration for your subdomain).

It’s been quite a while since I have used WHMCS but it sounds like both apps are trying to do URL rewriting using .htaccess files. An easier solution would be to place WHMCS in a subdomain rather than a folder so you can direct users to something like account.yourdomain.com to sign up or log into whmcs.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!