Skip to main content

Custom Domains

Connect your own domain to give your INSTROC app a professional web address.

Overview

By default, your app is available at yourproject.instroc.app. With a custom domain, you can use your own address like www.yoursite.com.

Requirements

To use a custom domain, you need:

  • A domain you own (from any registrar)
  • Access to your domain's DNS settings
  • INSTROC Pro plan or higher

Connecting a Domain

Step 1: Add Your Domain

  1. Open your project in the editor
  2. Click PublishSettings
  3. Click Add Custom Domain
  4. Enter your domain (e.g., www.yoursite.com)

Step 2: Configure DNS

INSTROC provides DNS records to add at your registrar:

For subdomains (www, app, etc.):

TypeNameValue
CNAMEwwwcustomers.instroc.app

For apex domains (example.com):

TypeNameValue
A@66.51.124.51

Step 3: Verify

  1. Add the DNS records at your registrar
  2. Return to INSTROC and click Verify
  3. DNS propagation takes 5 minutes to 48 hours
  4. SSL certificate is automatically provisioned

Step 4: Deploy

Once verified, your domain is ready:

  1. Click Deploy
  2. Your app is live at your custom domain!

Domain Types

Apex Domain

The root domain without any subdomain:

  • example.com
  • mysite.io

Requires an A record pointing to our IP address.

Subdomain

A prefix before your domain:

  • www.example.com
  • app.example.com
  • blog.example.com

Uses a CNAME record pointing to customers.instroc.app.

WWW vs Non-WWW

We recommend using www.yoursite.com because:

  • Better CDN compatibility
  • Easier DNS management
  • Industry standard for websites

INSTROC can redirect non-www to www (or vice versa) automatically.

DNS Registrars

Instructions for common registrars:

Namecheap

  1. Log in to Namecheap
  2. Go to Domain List → Manage
  3. Click Advanced DNS
  4. Add your records

GoDaddy

  1. Log in to GoDaddy
  2. Go to My Products → DNS
  3. Click Add Record
  4. Enter the values

Cloudflare

  1. Log in to Cloudflare
  2. Select your domain
  3. Go to DNS settings
  4. Add the records
  5. Set proxy status to "DNS only"

Google Domains

  1. Log in to Google Domains
  2. Select your domain
  3. Go to DNS
  4. Add Custom Records

SSL Certificates

Automatic SSL

INSTROC automatically provisions SSL certificates:

  • Free Let's Encrypt certificates
  • Auto-renewal before expiration
  • HTTPS enabled by default

SSL Status

Check your SSL status in domain settings:

  • Pending - Certificate being provisioned
  • Active - HTTPS is working
  • Error - Check DNS configuration

Troubleshooting

Domain Not Verifying

DNS not propagated

Wrong records

  • Verify record type (A vs CNAME)
  • Check for typos in values
  • Remove conflicting records

Proxy enabled

  • If using Cloudflare, set to "DNS only" initially
  • After verification, you can enable the proxy

SSL Certificate Errors

Certificate pending

  • Wait 10-30 minutes after DNS verification
  • Clear browser cache

Mixed content

  • Update hardcoded http:// URLs to https://
  • Check for external resources loaded over HTTP

Site Not Loading

DNS cache

  • Clear your browser cache
  • Try incognito mode
  • Wait for local DNS cache to expire

Wrong domain in settings

  • Verify the domain matches exactly
  • Check for trailing slashes or protocols

Multiple Domains

You can connect multiple domains to one project:

  • Primary domain used for SEO
  • Additional domains redirect to primary

Adding Multiple Domains

  1. Add your primary domain first
  2. Click Add Another Domain
  3. Configure DNS for each
  4. Set redirect behavior

Removing a Domain

  1. Go to PublishSettings
  2. Find your custom domain
  3. Click Remove
  4. Delete DNS records at your registrar

Your app remains accessible at yourproject.instroc.app.

Best Practices

Use HTTPS

Always use HTTPS for security and SEO. INSTROC enforces this automatically.

Set Up Redirects

Configure www/non-www redirects for consistency.

Monitor Expiration

Ensure your domain registration doesn't expire—set up auto-renewal.

Backup DNS

Document your DNS settings before making changes.