# DNS Configuration

Configure DNS records and TLS for your Capyshop deployment so customers can access your store via a custom domain.

## Prerequisites

- A registered domain name (e.g., `mystore.com`)
- A server with a public IP address running your Capyshop instance
- Access to your domain registrar's DNS management panel

## 1. Configure DNS Records

At your domain registrar (e.g., Cloudflare, Namecheap, GoDaddy), create the following DNS records pointing to your server's IP address:

| Type  | Name  | Value         | TTL |
| ----- | ----- | ------------- | --- |
| A     | `@`   | `<server-ip>` | 300 |
| CNAME | `www` | `mystore.com` | 300 |

Replace `<server-ip>` with your server's public IP and `mystore.com` with your actual domain.

- The **A** record maps your root domain (`mystore.com`) to the server IP.
- The **CNAME** record maps the `www` subdomain (`www.mystore.com`) to the root domain.
