Production Hostnames
Production Hostnames
This page documents all the production URLs and domain configuration for accessing SaaniCare services in production.
Overview
SaaniCare services are deployed to production using:
- Vercel: For all web applications and API
- Custom Domains: All services use
*.saanicare.comsubdomains - SSL/TLS: Automatic HTTPS via Vercel and Let’s Encrypt
Core Services
API Server
- Production URL:
https://api.saanicare.com - Platform: Vercel Serverless Functions
- Deployment: Automatic via GitHub Actions
- Environment: Production
Frontpage Website
- Production URL:
https://saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
User Portals
Parent Portal
- Production URL:
https://parent.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
Teacher Portal
- Production URL:
https://teacher.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
Admin Portal
- Production URL:
https://schooladmin.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
Child Portal
- Production URL:
https://child.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
School District Portal
- Production URL:
https://schooldistrict.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
Superadmin Portal
- Production URL:
https://superadmin.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
Role-Based Portals
Accountant Portal
- Production URL:
https://accountant.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
Health & Counselor Portal
- Production URL:
https://health.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
Childcare Specialist Portal
- Production URL:
https://childcare.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
Registrar Portal
- Production URL:
https://registrar.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
Transportation Portal
- Production URL:
https://transportation.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
Librarian Portal
- Production URL:
https://librarian.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
Receptionist Portal
- Production URL:
https://receptionist.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
Cafeteria Portal
- Production URL:
https://cafeteria.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
IT Coordinator Portal
- Production URL:
https://it.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
Facilities Portal
- Production URL:
https://facilities.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
Driver Portal
- Production URL:
https://driver.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
Security Portal
- Production URL:
https://security.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
Documentation
Documentation Site
- Production URL:
https://docs.saanicare.com - Platform: Vercel
- Deployment: Automatic via GitHub Actions
- Environment: Production
- Build Tool: docmd (static site generator)
Domain Configuration
DNS Setup
All production domains use the following DNS configuration:
- Type: CNAME
- Name:
*(wildcard) or specific subdomain - Value:
cname.vercel-dns.com(Vercel’s DNS)
SSL/TLS Certificates
- Provider: Vercel (automatic via Let’s Encrypt)
- Renewal: Automatic
- Protocol: TLS 1.2+
- HTTPS: Enforced for all domains
Domain Verification
Each domain must be verified in Vercel:
- Go to Vercel Dashboard → Project Settings → Domains
- Add the domain (e.g.,
parent.saanicare.com) - Follow DNS verification instructions
- Wait for SSL certificate provisioning (automatic)
Deployment
Automatic Deployment
All services are automatically deployed via GitHub Actions when:
- Push to main branch: Triggers deployment for changed services
- Release published: Deploys all services
- Manual workflow dispatch: Allows selective deployment
Deployment Configuration
Deployment is configured in .github/workflows/deploy-vercel.yml:
- Each service has its own deployment job
- Uses Vercel CLI for deployment
- Requires Vercel project IDs as GitHub secrets
Required GitHub Secrets
For production deployment, the following secrets must be configured:
VERCEL_TOKEN: Vercel authentication tokenVERCEL_ORG_ID: Vercel organization IDVERCEL_API_PROJECT_ID: API project IDVERCEL_PARENT_WEB_PROJECT_ID: Parent portal project IDVERCEL_TEACHER_WEB_PROJECT_ID: Teacher portal project IDVERCEL_ADMIN_WEB_PROJECT_ID: Admin portal project IDVERCEL_FRONTPAGE_WEB_PROJECT_ID: Frontpage project IDVERCEL_CHILD_WEB_PROJECT_ID: Child portal project IDVERCEL_SCHOOL_DISTRICT_WEB_PROJECT_ID: School district portal project IDVERCEL_SUPERADMIN_WEB_PROJECT_ID: Superadmin portal project IDVERCEL_DOCS_WEB_PROJECT_ID: Documentation site project IDVERCEL_ACCOUNTANT_WEB_PROJECT_ID: Accountant portal project IDVERCEL_HEALTH_COUNSELOR_WEB_PROJECT_ID: Health counselor portal project IDVERCEL_CHILDCARE_SPECIALIST_WEB_PROJECT_ID: Childcare specialist portal project IDVERCEL_REGISTRAR_WEB_PROJECT_ID: Registrar portal project IDVERCEL_TRANSPORTATION_WEB_PROJECT_ID: Transportation portal project IDVERCEL_LIBRARIAN_WEB_PROJECT_ID: Librarian portal project IDVERCEL_RECEPTIONIST_WEB_PROJECT_ID: Receptionist portal project IDVERCEL_CAFETERIA_WEB_PROJECT_ID: Cafeteria portal project IDVERCEL_IT_COORDINATOR_WEB_PROJECT_ID: IT coordinator portal project IDVERCEL_FACILITIES_WEB_PROJECT_ID: Facilities portal project IDVERCEL_DRIVER_MOBILE_PROJECT_ID: Driver portal project IDVERCEL_SECURITY_MOBILE_PROJECT_ID: Security portal project ID
Production URL Reference Table
Environment Variables
Production services require specific environment variables configured in Vercel:
API Environment Variables
DATABASE_URL: Production PostgreSQL connection stringREDIS_URL: Production Redis connection stringAUTH0_DOMAIN: Auth0 domainAUTH0_CLIENT_ID: Auth0 client IDAUTH0_CLIENT_SECRET: Auth0 client secretAUTH0_AUDIENCE: Auth0 API audienceGOOGLE_GEMINI_API_KEY: Google Gemini API key (optional)
Web App Environment Variables
NEXT_PUBLIC_API_URL:https://api.saanicare.comNEXT_PUBLIC_AUTH0_DOMAIN: Auth0 domainNEXT_PUBLIC_AUTH0_CLIENT_ID: Auth0 client IDNEXT_PUBLIC_AUTH0_AUDIENCE: Auth0 API audience
Monitoring & Analytics
Vercel Analytics
All production deployments include:
- Performance Metrics: Core Web Vitals, load times
- Error Tracking: Automatic error logging
- Deployment History: Complete deployment logs
Health Checks
Production services should implement health check endpoints:
- API:
https://api.saanicare.com/health - Web Apps: Automatic via Vercel
Troubleshooting
Domain Not Resolving
- Verify DNS records are correct
- Check domain verification status in Vercel
- Wait for DNS propagation (up to 48 hours)
SSL Certificate Issues
- Check domain verification in Vercel
- Verify DNS records are correct
- Wait for certificate provisioning (usually automatic)
Deployment Failures
- Check GitHub Actions logs
- Verify Vercel project IDs are correct
- Check Vercel deployment logs
- Verify environment variables are set
Service Not Accessible
- Check Vercel deployment status
- Verify domain is correctly configured
- Check service logs in Vercel dashboard
- Verify environment variables are set correctly
Best Practices
- Always use HTTPS: All production URLs use HTTPS
- Monitor Deployments: Check Vercel dashboard after deployments
- Test After Deployment: Verify services are accessible
- Keep Secrets Secure: Never commit secrets to repository
- Use Environment Variables: Configure all sensitive data via Vercel
- Monitor Performance: Use Vercel Analytics to track performance