---
title: Setting up web farms
related:
  - https://docs.kentico.com/k82/custom-development/miscellaneous-custom-development-tasks/web-farm-internals-and-api.md
  - https://docs.kentico.com/k82/custom-development/miscellaneous-custom-development-tasks/web-farm-internals-and-api/creating-custom-web-farm-synchronization-tasks.md
  - https://docs.kentico.com/k82/configuring-kentico/managing-sites/configuring-settings-for-sites/settings-versioning-synchronization/settings-web-farm.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

Web farms distribute computing among multiple web servers that all provide the same content. Each server increases the number of requests that the web farm can serve, which allows you to scale the performance of the website. You can also use web farms to achieve high availability – if one of the servers in the web farm stops working, the other servers continue to run the site.Native web farm support in Kentico provides the following features:

- Synchronization of cache and content from a database to all web farm servers.
- Synchronization of changes made to the site settings on one of the servers to all other servers.
- Synchronization of files uploaded to the site between all servers. This is used only if you [store uploaded files on the disk](https://docs.kentico.com/k82/configuring-kentico/managing-files/storing-files.md) or on both disk and in the database.

The following image shows the structure of a web farm and how the synchronization works:

![Web farm schema](https://docs.kentico.com/docsassets/k82/setting-up-web-farms/webfarm_schema.png "Web farm schema")

If you change some settings or upload a file using server 192.168.1.2, the other servers do not know about it in a standard scenario. However, if you are using web farm synchronization, the system automatically creates a new synchronization task in the database, and notifies the other servers to process their task. To learn more about how the synchronization works, see [Web farm synchronization mechanisms](https://docs.kentico.com/k82/configuring-kentico/optimizing-website-performance/setting-up-web-farms/web-farm-synchronization-mechanisms.md).

To learn how to add web farm servers into the system and configure them, see [Configuring web farm servers](https://docs.kentico.com/k82/configuring-kentico/optimizing-website-performance/setting-up-web-farms/configuring-web-farm-servers.md).

> **Info:** **Note**: The web farm support doesn't replace load-balancing or web farm management tools.

**To set up web farms:**

1. [Choose a synchronization mechanism.](https://docs.kentico.com/k82/configuring-kentico/optimizing-website-performance/setting-up-web-farms/web-farm-synchronization-mechanisms.md)
2. [Configure the web farm servers and enable web farm synchronization.](https://docs.kentico.com/k82/configuring-kentico/optimizing-website-performance/setting-up-web-farms/configuring-web-farm-servers.md)
