Domain parking: use your own domain in flow links

3 min read Read in: Русский
On this page
  1. Before you start
  2. Step 1. Add a CNAME record
  3. Step 2. Park the domain in AFF1
  4. Step 3. Get a link with your domain
  5. Check that it works
  6. Common problems
  7. Related articles

Domain parking lets you use your own domain in traffic links instead of the AFF1 system domains. Your domain points to the AFF1 servers, and the landings of your flows open on it: http://yourdomain.com/?flow_hash=AbCd1234.

Before you start

You need a domain that you control, with access to its DNS settings (at your registrar, hosting or DNS provider, for example Cloudflare). You can park the root domain (yourdomain.com) or a subdomain (go.yourdomain.com).

Step 1. Add a CNAME record

In the DNS settings of your domain, add a record:

TypeNameValue
CNAMEyourdomain.com (or @), or a subdomain such as goparking.on.aff1.com

If the domain already has A or CNAME records with the same name (for example, from a hosting site), delete them first — one name can have only one CNAME record.

DNS changes usually take from a few minutes to a few hours.

If your DNS provider does not allow CNAME on the root domain

Some providers allow CNAME only for subdomains. Then you can:

  • park a subdomain instead, for example go.yourdomain.com;
  • use your provider’s CNAME flattening or ALIAS/ANAME record, if it has one. Cloudflare flattens a CNAME on the root domain automatically (Cloudflare docs);
  • ask your personal manager for the current IP address of the AFF1 server and add an A record with it.

Step 2. Park the domain in AFF1

  1. Open Tools → Domain parking and click Park domain.
  2. In Domain, enter the domain or subdomain without http:// and without a slash: yourdomain.com.
  3. Choose the options (see below) and click Create.
Domain parking window: CNAME hint, Domain field, https, subaccount and flow options
The domain is connected to all flows

Options in the window:

  • Use https — links with your domain open over https, and http is redirected to https.
  • Available for subaccounts — if you have a master account, your subaccounts can use this domain too.
  • Connect domain to flow — lets the domain open a flow even without flow_hash in the link. Then choose Availability:
    • All flows — the domain can be used in links of all your flows. In Flow by default, choose the flow that opens when someone visits the bare domain (http://yourdomain.com/);
    • Selected flow — the domain is connected to one flow that you choose in Flow.
  1. Open Tools → Flows, click ••• next to the flow → Get link.
  2. In Choose domain for traffic, choose your domain. Parked domains are listed together with the system ones.
  3. Copy the Traffic link.

You can also get a link from the domain list: Tools → Domain parking → ••• next to the domain → Get link. The same menu has Edit and Delete.

Check that it works

Open your link in the browser. The landing of the flow should load on your domain. If you chose Flow by default or Selected flow, also open the bare domain: the flow should open without flow_hash.

Common problems

  • Website is not responding — the DNS record has not been applied yet, or it points somewhere else. Check the record and wait for the DNS update.
  • https is not working — the domain does not answer over https. Create the parking without Use https, or ask your personal manager.
  • The domain is behind a proxy or CDN (for example, Cloudflare with the orange cloud) and does not open — switch the record to DNS only and check again.

Still have questions?

Your personal manager and AFF1 support answer in Telegram 24/7.