DNS Setup Guide
Configure DNS to point your custom domain to your OpenFacilitator instance.
Overview
You need to add a CNAME record to your domain's DNS settings.
| Type | Name | Value |
|---|---|---|
| CNAME | pay (or your subdomain) | api.openfacilitator.io |
This will make pay.yourdomain.com point to your facilitator.
DNS changes can take up to 48 hours to propagate worldwide, though most propagate within a few minutes.
Step-by-Step Guides
Cloudflare
- Log in to your Cloudflare dashboard
- Select your domain
- Go to DNS → Records
- Click Add record
- Fill in:
- Type:
CNAME - Name:
pay(or your chosen subdomain) - Target:
api.openfacilitator.io - Proxy status: DNS only (gray cloud)
- Type:
- Click Save
Make sure to disable Cloudflare proxy (orange cloud) for the CNAME record. Use "DNS only" (gray cloud).
Namecheap
- Log in to Namecheap
- Go to Domain List → Manage on your domain
- Click Advanced DNS
- Click Add New Record
- Fill in:
- Type:
CNAME - Host:
pay - Value:
api.openfacilitator.io - TTL: Automatic
- Type:
- Click the checkmark to save
GoDaddy
- Log in to GoDaddy
- Go to My Products → DNS on your domain
- Click Add in the Records section
- Fill in:
- Type:
CNAME - Name:
pay - Value:
api.openfacilitator.io - TTL: Default
- Type:
- Click Save
Google Domains / Squarespace
- Go to Google Domains or Squarespace Domains
- Select your domain
- Go to DNS → Custom records
- Click Manage custom records
- Fill in:
- Host name:
pay - Type:
CNAME - Data:
api.openfacilitator.io
- Host name:
- Click Save
Verifying DNS
After adding the record, you can verify it's working:
Using dig (Mac/Linux)
dig pay.yourdomain.com CNAMELook for api.openfacilitator.io in the answer section.
Using nslookup (Windows)
nslookup -type=CNAME pay.yourdomain.comOnline Tools
Troubleshooting
DNS not propagating
- Wait up to 48 hours
- Try clearing your local DNS cache:
- Mac:
sudo dscacheutil -flushcache - Windows:
ipconfig /flushdns
- Mac:
SSL certificate errors
SSL certificates are automatically provisioned once DNS is verified. This usually takes a few minutes after DNS propagation.
Wrong IP / Not working
Make sure:
- The CNAME record points to
api.openfacilitator.io(not an IP address) - Cloudflare proxy is disabled (if using Cloudflare)
- There are no conflicting A records for the same subdomain