The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Too many addon domains can slow down cPanel or create problems

Discussion in 'Workarounds and Optimization' started by Gino Viroli, Jan 27, 2010.

  1. Gino Viroli

    Gino Viroli Active Member

    Joined:
    Oct 2, 2007
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Can many addon domains slow down cPanel or create problems?

    I actually resell hosting plans by using one single cPanel account and many addon domains under it.

    Basically for each new user I don't cerate a new cP account, but I simply create a new ADDON domain and give him the necessary space.

    I know in this way the final user won't be able to manage his emails and he want be able to access all cPanel features, but that's ok. :p

    My only question is: "is there a limit on the number of cPanel addon domain that can be added?".
    I'm allowed to add unlimited addon domains, but is there something that might happen that slows down cPanel or could create problems?

    I mean is there any suggestions the kind cp's sw engineers could give me about the way i'm using cPanel which might not be the usual way of using it. (As for instance: "be aware that Awstast could run very slow or crash", or "be aware that mails from different addon domains under the same cp account could create many problems.", etc.)

    Many thanks! :)
     
    #1 Gino Viroli, Jan 27, 2010
    Last edited: Jan 27, 2010
  2. xprt5

    xprt5 Well-Known Member

    Joined:
    Apr 6, 2003
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Houston
    The only limits would be kernel or file system limits such as descriptors, inodes or characters.

    Theoretically its unlimited but the OS or File system has limitations that will be reached at some point, these are not cPanel limitations.

    The more addon domains, parked domains or subdomains you continue to add to one account the longer it will take Apache to load the config file as it has to parse thru the config one line at a time then load corresponding data or files. This will continue to cause longer startup times.

    You would be wise to break up the addon domains among multiple users to spread out the configuration.
     
  3. Gino Viroli

    Gino Viroli Active Member

    Joined:
    Oct 2, 2007
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Comments

    1st of all, thanks for the reply! :)
    Below are my comments.

    But wouldn't it be the same when creating standard cPanel account for each new user instead of ADDON domains?
    I mean, isn't there a config file also for standard cP account when adding more domains on same server (even if in different cP accounts), so Apache would have to look into it in the same way it does for ADDON domains, wouldn't it?! :rolleyes:


    Could you plz explain this? What do you mean by breaking up addon domains? :confused:
    Each of my user needs is own domain/emails.
    I created one cP account, then I placed all addon domains in subfolders of such account.
    I have an .htaccess for the main cP accunt that contains config shared among all addon domains, then I have single .htaccess files for each addon domains if they need particular configurations.
     
  4. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Bigger question ---

    Why in the world are you using Cpanel instead of WHM?

    Forget about the performance complications, just think about the security complications, or worse the possible nightmare of keeping up and managing that.

    I just can't see any practical purpose of doing what you are doing and I am just curious as to what your reasoning or rational is being it ????
     
  5. nibb

    nibb Well-Known Member

    Joined:
    Mar 22, 2008
    Messages:
    301
    Likes Received:
    1
    Trophy Points:
    18
    I suppose he is using a single "unlimited" hosting account and reselling from it.

    The only problem I think that can happen is probably the interface taking longer to load then usual. You said it should be the same as adding normal accounts. Well first no. It isnt.

    WHM shows account in a bunch and is made to manage multiple account and records. Addons domains, im not sure what would be the limit until the interface takes to long to show.

    The other think that will probably slow down is the apache config, the more data you add, that means addon records, the more it will take to load.

    It all depends on hardware and how many you have. Just take into account its not made for that. Addon domains are not replace WHM and real accounts. They are just addons. So said that, I dont think its tested for to massive domain addons as its not the usual or proper way to use it. Its best to test it on your own and see when things slow down.
     
  6. Gino Viroli

    Gino Viroli Active Member

    Joined:
    Oct 2, 2007
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Thanks for the interest in my question, the reason is simple, and it's not to be cheap and not buy a WHM. I have WHM, but in place of creating dozens of cP accounts, one for each customer, I rather prefer creating one single account cP and dozens addon domains under it.

    Why am I doing this?

    Because everytime cP comes out with an update something gets screwed up in interface! Now fixing one cP is much easier than checking dozens of them to see if they work.
    Moreover I like to set in the public_html folder my php.ini configuration that recursively is applied to all folders under it. Since addon domains are created in subfolders of the public_html they get already set up with the proper php.ini configuration I need.

    I don't know how to explain, it's much easier to manage the all thing. I even have only one control panel to manage everything instead of switching around among WHM and dozens of cP accounts. :)
     
  7. Gino Viroli

    Gino Viroli Active Member

    Joined:
    Oct 2, 2007
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Thanks nibb, my replies below:

    Sorry for the ignorance, but when you talk about Apache config do you mean thet single .htaccess loaded under each addon domain?Or do you mean the main httpd.conf of Apache (I can not access it, coz' I'm on a reseller account). :(


    I definitely agree on this, that's why I was asking for suggestions. ;)
     
  8. Gino Viroli

    Gino Viroli Active Member

    Joined:
    Oct 2, 2007
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Any other ideas/suggestions?!?! :confused: :(
     
  9. Cyberdave

    Cyberdave Registered

    Joined:
    Jul 18, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    This is an interesting conversation but it sounds like a monumentally bad idea. At some point the customers will think there is something wrong with your hosting service for being too slow etc and jump ship! Also I wonder if the host provider being resold would consider this a violation of TOS?
     
Loading...

Share This Page