Subdomain Setup Guide

Implement custom league URLs like westwilts.ttleagueapp.com

URL Mode Debug Info
Current Mode: NONE

Hostname:

ttleagueapp.com

Full URL:

https://ttleagueapp.com/SubdomainSetupGuide

Detected Subdomain:

None

Detected Slug Param:

None

⚠️ Fallback Mode. No subdomain or slug detected. Using first available league.

Step 1: DNS Configuration (Wildcard Setup)

DNS Record to Create:

Type: CNAME
Name/Host: * (wildcard)
Value/Points To: [Your Base44 App URL]
TTL: 3600 (1 hour)
Step 2: SSL Certificate (Wildcard SSL)

Options for SSL:

Recommended

Let's Encrypt (Free)

Free wildcard SSL certificates. Most hosting platforms (including many modern platforms) support automatic Let's Encrypt SSL.

Cloudflare (Free)

Route your domain through Cloudflare for free SSL, plus CDN and DDoS protection.

Paid SSL Certificate

Purchase a wildcard SSL certificate from providers like Sectigo, DigiCert, or your domain registrar.

Step 3: Base44 Platform Configuration

Email Template for Base44 Support:

Subject: Enable Custom Subdomain Routing for My Application


Hi Base44 Support Team,

I would like to enable custom subdomain routing for my MatchPlay Pro AI application.

Requirements:

  • Enable wildcard subdomain support (*.ttleagueapp.com)
  • Route all subdomain requests to my application
  • Support for wildcard SSL certificates
  • Preserve subdomain information in the hostname so my app can detect it

Example Subdomains I Need to Support:

  • westwilts.ttleagueapp.com
  • northleague.ttleagueapp.com
  • [any-league-slug].ttleagueapp.com

Please let me know:

  1. If Base44 supports custom subdomain routing
  2. What DNS configuration I need to set up
  3. How to configure SSL certificates for subdomains
  4. Any additional steps required on my end

Thank you!

Step 4: Testing Your Subdomain Setup

Testing Checklist:

1. Check DNS Propagation

Use a tool like dnschecker.org to verify your wildcard DNS is working

2. Test Subdomain Access

Navigate to westwilts.ttleagueapp.com (or your test subdomain)

3. Verify League Detection

Check the "URL Mode Debug Info" panel above - it should show "SUBDOMAIN" mode

4. Check SSL Certificate

Ensure the padlock icon appears in your browser (HTTPS is working)

5. Test Navigation

Click through different pages - URLs should stay on the subdomain (no ?slug parameter)

📋 Quick Reference Summary

✅ Your Application is Ready

The MatchPlay Pro AI application code has been updated to detect and use subdomains automatically. No further code changes needed!

⏳ Waiting on Infrastructure

You need to complete DNS configuration, SSL setup, and Base44 platform configuration before subdomains will work.

🔄 Backward Compatible

The ?slug= parameter method will continue to work. Leagues can use both methods simultaneously during transition.