π Other Deployment Platforms
π Other Deployment Platforms
This guide covers other popular hosting platforms you can use.
Firebase Hosting
Setup
- Install Firebase CLI:
npm install -g firebase-tools - Login:
firebase login - Initialize:
firebase init hosting - Deploy:
firebase deploy
Domain Configuration
{
"subdomain": "yourname",
"type": "CNAME",
"value": "your-project.web.app",
"owner": { ... },
"project": { ... }
}
Surge.sh
Setup
npm install -g surge
surge ./dist your-project.surge.sh
Domain Configuration
{
"subdomain": "yourname",
"type": "CNAME",
"value": "your-project.surge.sh",
"owner": { ... },
"project": { ... }
}
GitLab Pages
Setup
- Create
.gitlab-ci.yml: ```yaml pages: stage: deploy script:- npm run build
artifacts:
paths:
- public only:
- main ```
- npm run build
artifacts:
paths:
Domain Configuration
{
"subdomain": "yourname",
"type": "CNAME",
"value": "username.gitlab.io",
"owner": { ... },
"project": { ... }
}
AWS Amplify
Setup
- Go to aws.amazon.com/amplify
- Connect your repository
- Configure build settings
- Deploy automatically
Domain Configuration
{
"subdomain": "yourname",
"type": "CNAME",
"value": "main.xxxxxx.amplifyapp.com",
"owner": { ... },
"project": { ... }
}
Heroku
Setup
heroku create your-app
git push heroku main
Domain Configuration
{
"subdomain": "yourname",
"type": "CNAME",
"value": "your-app.herokuapp.com",
"owner": { ... },
"project": { ... }
}
Railway
Setup
- Go to railway.app
- Connect GitHub repository
- Auto-deploys on push
Domain Configuration
{
"subdomain": "yourname",
"type": "CNAME",
"value": "your-project.railway.app",
"owner": { ... },
"project": { ... }
}
Fly.io
Setup
flyctl launch
flyctl deploy
Domain Configuration
{
"subdomain": "yourname",
"type": "CNAME",
"value": "your-app.fly.dev",
"owner": { ... },
"project": { ... }
}
DigitalOcean App Platform
Setup
- Go to DigitalOcean App Platform
- Connect repository
- Configure and deploy
Domain Configuration
{
"subdomain": "yourname",
"type": "CNAME",
"value": "your-app.ondigitalocean.app",
"owner": { ... },
"project": { ... }
}
Vercel Alternatives Comparison
| Platform | Best For | Free Tier | Custom Domain |
|---|---|---|---|
| Vercel | Next.js, React | β | β |
| Netlify | Static sites, JAMstack | β | β |
| GitHub Pages | Simple projects | β | β |
| Cloudflare Pages | Performance, CDN | β | β |
| Render | Full-stack apps | β | β |
| Firebase | Google ecosystem | β | β |
| Surge | Quick deployments | β | β |
| GitLab Pages | GitLab users | β | β |
| AWS Amplify | AWS integration | β (1 year) | β |
| Railway | Backend services | Trial | β |
General Steps for Any Platform
- Deploy your site on your chosen platform
- Get your deployment URL (e.g.,
your-project.platform.com) - Test the URL to ensure itβs working
- Create domain configuration JSON with your platformβs URL
- Submit PR to this repository
- Wait for approval and DNS configuration
- Configure custom domain in your platformβs dashboard
- Test your subdomain after DNS propagation
Need Help?
If your platform isnβt listed here:
- Deploy your site following the platformβs documentation
- Get your deployment URL
- Use the same format for domain configuration
- Submit a PR with your details
The process is similar for most platforms - just replace the deployment URL!
Ready to submit? Follow the Getting Started Guide to create your PR!