Start your 7 Day free TrialNo credit card required

Hosting

How to speed up WordPress or Shopware on Hetzner

Varnish, OPcache, Redis and PHP processes on Hetzner web hosting explained, and how to connect your Hetzner domain to fast.site.

6 min read

To speed up WordPress or Shopware on Hetzner web hosting, turn on what konsoleH already offers: the Varnish page cache with Hetzner's ready-made template for WordPress or Shopware, OPcache for PHP and, on Webhosting L and XL, Redis as an object cache. Then check that your plan has enough PHP processes for your traffic. Hetzner web hosting runs only in Nuremberg, Germany, and Hetzner has no CDN of its own, so if many visitors come from far away, a service in front of your site, such as fast.site, can serve them from closer by.

fast.site is not affiliated with Hetzner. Plan details and menus below are as Hetzner documents them in November 2026, and they may change.

What Hetzner web hosting gives you

Hetzner sells web hosting as Webhosting S, M, L and XL, managed in konsoleH. For larger sites there are Managed Servers. For speed, these are the parts that matter:

  • Varnish. A page cache in front of PHP: it keeps finished pages and sends them without running WordPress or Shopware again. Hetzner includes it on all web hosting plans and offers configuration templates for WordPress, Shopware and Magento.
  • OPcache. Keeps compiled PHP code in memory. You switch it on as a PHP extension.
  • Redis. An object cache that keeps database results in memory, which helps pages that can't be cached as a whole, such as the cart or the admin area. Hetzner offers it from Webhosting L and on Managed Servers.
  • PHP processes. How many PHP requests your site can process at the same moment. Hetzner lists 2 on Webhosting S, 5 on M, 10 on L and 20 on XL.

For online shops, Hetzner names Webhosting XL as suitable, for example with Shopware or WooCommerce, and rates L as limited for shops.

Speed up your site inside konsoleH

1. Turn on Varnish with the right template

In konsoleH, open your hosting and go to Services > Varnish configuration. Choose the template for WordPress or Shopware rather than writing rules yourself. Afterwards, check that personal pages such as the cart, checkout and customer account still show the right content for each visitor.

2. Enable OPcache

Go to Services > PHP Configuration and switch on the OPcache extension. While you are there, check that you use a current PHP version your theme, plugins or extensions support.

3. Use Redis on L and XL

On Webhosting L or XL, activate Redis under Services > Redis. In WordPress you connect it with an object cache plugin. Shopware can use Redis for its caches too, which is usually a job for your developer or agency. Our Shopware 6 performance guide covers the Shopware side.

4. Keep the site light

Resize images before uploading (see optimizing images), remove unused plugins or extensions, and check third-party scripts such as chat widgets and trackers.

Where the limits are on Hetzner

  • PHP processes. With 2 processes on Webhosting S, only two uncached requests are processed at once; the rest wait. Varnish takes most guest page views off PHP, but carts, checkouts, searches and the admin area still need it. If a shop slows down during a sale, this is often why.
  • One location. Hetzner web hosting runs only in its data centre park in Nuremberg. For visitors in Germany and nearby countries that is close. Visitors in North America or Asia wait for every request to travel there and back. See why a website is slow for visitors in other countries.
  • No Hetzner CDN. Hetzner doesn't sell a CDN and, for its object storage, recommends using a third-party CDN.

Measure before you decide: run your homepage and one important page through corewebvitals.page and note the results.

How fast.site works with Hetzner

fast.site is a service in front of your website. Your site stays on Hetzner. You change your domain's nameservers to fast.site. Nameservers are the setting that says which company answers for your domain. From then on, visitors reach fast.site's edge servers first, which serve public pages and files from the regions included in your plan. Only what is not cached goes to Nuremberg.

  • Hetzner's Varnish and Redis keep working behind fast.site and still speed up the requests that reach your server.
  • Logins, carts and checkouts keep working, because WordPress, WooCommerce and Shopware mark them as not cacheable and fast.site follows that.
  • JPEG and PNG images are converted to WebP on plans with image optimization, and every domain gets DDoS protection and free SSL.

After a change, clear the cache in your shop or WordPress and in Varnish first, then purge the page in fast.site, in the dashboard or via the API. The Shopware page and WordPress page have details.

How to connect your Hetzner domain to fast.site

Before you change anything

Hetzner says that as soon as you use external DNS servers, the settings in its DNS administration are no longer relevant. Every record must exist at fast.site.

  1. Note your DNS records in konsoleH under Services > DNS Management.
  2. If your email is at Hetzner, note the MX record (it points to your server name under your-server.de) and the autoconfig CNAME Hetzner documents, plus SPF and DKIM if you use them.

Add the domain in fast.site

Add your domain in the fast.site dashboard. It looks up the DNS records it can find and lists them, email records first. DNS doesn't let anyone list every record, so compare the list with your notes and add anything missing.

Change the nameservers at Hetzner

If your domain is registered through Hetzner in konsoleH:

  1. Select the domain in konsoleH.
  2. Under Services, click DNS Management, then Change Nameservers.
  3. Enter the two nameservers from your fast.site dashboard. Hetzner requires at least two and doesn't allow mixing its own nameservers with external ones.
  4. Save the change.

Hetzner says the change can take up to 24 hours, and that some top-level domains don't support automatic updates, so these are handled during support hours. If your domain is registered somewhere else, you change the nameservers there; konsoleH can't do it. fast.site checks the change in the background and emails you when your site is live. Our nameserver checklist explains what happens in between.

Check the result

Request a page twice and look for HIT in the fs-cache response header. Test the login, the cart and the checkout, and send an email to your domain from an outside address.

FAQ

Does Hetzner have a CDN?

Hetzner doesn't sell a CDN product. For files in its object storage, it recommends a third-party CDN. For web hosting, the caching options are Varnish, OPcache and Redis.

Which Hetzner web hosting plan is best for WooCommerce or Shopware?

Hetzner names Webhosting XL as suitable for web shops, for example with Shopware or WooCommerce. It has the most PHP processes and includes Redis. Larger shops move to a Managed Server.

Where are Hetzner's web hosting servers?

Hetzner says its web hosting runs only in its own data centre park in Nuremberg, Germany. You can't choose another location for web hosting.

Is Varnish on Hetzner enough to make WordPress fast?

For guest visitors near Germany, Varnish with the WordPress template often gets you most of the way. Logged-in users, carts and visitors on other continents are where you still see delays.

Will my Hetzner email keep working after I change nameservers?

Yes, if you add the MX record, the autoconfig CNAME and your SPF and DKIM records at the new DNS provider before you switch. Send a test email afterwards.

Test it on your own site

fast.site adds edge caching, image optimization and DDoS protection in front of your existing hosting. Connect your domain and measure the difference on your own pages.

Give your website 7 days. Let the results decide.

Start with your own domain, your own traffic and a clear understanding of what comes next.