Setting CentOS + CPanel + Mail to run Magento website

May 12, 2015 3.5k views
Email Control Panels

Hi,

I want to buy VPS for 10$ with cPanel & WHM VPS. I want to run Magento e-shop on that VPS.

The questions are:

  1. Whats difference between cPanel & WHM VPS and cPanel & WHM Dedicated ???

  2. If I buy Cpanel, I can create emails normally way in Cpanel?

  3. Do I need to buy two VPS one for Magento and one for database???

I bit confused, coz people told me that database is better to run on separate VPS.

We have more sites on shared hosting (around 40 - all wordpress). and around 6 Magento website. What is the best way to sort this ?

  1. All wordpress sites on one big VPS with one dedicated CPanel

  2. All databases on one VPS?

  3. Each Magento website on separate VPS with own Cpanel?

So for this I need 1 big VPS 30$ a month + 1 VPS 20$ a month for databases and for each Magento website 10$ VPS.

Can you navigate me if this is correct? Thank you

Mike

3 comments
  • so now the last question:

    Whats better CentOS or Ubuntu? I want to use ZPanel coz is easy to install then ISPConfig.

    What you think?

  • Hey Mike,

    OS choice depends on the application that you plan to use, requirement of that, in case of zPanel or Sentora, it supports both CentOS and Ubuntu..

    Choose the one with which you have comfortable with.. Both are good enough.. Personal for my setup, with zPanel (when I did my setup, zPanel was still alive and supported), went with CentOS..

    Thanks..

  • I go for Ubuntu with ISPConfig panel. The installation was nice and smooth. thanks

5 Answers

Hey Mike,

Most of the question you have asked is answered in the cPanel.net as FAQ, so I would try to link them, do give them a read for detailed info..

cPanel version difference

Check this -> https://store.cpanel.net/help/

So here, in DO, you need that VPS..

If I buy Cpanel, I can create emails normally way in Cpanel?

Yes, it makes life easier.. You deploy a clean DO VPS with supported OS, the follow cPanel installation guide (really simple) and that is it, cPanel software does the rest.. Once installation is done, you may use it the way you used the shared hosting cPanel but here, being your own, you may have many options to play with..

Do I need to buy two VPS one for Magento and one for database???

If you play to run two different VPS or droplet as it is called here, then for each you need separate cPanel license !!

Note

As per cPanel system requirement, you need at-least 2 GB plan for cPanel..

What is the best way to sort this ?

If you have customers who access back end, put them on cPanel and where as eShop websites, if they are not managed by customers them self, use different DB server and Web Server for them without cPanel..

I bit confused, coz people told me that database is better to run on separate VPS.

Only if the load is high enough to take the advantage !!!

So If I understand clearly:

  1. For one Magento website I need to get 2GB VPS with cPanel & WHM VPS
    (if there is a very high traffic the database has to be on separate VPS)

  2. I dont think customers will access back-end at all. I wanted CPanel for easy use for me. (Maybe dont need at all), I am good in terminal.

  3. So if I dont have CPanel I need separate VPS for emails and install Postfix E-Mail Server with Dovecot?

  4. What about 40 Wordprsss websites? What is the best option?

[deleted]
  • Hey Mike,

    Let me try to simplify the things..

    I dont think customers will access back-end at all. I wanted CPanel for easy use for me. (Maybe dont need at all), I am good in terminal.

    VPS is just like a computer.. With full access to deploy any OS and being on Linux, it would run anything that a Linux PC back home can..

    Single VPS can run everything needed to run a website, including but not limited to, Web Server (apache or anything you chose), Email Server, FTP Server, Database Server and so on..

    So if I dont have CPanel I need separate VPS for emails and install Postfix E-Mail Server with Dovecot?

    All these terms, are actually services, so you can install those respective application, like apache, mysql or php and so on in a single VPS.. cPanel or such control panel does the same and presents you with a web GUI but as you said you are good with terminal, you can manually install and configure those packages too (saving you some money on cPanel)..

    Note here, there are other less featured control panel in market too, they are free, like zPanel or such..

    *For one Magento website I need to get 2GB VPS with cPanel & WHM VPS *

    Right but if you are good in terminal, you can try without cPanel hence allowing you the ability to start with lower power VPS and if load goes high, you can upgrade on high plans.. Fun of DO is upgrading to high plans are simple, few clicks and may be couple of hours to down time at max..

    What about 40 Wordprsss websites? What is the best option?

    Well, being a developer and webmaster I am sure you understand the load factor.. If configured correctly with no resource hungry (unnecessarily) plug ins, you can manage that with single 2 GB droplet, if needed you can also opt for 1 GB primary and 1 GB database (separately)..

    See man, its hard to predict without actually trying things to understand the traffic and load factors.. So best thing is to jump in for a trial run.. With DO, the fun is hourly billing and ability to keep snapshot to try different configuration and setup to find the right balance..

    Note few points,

    You will need separate VPS for every site you plan to run SSL on, since that requires dedicated IP and as far as I know, DO gives only one IP per VPS.. So if, rather I am sure your eCommerce websites are with SSL hence, drop cPanel, keep their database on single server (larger VPS) and use smaller droplets for each website's web server (along with email, FTP) to use the dedicated IP for SSL configuration !!

thanks man, you answered all my questions.

so going for CentOS 2GB for magento with ISPConfig Cpanel which is free and same functions as CPanel.

For Wordpress I will start at 1GB CentOS and after increase it.

  • Just an off topic point,

    Have you tried DirectAdmin ??

    Cheaper than cPanel and I think their license allows multi server setup.. Not sure, but if you like it, do have a chat with their sales team..

    Personally I like DirectAdmin more than cPanel.. It is way too resource friendly compare to cPanel and cheaper too (has one time purchase option)..

I go for Ubuntu with ISPConfig panel (free and same option with multiserver control). The installation was nice and smooth. thanks

Have another answer? Share your knowledge.