In e-commerce, speed means money. When a product page opens a few seconds late, some visitors leave before even reaching the cart; and a site crashing on a sale day means losing a sales opportunity you prepared for months. That's why what server an e-commerce site needs is one of the most important technical decisions when opening a store. In this post we explain hosting types, the factors that drive resource needs and concrete server recommendations by store size, in plain words.
Hosting Types: Which One Fits E-commerce?
| Type | Guaranteed resources | Performance | Scaling | Management effort | Best for |
|---|---|---|---|---|---|
| Shared hosting | None, shared with other sites | Low, variable | Limited | Very little | Only very small, brand-new stores |
| VPS / VDS | Yes (CPU, RAM, disk reserved for you) | Good, consistent | Easy by upgrading the plan | Medium (you manage it) | Most small and mid-sized stores |
| Managed VDS | Yes | Good, consistent | Easy | Low (provider manages it) | Businesses without a tech team |
| Dedicated server | The whole physical server | Very high | Via hardware upgrades | High | Large catalogs, high traffic |
| Multi-server / cloud architecture | Yes | Very high | Horizontal (adding servers) | High | Large stores with heavy campaigns |
Shared hosting may look like a cheap start, but since resources are shared with other sites, slowdowns at peak hours are inevitable. For a store with serious sales goals, the most sensible starting point is usually a VPS with dedicated resources. If you're curious about the differences, check out our what is VDS, what is VPS post.
Factors That Determine Your Server Needs
- E-commerce platform: WooCommerce, PrestaShop and OpenCart are relatively light; Magento (Adobe Commerce) needs extra services like a search engine, so it needs far more resources. With custom software, it depends entirely on the code.
- Number of products and variations: Thousands of products with dozens of variations each put serious load on the database and search.
- Concurrent visitors: More important than daily visitors is how many people are on the site at the same time. Cart and checkout steps can't be cached, so these users load the server the most.
- Campaign traffic: A site that runs fine on a normal day can see several times the traffic on sale days.
- Number of plugins: Every plugin means extra queries and code; especially in WooCommerce, too many plugins is the most common cause of slowness.
- Search and filtering: Category pages with lots of filters generate heavy database queries.
Rough Resource Needs by Platform
| Platform | Starting point | Recommended (growing store) | Note |
|---|---|---|---|
| WooCommerce | 2 cores, 4 GB RAM | 4 cores, 8–16 GB RAM | Plugin count and caching setup are decisive |
| PrestaShop / OpenCart | 2 cores, 4 GB RAM | 4 cores, 8–16 GB RAM | Depends on the number of modules |
| Magento (Adobe Commerce) | 4 cores, 8 GB RAM | 6–8 cores, 16–32 GB RAM | Search engine and cache services need extra resources |
These values are just to give a general idea; your theme, plugins and traffic can push needs up or down. The healthiest approach is to start small and grow based on monitoring data.
Server Recommendations by Store Size
| Store | Daily visitors (approx.) | Products | Recommended resources | VECDC plan |
|---|---|---|---|---|
| Small / new | Up to 1,000 | Up to 1,000 | 2 cores, 8 GB RAM, NVMe | VPS-1 (2 Core, 8 GB, 40 GB NVMe) – $6/mo |
| Growing | 1,000–5,000 | 1,000–10,000 | 4 cores, 12–16 GB RAM | VPS-2 (4 Core, 12 GB) – $9.75 / VPS-3 (4 Core, 16 GB) – $12 |
| Mid to large | 5,000–20,000 | 10,000+ | 6–8 cores, 24–32 GB RAM | VPS-4 (6 Core, 24 GB) – $18 / VPS-5 (8 Core, 32 GB) – $22.50 |
| Large, campaign-heavy | 20,000+ | Large catalog | App and database on seperate servers, load balancer if needed | Dedicated server or multiple VPSes |
Visitor numbers are a rough guide; with the same traffic, a well-optimized site can run comfortably on a much smaller server than a poorly configured one.
What to Look for in Hardware
- CPU: On PHP-based platforms each request is handled on a single core; core speed decides how fast a page is generated, and the number of cores decides how many requests can be served at once.
- RAM: The database buffer, PHP-FPM processes and caches like Redis live in RAM. When RAM runs out and the system starts swapping, the site suddenly slows down.
- Disk: An e-commerce database reads and writes constantly. NVMe disks cut query times a lot compared to classic SSDs and HDDs.
- Network and DDoS protection: Enough bandwidth and protection against attacks matter, especially during campaigns.
- Location: A server close to your customers reduces latency and makes pages load faster.
The Software Side: Half of Performance Is Here
Even the most powerful server can't save a badly configured software stack. Things to watch:
- Web server: Nginx or LiteSpeed with PHP-FPM; a current, supported PHP 8.x version.
- Database: Tune MySQL or MariaDB memory settings to the server's RAM.
- Caching: An object cache with Redis, and page caching for product and category pages. Cart, my account and checkout pages must be excluded from caching.
- CDN and images: Converting images to WebP/AVIF and serving them through a CDN noticeably reduces server load.
If you'd like to manage the server with a control panel, our CyberPanel, aaPanel and HestiaCP post will help.
Security and Payments
- SSL is a must: The whole site should run over HTTPS; for a free certificate see our free SSL with Let's Encrypt post.
- Updates: The e-commerce software, theme and plugins should be updated regularly; outdated plugins are the most common way in for attackers.
- Admin panel: Restrict access to the admin panel by IP and use two-factor authentication.
- Card data: Don't store card data on your own server. Using the payment provider's hosted payment page or iframe means card data never touches your server and greatly reduces your PCI DSS obligations.
- Personal data: When processing customer information you need to comply with personal data protection regulations, limit access and protect logs.
Backups
The most valuable thing on an e-commerce site is the order and customer database. Back up the database at least daily, hourly for busy stores, and keep backups somewhere off the server. Don't forget to test now and then that backups can actually be restored. Weekly backups are included in VECDC VPS plans, but for e-commerce we recommend adding your own more frequent backups.
Preparing for Campaigns
- Run a load test before the campaign to see how many concurrent users the site can handle.
- Upgrade the server to a higher plan for the campaign period if needed.
- Check page caching and the CDN, and disable unnecessary plugins.
- If traffic is very high, move the database to a seperate server.
- Set up monitoring that tracks CPU, RAM and error rates in real time.
When Should You Upgrade the Server?
| Symptom | Likely cause | What to do |
|---|---|---|
| CPU constantly above 80% | Not enough cores for the traffic or a heavy plugin | Check caching, move to a plan with more cores if needed |
| RAM full, swap in use | Not enough RAM for database and PHP processes | Move to a plan with more RAM, review PHP-FPM settings |
| Slow database queries | Missing indexes, large catalog, slow disk | Optimize queries, NVMe disk, a seperate database server if needed |
| Time to first byte (TTFB) rising | No page cache or an undersized server | Use page caching and Redis, add resources |
| 502/504 errors at peak hours | PHP processes or resources running out | Grow PHP-FPM settings and the plan, load test before campaigns |
Will You Manage the Server Yourself?
On a VPS or dedicated server, management is on you: updates, security settings, monitoring and backups. If nobody on your team can handle these, a managed service is a much safer choice. With our Managed VDS service you keep root access while we take care of updates, 24/7 monitoring and security configuration; you focus on selling.
E-commerce Servers with VECDC
VECDC virtual servers start at $6/month and are ready in about 5 minutes with automated setup. All plans include NVMe disks, dedicated CPU and RAM, a 1 Gbps connection, DDoS protection and weekly backups, and you can choose the location closest to your customers when ordering. As your store grows you can upgrade your plan, and for large catalogs and high traffic you can move to dedicated servers delivered within 24 hours.
Frequently Asked Questions
Is shared hosting enough for an e-commerce site?
It can be enough at first for very small, brand-new stores, but since resources are shared with other sites, you'll see slowdowns at peak hours and on sale days. For a store with serious sales goals, a VPS with dedicated resources is a much healthier start.
How much RAM does WooCommerce need?
A small WooCommerce store can run on 4 GB RAM, but 8 GB is a more comfortable start for plugins, the database and caching. For growing stores 12–16 GB RAM is recommended; the exact need depends on the number of plugins, products and concurrent visitors.
VPS or dedicated server for e-commerce?
For most small and mid-sized stores, a VPS with NVMe disks is enough, and upgrading the plan as you grow is easy. For very large catalogs, tens of thousands of daily visitors and heavy campaigns, a dedicated server or an architecture with the app and database on separate servers is a better fit.
How do I keep my site from crashing on sale days?
Run a load test before the campaign, use page caching and a CDN, disable unnecessary plugins and, if needed, upgrade the server to a higher plan for the campaign period. With very high traffic, moving the database to a separate server and monitoring resources in real time also matter.
In Short
The right server for an e-commerce site depends on your platform, your number of products and especially your number of concurrent visitors. For most small and mid-sized stores, a VPS with NVMe disks and dedicated resources is the best start; as you grow you can upgrade the plan, split off the database or move to a dedicated server. With proper caching, up-to-date software, SSL and regular backups, you'll be fine on campaign days too. If you can't decide which plan fits you, drop us a message and lets look at it together.