Connecting a Custom Domain

Guide to mapping your domain (e.g. sacbot.gg or yourdomain.com) to SAC Bot with automated HTTPS.

1. Add the domain in your hosting dashboard

1. Open the dashboard for the provider hosting the website.
2. Choose Add custom domain.
3. Enter your domain name (e.g., sacbot.gg or www.sacbot.gg).
4. Check "Redirect to an existing website" if you want apex to redirect to www or vice versa.

2. Configure DNS Records with Your Registrar

Add the following DNS records at your domain registrar (Namecheap, Cloudflare, GoDaddy, Google Domains, etc.):

# Apex Domain (e.g. sacbot.gg):

Use the A or ALIAS records shown in your hosting dashboard.

# Subdomain (e.g. www.sacbot.gg):

Use the CNAME target shown in your hosting dashboard.

3. Automatic SSL / TLS Provisioning

After DNS changes propagate, your hosting provider provisions HTTPS for the domain. Timing depends on DNS caching and provider configuration.

4. Update Canonical Tag & Discord Developer Portal

After the custom domain is active, update the <link rel="canonical" href="https://yourdomain.com/" /> in index.html and update your Discord Application Interaction Endpoint / Redirect URIs in the Discord Developer Portal.

← Back to Documentation Index