# Custom domain

To setup a custom domain for your event you must first have a DNS provider that allows `CNAME` for root and subdomains. Some DNS providers don't allow using `CNAME` for root domains (@), so in that case you must get the IP Address of our **Load Balancer**, however, we don't guarantee that the IP Address will not change, so we encourage you to always use a `CNAME` instead of `A` record.

#### CNAME

Your `CNAME` must point to the following address:

* North America region: `pages.inevent.com`;
* Europe region: `pages.inevent.uk`;

Once you have your `CNAME` set, you can now enable it using the API or using your admin dashboard. If you open your domain without setting up in your event, you will get an error message in the loaded page.

#### Using the Admin Dashboard

To setup a custom using the admin dashboard, please refer to our [FAQ Article](https://faq.inevent.com/l/en/in-event-registration/custom-domain#event_level).

#### Using the API

You can setup the custom domain by using the `event.edit` endpoint (please check [Editing events](https://developers.inevent.com/docs/editing-events) article) and the `cname` key with your domain as the `value`.

#### SSL Certificate

The SSL Certificate will be generated automatically (may take a couple of minutes) and will only support TLSv1.2.
