Domains & URLs
Default URLs
Every deployment gets a URL at:
https://<site-name>.web.app
These URLs are:
- Free — no charge for the subdomain
- SSL included — HTTPS by default
- CDN-backed — served from Firebase's global CDN
- Permanent — the URL stays as long as the deployment exists
Choosing a Good Site Name
Your site name is your brand on NetLaunch. Choose wisely:
# Good
netlaunch deploy -s acme-docs -f ./docs.zip
netlaunch deploy -s johns-portfolio -f ./site.zip
netlaunch deploy -s startup-landing -f ./build.zip
# Avoid
netlaunch deploy -s test123 -f ./site.zip # not memorable
netlaunch deploy -s a -f ./site.zip # too short (min 3)
Multiple Environments
Use naming conventions for staging and production:
# Production
netlaunch deploy -s my-app -f ./build.zip
# → https://my-app.web.app
# Staging
netlaunch deploy -s my-app-staging -f ./build.zip
# → https://my-app-staging.web.app
# Preview (per PR)
netlaunch deploy -s my-app-pr-42 -f ./build.zip
# → https://my-app-pr-42.web.app
Custom Domains
Custom domain support is coming soon. Currently all sites are served on .web.app subdomains.
SPA Routing
All deployments include automatic SPA rewrites:
- Any path that doesn't match a static file serves
index.html - Client-side routing (React Router, Vue Router, etc.) works automatically
- No configuration needed