> ## Documentation Index
> Fetch the complete documentation index at: https://www.macaly.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Domains & hosting

> Learn how to publish your site and use free or custom domains

Publishing makes your project available on the internet. Macaly handles hosting, deployment, and SSL for you, so you don’t need to configure servers or connect third-party services.

## **What is a domain?**

A domain is the address people type into their browser to visit your website, like [example.com](http://example.com).

Think of it as the public name of your site. When someone opens that address, their browser loads the content of your project. In Macaly, you don’t need to set this up upfront. Publishing your project automatically gives you a working domain so your site is immediately accessible.

## **Free Macaly subdomain**

Every published Macaly project goes live on a free Macaly subdomain, for example:

```
https://myproject.macaly-app.com
```

This lets you go online instantly. You can use this link to preview your site, share it with others, or launch without worrying about domains or hosting. You can keep using the Macaly subdomain or switch to a custom domain later without changing your project.

## **Custom domain**

A custom domain is a branded address like [example.com](http://example.com).

If you want your site to live on your own domain, Macaly gives you two options:

* Connect a domain you already own from any registrar
* Buy and register a new domain directly inside Macaly using credits

<Tip>
  Macaly is part of the [team.blue ecosystem](https://team.blue/ecosystem/), which includes trusted local hosting and domain providers across Europe such as Active24 (CZ), Websupport (SK), Combell (BE), Register.it (IT), and many more. If you need a domain registrar, these are a natural fit.
</Tip>

## **How to Publish your Web or App**

<Steps>
  <Step title="Publish your project">
    Click **Publish** in the top-right corner of the editor. Macaly builds and deploys the latest version of your project automatically.

    Once publishing finishes, your site is live on a free Macaly subdomain and ready to be shared or connected to a custom domain.

    <img src="https://mintcdn.com/macaly-41b1d3e9/nsRC1lPYDUod7gDZ/images/new-DOMAINS&HOSTING1.png?fit=max&auto=format&n=nsRC1lPYDUod7gDZ&q=85&s=5acdf607ea91645a21da9a9b224ae900" alt="New DOMAINS&HOSTING1" width="2168" height="1356" data-path="images/new-DOMAINS&HOSTING1.png" />
  </Step>

  <Step title="Connecting a domain you already own">
    Open **Settings → Domains**, enter your domain, and click **Connect**. Macaly will show you the exact DNS records you need to add. Copy these values into your domain provider’s DNS settings.

    <img src="https://mintcdn.com/macaly-41b1d3e9/nsRC1lPYDUod7gDZ/images/new-DOMAINS&HOSTING2.png?fit=max&auto=format&n=nsRC1lPYDUod7gDZ&q=85&s=0991ffb9e6a3df38b8ae12bccff3fca9" alt="New DOMAINS&HOSTING2" width="2168" height="1356" data-path="images/new-DOMAINS&HOSTING2.png" />
  </Step>

  <Step title="Buy and connect a domain in Macaly">
    Open **Settings → Domains**, search for a domain name, and check availability.

    <img src="https://mintcdn.com/macaly-41b1d3e9/nsRC1lPYDUod7gDZ/images/new-DOMAINS&HOSTING3.png?fit=max&auto=format&n=nsRC1lPYDUod7gDZ&q=85&s=7d554752147140d323fd245f2febed79" alt="New DOMAINS&HOSTING3" width="2168" height="1356" data-path="images/new-DOMAINS&HOSTING3.png" />

    <img src="https://mintcdn.com/macaly-41b1d3e9/nsRC1lPYDUod7gDZ/images/new-DOMAINS&HOSTING4.png?fit=max&auto=format&n=nsRC1lPYDUod7gDZ&q=85&s=6992ad4b208289b2ca775620034db023" alt="New DOMAINS&HOSTING4" width="2168" height="1356" data-path="images/new-DOMAINS&HOSTING4.png" />
  </Step>
</Steps>

## **Hosting**

Macaly handles hosting and deployment for you, powered by **Vercel**. When you publish a project, it’s deployed automatically, served securely over HTTPS, and optimized for performance and SEO by default. You don’t need to manage servers, SSL certificates, or a separate hosting provider.

## **Hosting plan**

If you only need to keep a site live on a single custom domain without using AI credits, you can use the [**Hosting plan**](/en/welcome/pricing#hosting-plan) (\$5/month). This plan is designed for simple, long-running websites where you just want reliable hosting without ongoing edits or AI usage. It is only available as a downgrade from a Pro plan.

## **Frequently asked questions**

<AccordionGroup>
  <Accordion title="How do I connect my own custom domain?">
    In your project, go to **Settings → Domains**, type your domain name, and click **Connect**. Macaly will show the DNS records you need to add. Go to your domain registrar and add the A record and CNAME record as shown. After saving the records, return to Macaly and click **Refresh**. Connecting a custom domain requires a Pro or Hosting plan.
  </Accordion>

  <Accordion title="What DNS records do I need to add for my custom domain?">
    You typically need two records:

    * An **A record** for the root domain pointing to Macaly's IP address
    * A **CNAME record** for `www` pointing to Macaly's hostname

    The exact values are shown in **Settings → Domains** when you add your domain.
  </Accordion>

  <Accordion title="My site works at www but shows an SSL error at the bare domain. How do I fix it?">
    Add an A record for the bare/apex domain pointing to Macaly's IP address (`216.150.1.1`). Remove any existing conflicting A or AAAA records for the root domain. [Contact support](mailto:support@macaly.com) if you are unsure which records to remove.
  </Accordion>

  <Accordion title="My domain still shows Pending or Not connected. What should I do?">
    Double-check that the DNS records at your registrar exactly match what Macaly shows. Remove any conflicting records. Click **Refresh** in the Macaly Domains panel. DNS propagation can take up to 24 hours.
  </Accordion>

  <Accordion title="Can I purchase the Hosting plan if I'm on the Free plan?">
    No. The Hosting plan is not available on the Free plan. To use the Hosting plan, you need to upgrade to a Pro plan first.
  </Accordion>

  <Accordion title="Can I set up email for my custom domain?">
    Macaly does not provide email hosting. For email on your custom domain (e.g. [info@yoursite.com](mailto:info@yoursite.com)), sign up with a third-party provider such as Google Workspace, Zoho, or Microsoft 365, and configure their MX records with your registrar. Once you have an email address, the Macaly agent can set up contact forms to send notifications to it.
  </Accordion>
</AccordionGroup>
