Web Host Manager

greg's picture

He has: 1,581 posts

Joined: Nov 2005

I'm currently playing with WHM with the view of selling accounts.
So a bunch of questions I cant seem to find in faq/tutorials

As far as I can tell when making a new account with WHM (either manually or via PHP/packages) it needs a domain name.
Yet I see some hosting sites allow you to simply create an account without one. So how does this work?

I also want to allow people to add a new domain, but not as a sub-domain on their main domain
Would this need another IP different from their main domain account?

And how do you go about working with the nameservers.
I understand I could have a global one, say my hosting website is fakewebhost.com, I could make the nameservers ns1.fakewebhost.com etc and apply that to all new customer accounts. Is there any benefit/advantage to this?
Or is it better to make people use their registrar nameservers.

Can I make it so the nameservers are the customers domain?
So they make an account with fakesite.com, and their name servers will be ns1.fakesite.com etc

Cheers

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

Greg,

Maybe I'm an idiot but don't know what is WHM (so I guess I can't be of much help)

A Google search yielded

World Harvest Mission
http://www.whm.org/

(don't think this is it...)

and cPanel Web Host Manager
http://www.cpanel.net/docs/whm/

(is this it?)

I also thought of Wham!
http://en.wikipedia.org/wiki/Wham!

but maybe I just watched too much Eli Stone

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

It's link number two: cPanel/WHM (Web Host Manager)

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

greg wrote:
I'm currently playing with WHM with the view of selling accounts.
So a bunch of questions I cant seem to find in faq/tutorials

As far as I can tell when making a new account with WHM (either manually or via PHP/packages) it needs a domain name.
Yet I see some hosting sites allow you to simply create an account without one. So how does this work?

It does need a domain name, but it doesn't have to be a top level domain like example.com. It would be a subdomain like username.example.com.

greg wrote:

I also want to allow people to add a new domain, but not as a sub-domain on their main domain
Would this need another IP different from their main domain account?

Nope, you can have one IP address for as many accounts as you want. In cPanel's packages, these are called "Addon Domains". You only need separate IP address if you want SSL ability.

greg wrote:

And how do you go about working with the nameservers.
I understand I could have a global one, say my hosting website is fakewebhost.com, I could make the nameservers ns1.fakewebhost.com etc and apply that to all new customer accounts. Is there any benefit/advantage to this?
Or is it better to make people use their registrar nameservers.

Can I make it so the nameservers are the customers domain?
So they make an account with fakesite.com, and their name servers will be ns1.fakesite.com etc

Cheers

I just have one set of nameservers. You have to register them with your domain registrar and have them point it to your server's IP address(es). If you want to register additional nameservers, I suppose you could, but there really is no point. One of my resellers has his own, but just so his clients can't find me directly. Not because we are running anything shady, but I don't want them contacting me directly for support.

greg's picture

He has: 1,581 posts

Joined: Nov 2005

pr0gr4mm3r wrote:
Nope, you can have one IP address for as many accounts as you want. In cPanel's packages, these are called "Addon Domains". You only need separate IP address if you want SSL ability.

That's what I was trying to avoid, as the Addon domains isn't really a new domain by itself.
I really wanted users to be able to add a new domain name to their account, like newdomain.com, and would have a drop down in Cpanel to switch from one domain to the other for the Cpanel options.

I guess the subdomain way isn't too bad, but I don't really understand the need for it to be a sub domain.
If the nameservers are correctly pointing to my hosting sites nameservers with their registrar, then why does it need to be a subdomain?

In the WHM Create Account option, what is this tickbox-
"Use the nameservers specified at the Domain's Registrar (ignore locally specified nameservers)"
I presume if they left the nameservers as the registrars then the customer would have to login to their registrar and assign something to point to my hosting site (where their site files are)
I.E. change the DNS to my sites IP
?

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

That's what I was trying to avoid, as the Addon domains isn't really a new domain by itself.
I really wanted users to be able to add a new domain name to their account, like newdomain.com, and would have a drop down in Cpanel to switch from one domain to the other for the Cpanel options.

So you're talking about a separate cPanel account then. You can do that by giving them reseller privileges (assuming you have permissions to do so).

I guess the subdomain way isn't too bad, but I don't really understand the need for it to be a sub domain.
If the nameservers are correctly pointing to my hosting sites nameservers with their registrar, then why does it need to be a subdomain?

I guess I'm confused on what you were asking here then. For each cPanel account, you need one main domain, like example.com. If you don't have a domain of their own, you can use a subdomain of any domain hosted on the server. So, if your hosting website is example.com, you could have user.example.com as the domain on the account.

In the WHM Create Account option, what is this tickbox-
"Use the nameservers specified at the Domain's Registrar (ignore locally specified nameservers)"
I presume if they left the nameservers as the registrars then the customer would have to login to their registrar and assign something to point to my hosting site (where their site files are)
I.E. change the DNS to my sites IP
?

Ya, I forgot about that option. Technically yes, you can use your registrar's nameservers, and configure the DNS records manually, but that will be more trouble than it's worth because not only will you have to setup all the records initially yourself, but every time you add/remove a subdomain, addon domain, or parked domain, you will have to also manually make those changes in your DNS settings. It will be much easier to just set the domain's nameservers to the cPanel server that it's hosted on.

greg's picture

He has: 1,581 posts

Joined: Nov 2005

pr0gr4mm3r wrote:
So you're talking about a separate cPanel account then. You can do that by giving them reseller privileges (assuming you have permissions to do so).
I have permissions but not sure if this is a good idea, or even if it's worthwhile.

The main issue I have with subdomains is the customer has their main account, example.com, and any other websites they have with me (addon domains) are in a sub folder of /www/example.com/ rather than a seperate folder on the root.
I suppose reseller privileges will change that, and each of their domains will be in root?
I guess most people will be used to the addon domain setup anyway.

pr0gr4mm3r wrote:
For each cPanel account, you need one main domain, like example.com.

Got you. I'm really just figuring out how things work.

As for the nameservers, from what you say and what I read, seemingly the best way for simplicity for me and customers is just setup my own DNS for customers domains.

Cheers

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

By coincidence, today a client sent me some small work on a few sites he is setting up with cPanel WHM

(I found out by going to the IP he sent and reading the default placeholder page there which says it is a cPanel WHM domain, he has not uploaded the site yet)

If he is handling the set-up, is there anything I need to know about the server set up, ftp etc peculiar to WHM? I have already set up the ftp acct successfully.

I guess WHM is useful for the client as he owns these domains and they are related sites, at least they link to each other.

I am going to be mostly changing css, very lite mods.

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

(I found out by going to the IP he sent and reading the default placeholder page there which says it is a cPanel WHM domain, he has not uploaded the site yet)

You will always see that placeholder page if that IP is used as a name virtual host. Try accessing the site with the domain name.

If he is handling the set-up, is there anything I need to know about the server set up, ftp etc peculiar to WHM? I have already set up the ftp acct successfully.

Nope, except that the FTP accounts are managed in cPanel.

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

The main issue I have with subdomains is the customer has their main account, example.com, and any other websites they have with me (addon domains) are in a sub folder of /www/example.com/ rather than a seperate folder on the root.

What theme are you using? If you are using X3, you can specify the path. On my server, if I input a domain name, it suggests that I put it inside the public_html folder, but I don't have to.

greg's picture

He has: 1,581 posts

Joined: Nov 2005

Hmm, I forgot about that option.
I seems this way is good for all levels of webmaster/server managment then. And my wanting to do things other ways aren't really necessary.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.