Adding a custom domain
Connect your own domain (like acme.com) to your PlayCode project. Your website will be accessible at your custom domain instead of projectname.playcode.io.
Note: Custom domains is a Pro feature. You'll see a purple "PRO" badge next to the custom domains section. Free users will be prompted to upgrade when attempting to add a custom domain.
Requirements
- You need a Pro account (paid subscription)
- Your project must be published
- You must own a domain from a domain registrar (GoDaddy, Namecheap, Cloudflare, etc.)
Steps to add custom domain
- Open your project in the editor
- Click the Publish button at the top right
- Scroll down to the Custom Domains section (you'll see a PRO badge if you're not a Pro user)
- Click Add custom domain
- Enter your domain name (for example,
acme.com) - Click Add
Configure DNS settings
After adding the domain in PlayCode, you need to configure your DNS settings:
- Go to your domain registrar's website (where you purchased the domain).
- Find the DNS settings or DNS management page.
- Create a CNAME record pointing to
app.playcode.io. - Save the DNS changes.
Example CNAME configuration:
- Type: CNAME
- Name/Host: www (or your subdomain)
- Value/Points to: app.playcode.io
SSL certificate
After DNS propagation, PlayCode will automatically generate an SSL certificate for your domain. This process:
- Usually takes a few minutes
- Can take up to several hours in rare cases
- Happens automatically - no action needed from you
Once SSL is generated, your website will be accessible via HTTPS at your custom domain.
DNS propagation time
After you update DNS settings, it can take time for the changes to propagate worldwide:
- Usually a few minutes
- Sometimes up to 1-2 hours
- Rarely up to 24-48 hours (depends on your DNS provider)
During this time, your domain might not work yet. This is normal - just wait for DNS propagation to complete.
Related Articles
Need more help?
Can't find what you're looking for? Chat with us or send us an email.