Custom Domains Setup Guide
Configure your own domain for branded short links
Related Document: API Documentation
Programmatic domain management
Custom Domains Setup Guide
Configure your own domain for branded short links
Overview
PVTLNK allows Pro and Enterprise users to use their own custom domain for short links instead of the default pvtlnk.com domain. This provides:
- Brand consistency - Links appear to come from your domain
- Better trust - Users recognize your domain
- Professional appearance - No third-party domain in URLs
Requirements
| Plan | Availability |
|---|---|
| Starter | ❌ Not available |
| Pro | ✅ Available |
| Enterprise | ✅ Available |
Step 1: Add Your Domain
- Log in to your PVTLNK dashboard
- Navigate to Custom Domains (in the sidebar)
- Click Add Custom Domain
- Enter your domain (e.g.,
links.yourcompany.com) - Click Save
Step 2: Configure DNS
You need to point your domain to PVTLNK’s servers using either:
Option A: A Record (Recommended)
Create an A record pointing to our server IP:
| Type | Name | Value | TTL |
|---|---|---|---|
| A | @ | YOUR_SERVER_IP | 3600 |
Option B: CNAME Record
Create a CNAME record pointing to our domain:
| Type | Name | Value | TTL |
|---|---|---|---|
| CNAME | @ | pvtlnk.com | 3600 |
Note: Replace YOUR_SERVER_IP with your actual server IP address. Contact support if you need this information.
Step 3: Wait for DNS Propagation
DNS changes can take 1-48 hours to propagate globally. You can check propagation status using:
```bash # Check DNS propagation dig your-domain.com
Or use an online tool
# https://dnschecker.org/ ```
Step 4: Verify Your Domain
- Return to Custom Domains in your dashboard
- Click Verify Domain
- If DNS is properly configured, you’ll see a success message
- If verification fails, check your DNS settings and try again
Step 5: Use Your Custom Domain
Once verified, you can select your custom domain when creating links:
- Go to Create New Link
- Look for the domain dropdown next to the short code field
- Select your custom domain
- Your links will now use your domain (e.g.,
https://links.yourcompany.com/abc123)
SSL Certificates
Automatic SSL Provisioning
- SSL certificates are automatically provisioned via Let’s Encrypt
- No manual configuration required
- Certificates are renewed automatically before expiration
- SSL is provisioned on the first HTTPS request to your domain
Troubleshooting SSL Errors
If you see ERR_SSL_PROTOCOL_ERROR:
- Ensure your DNS A record is pointing to the correct IP
- Wait 1-5 minutes after DNS propagation for SSL provisioning
- Try accessing via HTTPS again
Subdomains vs Root Domain
| Approach | Example | Notes |
|---|---|---|
| Subdomain | links.yourcompany.com |
Recommended - easiest to set up |
| Root domain | yourcompany.com |
Requires A record, works with redirects |
Recommendation: Use a subdomain (e.g., links.yourcompany.com) as it’s cleaner and easier to manage.
Multiple Domains
Enterprise users can add multiple custom domains:
- Go to Custom Domains
- Click Add Another Domain
- Repeat DNS configuration for each domain
- Select which domain to use when creating links
Troubleshooting
| Issue | Solution |
|---|---|
| Verification fails | Check DNS propagation with dig your-domain.com |
| Links not working | Ensure A/CNAME record points to correct IP |
| SSL errors | Wait 5-10 minutes after DNS changes |
| Domain not in dropdown | Verify domain was successfully added |
API Integration
You can also configure custom domains via API:
```bash # List custom domains GET /api/v1/custom_domains
Add custom domain
POST /api/v1/custom_domains { “domain”: { “name”: “links.yourcompany.com” } }
Verify domain
POST /api/v1/custom_domains/{id}/verify ```
Related Documentation
- API Documentation - Programmatic domain management
- Pricing Plans - Upgrade to Pro/Enterprise
- Get help with setup through our official channels