Environment Settings

Configure and manage your NextLinks environment settings for optimal performance and security.

Domain Management

Use your own domains with NextLinks for branded short links:

Adding a Domain

  1. Navigate to Environment Settings >> Domains
  2. Click "Add Domain"
  3. Enter your domain name
  4. Configure DNS settings
  5. Verify domain ownership

DNS Configuration

Add the following DNS records:

CNAME   links.yourdomain.com   cname.nextlinks.com
TXT     links.yourdomain.com   nextlinks-verify=YOUR_VERIFICATION_CODE

SSL Certificates

SSL certificates are automatically provisioned and renewed for your custom domains.

Security Settings

Bot Detection

Configure bot detection to filter out unwanted traffic:

  • Automatic bot detection
  • Custom bot patterns
  • Allowlist trusted bots
  • Bot traffic analytics

IP Filtering

Control access to your links based on IP addresses:

  • IP address blocklist
  • IP range filtering
  • Country-based blocking
  • Custom IP rules

Referrer Filtering

Manage traffic sources with referrer filtering:

  • Domain-based filtering
  • Referrer patterns
  • Allowlist/blocklist
  • Traffic source analytics

Tag Management

Organize your links with a powerful tagging system:

Creating Tags

Create and manage tags to categorize your links:

  • Custom tag names
  • Color coding
  • Tag descriptions
  • Nested tags

Tag Rules

Set up automatic tagging rules based on:

  • URL patterns
  • Custom parameters
  • Traffic sources
  • User behavior

Webhook Configuration

Set up webhooks to receive real-time notifications:

Available Events

  • Link clicks
  • Conversions
  • Link creation/updates
  • Security alerts
// Example webhook payload
{
  "event": "link.clicked",
  "link_id": "abc123",
  "timestamp": "2024-01-20T12:00:00Z",
  "data": {
    "ip": "xxx.xxx.xxx.xxx",
    "referrer": "example.com",
    "user_agent": "Mozilla/5.0..."
  }
}

Environment Best Practices

Security

Regularly review and update security settings to maintain optimal protection.

Performance

Monitor webhook performance and adjust filtering rules for best results.

Organization

Maintain a clear tagging structure and document custom domain configurations.