No results found

Try a different search query

Popular searches:

Add to Cart

Cart

You have no purchases yet

Browse Marketplace
Original Subtotal:
Product discounts:
Quantity Discount:
Total:
View Cart
Getting started and choosing a platform

OpenCart Hosting and Domain for Your Store: What to Check Before Launch

How to Choose a Domain and Hosting for OpenCart 3.0 and 4.1: Server Requirements, SSL, Domain Email, Backups, Data Center Location and Common Launch Mistakes.

10 min read

Hosting for OpenCart should meet three conditions. It runs the PHP versionThe language version on the hosting. 3.0.4.1 requires at least PHP 7.3, while 3.0.5.1 and 4.1.0.4 require at least PHP 8.1; check extension compatibility before updating. More in the glossary → and extensionsAdditional functionality: a module, a payment or shipping method, a feed, or a theme. They are managed in "Extensions → Extensions." More in the glossary → required by your OpenCart branch. You have full access to files, the database, and cron. Backups are made regularly, and you can actually restore from them. Register the domain in your own name or your sole proprietorship's or LLC's name, not the developer's. Then a move, a change of contractor, or a change of host won't become a problem.

Which domain should you choose for an online store in Ukraine?

The domain is the store's address, the one the customer sees and remembers. You can change it later, but it's expensive: you'll need to set up 301 redirects, SEO will temporarily drop, and you'll have to reprint packaging and business cards and update your ad accounts. So it's better to choose the domain once and get it right.

Consider the following:

  • Zone. For a store selling across Ukraine, .com.ua or .ua make sense. They immediately tell both customers and search engines where you operate. If you plan to enter the EU, consider .com or the national zones of specific countries. Registration rules differ across Ukrainian zones, so check the current requirements with your registrar.
  • Latin letters, short, no hyphens. Cyrillic domains (.укр) exist, but in emails, messengers, and ad links they often turn into unreadable punycode.
  • Domain owner. Your name or your company's name should be in the registration data, and you should have access to the registrar account. The most common story at launch: the developer registered the domain under their own name, and a year later they disappeared.
  • Auto-renewal. Turn it on and link a card with a valid expiry date. An expired store domain can be grabbed by others.

The registrar and the host don't have to be the same company. Many people prefer to keep the domain separate: when you change hosting, only the DNS records change, meaning the settings that point visitors to a server, while the domain itself stays where it is.

What are OpenCart's technical requirements for hosting?

OpenCart is a PHP application with a MySQL or MariaDB database. It doesn't need anything exotic, but a few points are critical. During installation, the installer checks the server itself and shows what's missing. Still, it's better to find out before paying for a plan. The installation process itself is described in the article on installing OpenCart on hosting for 3.0 and 4.1.

ParameterOpenCart 3.0 (3.0.4.1, 3.0.5.1)OpenCart 4.1 (4.1.0.4)
PHP3.0.4.1 — PHP from 7.3; 3.0.5.1 — PHP from 8.1. Check the exact range at the server check step in the installerPHP 8.1 or newer
PHP extensionsGD, cURL, OpenSSL, ZIP, Zlib, mbstringThe same basic set
DatabaseMySQL/MariaDB, MyISAM tablesMySQL/MariaDB, InnoDB tables
SEO URLs (clean URLs)Apache with mod_rewrite and .htaccess, or rules for nginxThe same
Write permissionsimage/, system/storage/ (or an external storage)image/, storage (recommended outside the public folder)

Beyond the minimum requirements, check a few more things:

  • Switching the PHP version in the control panel. Without this, updating OpenCart or modules turns into a quest of emailing tech support.
  • PHP limits: memory_limit roughly from 256M, and max_execution_time and upload_max_filesize with some headroom. These limits determine whether an import of products from Excel and CSV with several thousand items will complete.
  • Cron. This is the scheduler for background tasks: updating exchange rates, exporting feeds, syncing with CRM and delivery services.
  • SSH and phpMyAdmin. Developers need them for diagnostics. Without SSH, many tasks take twice as long.
  • Ability to move storage outside the public folder. After installation, the admin area of both branches suggests doing this, and the hosting needs to support it.

Shared hosting, VPS, or cloud: what should you choose at the start?

Shared hosting (virtual hosting) means hundreds of sites live on one server and share the processor and memory. A VPS is a virtual server with guaranteed resources, but you have to administer it yourself. In between is a managed VPS: resources are allocated, and the host takes care of configuration and updates.

OptionWho it suitsRisks
Shared hostingLaunch, catalogs up to a few thousand products, moderate traffic"Neighbors" consume resources, strict limits, SSH isn't always available
Managed VPSA store with advertising, imports, tens of thousands of productsMore expensive, but no need to keep an admin on staff
Unmanaged VPSIf you have your own technical specialistSecurity, updates, and backups are entirely your responsibility
Cloud (cluster, autoscaling)Large stores with sharp traffic spikesComplexity and cost are excessive for a small business

A practical rule: start on a quality shared plan or a managed VPS that lets you upgrade to a higher tier without migrating. Prices in hryvnias vary widely, so plan for an approximate amount that depends on catalog size, traffic, and whether administration is included. How to fit hosting into the overall budget is covered in the calculation of how much an OpenCart store costs.

The main mistake is choosing the cheapest plan "for now." The store launches, you turn on advertising, and at the most important moment the site responds in 3–5 seconds. If speed drops right after launch, go through the list of reasons why OpenCart runs slowly. Hosting is just one of twelve possible causes there.

Where should the server be located: in Ukraine or the EU?

For customers in Ukraine, the latency difference between a Kyiv data center and, say, one in Poland or Germany is small. Template, modules, and caching affect page speed much more. So reliability matters more than distance.

Since 2022, Ukrainian store owners have looked first at resilience to power outages and infrastructure attacks. Before choosing, ask the host:

  • Does the data center have generators and a fuel reserve, as well as several independent communication channels?
  • Where are backups physically stored: on the same server, in another data center, or in another country?
  • Is there DDoS protection (attacks that overload a site with mass requests), and is it included in the plan?
  • How does support work: 24/7, in Ukrainian, and with what response time?

For many, a sensible compromise is a host with Ukrainian support and billing in hryvnias, but with servers, or at least copies of data, in the EU. If you process personal data of EU customers, hosting there makes compliance with European requirements easier. It's best to clarify the details with a lawyer.

How do you set up SSL, email, and DNS after buying hosting?

An SSL certificate gives the site an address starting with https:// and a padlock in the browser. Without it, browsers flag checkout forms as unsafe, and payment services won't connect. A free Let's Encrypt certificate is sufficient for a store, and most hosting control panels issue and renew it automatically.

Switching to HTTPS in OpenCart

Examples are for OpenCart 4.1; in 4.0.x, model triggers and event handling differ. For HTTPS this doesn't matter, since here we're only dealing with addresses in configs. In both branches, the store address is set in two files: config.php in the root and admin/config.php.

// OpenCart 3.0: config.php у корені
define('HTTP_SERVER', 'https://example.com.ua/');
define('HTTPS_SERVER', 'https://example.com.ua/');

// OpenCart 4.1: config.php у корені
define('HTTP_SERVER', 'https://example.com.ua/');

In 3.0, additionally enable "Use SSL" in "System → Settings" on the "Server" tab. SEO URLs are also enabled on this same tab. How to configure them and what to do when they break is described in the article on SEO URLs in OpenCart.

Server tab: SEO URL and "Use SSL" toggles in OpenCart 3.0
Server tab: SEO URL and "Use SSL" toggles in OpenCart 3.0 · OpenCart 3.0.5.1

After that, set up a 301 redirectA permanent redirect from an old address to a new one. Mandatory when the structure changes. More in the glossary → at the server level from http to https, and from www to the version without www (or the reverse). The site should open at only one address, otherwise search engines see duplicates.

Email on your domain

An address like info@ваш-домен inspires more trust than a free mailbox. But more important is that order emails don't land in spam. To achieve this, add SPF, DKIM, and DMARC records to DNS, and have OpenCart send emails via SMTP rather than the hosting's mail() function. Step-by-step setup and common mistakes are covered in the article on SMTP in OpenCart.

What should you check with the host regarding backups and security?

A backup, meaning a copy of the files and database, is what people remember when it's already too late. Words like "we have backups" in a plan description guarantee nothing. Before paying, find out:

  1. Frequency and depth. Daily copies stored for at least 7–14 days. If you notice a problem a week later, yesterday's copy won't help.
  2. Whether the database is included. Some plans copy only files, while orders and customers live in the database.
  3. Self-service restore. Can you restore a single file or the database from the control panel without a support ticket?
  4. An external copy. Set up your own copy outside the host (cloud storage, another server) and test-restore it to a test subdomain once a month.

The full scheme, including restore verification, is in the article how to set up an OpenCart backup.

From the hosting provider, you need at a minimum: account isolation on shared servers, up-to-date PHP versions, a firewall, and antivirus file scanning. The rest is on your side: a renamed admin URL, strong passwords, and no nulled modules. The full list is compiled in the OpenCart security checklist.

Which domain and hosting mistakes most often cost a lot?

Most launch problems repeat from store to store. Here are the most expensive ones:

  • Developing directly on the live domain without blocking indexing. Google manages to index demo products and test pages. Do development on a subdomain like dev.ваш-домен, protected by a password, and move the finished site to the main domain.
  • Hosting paid with a developer's or freelancer's card. If the payment fails, the site gets switched off, and you learn about it from customers.
  • An old PHP version with no upgrade option. Modern modules and OpenCart 4.1 simply won't run on it.
  • No cron or SSH. Integrations with Nova PoshtaThe most popular carrier in Ukraine. The integration usually pulls cities and branches through an API. More in the glossary →, CRM, and feeds for Google Merchant CenterA Google service where the product feed for Shopping ads is uploaded. It requires correct prices, availability, and identifiers. More in the glossary → have to be run manually or through third-party services.
  • A "hot" migration. Changing hosting without a plan, with DNS changes during peak sales. The safe order is described in the guide to moving OpenCart to another host, and if the domain or URL structure is also changing, the plan for moving a store without losing traffic will help.

Summary

  • Register the domain in your own name or your business's name, with auto-renewal and your own access to the registrar account.
  • Choose hosting for OpenCart based on your specific branch: for 4.1 and 3.0.5.1 you need PHP 8.1 or newer (3.0.4.1 works from PHP 7.3); for both branches, the full set of extensions, mod_rewrite or nginx rules, cron, and SSH.
  • At the start, quality shared hosting or a managed VPS is enough. What matters is being able to move to a higher tier without migrating.
  • Choose the server location for reliability: power, communication channels, DDoS protection, and backups in a separate location.
  • Set up HTTPS right away, a single site address, domain email via SMTP, and external backups with restore verification.

Next, install OpenCart and complete the basic setup, and check the overall sequence of steps against the step-by-step order for launching an online store. Other decisions to make before development are collected in the section "Start and platform selection".

FAQ

Can I keep my domain with one registrar and my site with a different host?
Yes, this is a common practice. At your registrar, you simply point the DNS servers or the A record to your hosting, and you won't need to transfer the domain itself when you change hosts.
Do I need a paid SSL certificate for an online store?
For most stores, the free Let's Encrypt is enough: its encryption is the same. Paid certificates with organization validation are only needed for the requirements of certain partners or for corporate image.
How much disk space does an OpenCart store need?
OpenCart itself takes up little space. The bulk comes from product photos, their thumbnails, cache and logs. Calculate based on the number and weight of photos and leave at least double that space for backups and catalog growth.
Can I host several stores on one hosting plan?
Yes: either as separate installations on different domains, or through OpenCart's built-in multi-store feature with a single admin panel. Just keep in mind that the plan's resources will be shared among all the sites.
How do I tell that my store has outgrown its current hosting?
Signs include regular 503 or 508 errors due to limits, slow server response times with low traffic, and interrupted imports. If template and cache optimization doesn't help, it's time to switch to a VPS.
Was this article helpful?
Thanks for your feedback!

Related articles

Didn't find the answer?

Ask the community: OpenCart developers answer on the forum.

Ask on the forum
We use cookies

We use cookies and similar technologies to improve your experience, analyse traffic, and show personalised ads. Read our Cookie Policy for details.