# Use your own domain

> Point your own domain or subdomain to BCL with one DNS A record, then turn on Use Custom Domain in Team Profile.
>
> Source: https://docs.bcl.my/custom-domain/

Your customers can reach your BCL forms on your own domain, such as `order.yourshop.com`, instead of a bcl.my address. You point the domain to BCL in your DNS, then switch it on in BCL.

## Before you start

You need these before you set up a custom domain:

- A BCL account connected to an approved Bayarcash account. See [Connect your Bayarcash account](/connect-bayarcash/).
- The owner or admin role in BCL.
- A domain you own, and access to its DNS settings at your domain provider or at Cloudflare.

> **Tip**
> No domain yet? You can buy one from [Web Impian's domain store](https://billing.webimpian.com/?category=domains), then come back here to point it to BCL.

## Add the DNS record

At your DNS provider, add one record with these values:

- **Type**: A
- **Name**: the domain or subdomain you want to use, for example `order` for `order.yourshop.com`
- **IPv4 address**: 210.79.174.16

On Cloudflare, go to **DNS** → **Records** and click **Add record**. Fill in the values above and turn off **Proxy status** so it shows **DNS only**. Then click **Save**.

*(Screenshot: Cloudflare Add record form with type A, name order, IPv4 address 210.79.174.16 and proxy status set to DNS only)*

> **Caution**
> Keep the Cloudflare proxy off. The record must point straight to BCL's address.

## Turn on your domain in BCL

After the DNS record is saved:

1. Click your company name at the bottom of the sidebar and choose **Team Profile**. You can also go to **Team** → **Team Profile** in the sidebar.

   *(Screenshot: The Account Menu open above the account card, with Team Profile highlighted)*

2. The **Merchant Settings** page opens on the **General Settings** tab. Under **Custom Domain**, turn on **Use Custom Domain**.

   *(Screenshot: The General Settings tab of Merchant Settings with the Use Custom Domain switch highlighted)*

3. In **Domain**, type your domain without `https://`, for example `order.yourshop.com`. A box on the left reminds you of the A record address.

   *(Screenshot: Use Custom Domain turned on, with the Domain field highlighted and the DNS reminder on the left)*

4. Click **Save Settings**.

   *(Screenshot: The Custom Domain section with the Save Settings button highlighted)*

After the DNS change spreads, your forms open on your domain. The **Merchant Domain** entry on the **Merchant Information** tab shows the address that BCL uses.

## Common issues

### Can my domain open a form straight away, without /form/ in the address?

Yes. Set your homepage to open one form, and your domain goes straight to it. See Set up your homepage (/homepage/).

### I set everything up but my domain does not open BCL yet. Why?

DNS changes take time to spread across the internet. Wait a while and try again. On Cloudflare, also check that Proxy status is off (DNS only).

### Where can I buy a domain?

You can register one at Web Impian's domain store (https://billing.webimpian.com/?category=domains). When it is active, add the DNS A record on this page to point it to BCL.

### BCL says my domain is already in use. What does that mean?

Another BCL account already saved that domain. Each domain can belong to one account only. Use a different subdomain, such as order.yourshop.com.
