How to publish a website
Publishing your PlayCode project to the web makes it accessible online using PlayCode Pages.
What is PlayCode Pages?
PlayCode Pages is a hosting service for static websites, similar to GitHub Pages or Cloudflare Pages. Your website is published to a global CDN (Content Delivery Network), which means it loads quickly from anywhere on the planet.
Publishing options
- Pro account: Publish websites without any intro screen. Requires a paid Pro subscription.
- Free account: Publish websites for free, but a PlayCode intro screen will be shown to visitors before they can access your site.
Traffic limits
Current traffic limits are generous enough for most projects. We monitor usage and will adjust limits if needed in the future.
Steps to publish
- Open the project you want to publish in the editor.
- Click the Publish button at the top right of the page.
- If your project hasn't been saved yet, you'll see a Save button. Click it to save your project first.
- Once saved, click the Publish button in the popup. Your project will be compiled into a production version and published.
- You'll receive a link to your published website on a PlayCode subdomain, for example
12345.playcode.ioor with a custom name likedemo.playcode.ioif you've set one.
Important notes
Your project can remain private while the published website is still accessible. This means the source code stays hidden, but the published site works perfectly.
By default, your website will be published at a URL based on your project ID (a number). You can change this to a custom subdomain name if you have a Pro account. See How to change subdomain name.
Want to use your own domain? Check out Adding a custom domain.
Related Articles
Need more help?
Can't find what you're looking for? Chat with us or send us an email.