# Frontend and Backend Domains

> What the frontend, backend and API are, why your exchange uses separate frontend and backend domains, and how one backend can serve several website projects.

Your exchange uses two kinds of domain: a **frontend** domain for the website your users visit, and a **backend** domain for the API that powers it. This page explains what each one does and how they fit together.

## What are the frontend and backend?

Every website is made up of two main parts: the frontend and the backend.

- The **frontend** is what most people think of as "the website". It's the visual interface users see and interact with in their browser.
- The **backend** is the engine behind the scenes. It's where the logic, data processing and decision-making happen: invisible to the user, but essential to how the site works.

A helpful way to picture this is a restaurant. The frontend is the **dining room**: the space customers sit in, designed to look and feel welcoming. The backend is the **kitchen**: customers don't see it, but it's where the real work happens.

## What is an API?

An API is the **waiter** in this restaurant.

The waiter takes a customer's order (a request from the user) to the kitchen (the backend), waits while the kitchen prepares it, and brings the finished dish back to the customer.

In technical terms, an API (Application Programming Interface) is what lets the frontend communicate with the backend, passing requests one way and delivering responses back the other.

This is also why an exchange uses more than one domain. One is the domain users see and type into their browser's address bar (the dining room). Others work behind the scenes to process requests (the kitchen, and the waiters carrying orders between them).

## How this applies to your exchange

When your exchange is first set up, you configure two domains: one for the backend and one for the frontend.

- **Backend (API) domain:** the kitchen of your exchange. Your users don't visit it directly, and it doesn't lead to any webpage they use. HollaEx can provide it, or you can set your own. It's set on the [Hosting page](/hollaex-dashboard/exchange-hosting#backend-domain-domain-tab).
- **Frontend (website) domain:** the restaurant's address, which your users visit to use your exchange. You set it up on the **Projects** page as part of a [website project](/hollaex-dashboard/website-hosting). HollaEx can provide it, or you can use your own custom domain: see [Connecting a Domain to Your Website](/hollaex-dashboard/website-domains#custom-domain-setup).

## Multiple projects

Because the frontend and backend are separate, you can create several frontends that all draw from a single backend. You can run different user interfaces, each with different functionality and hosted on a different URL, with only one HollaEx backend subscription.

Custom development by HollaEx, such as templates or custom builds, is charged separately from your subscription. If you build the frontend yourself, there's no additional cost.
