๐ How to Setup Custom Domain
๐ Overviewโ
Learn how to configure custom domains for schools in your e-School SaaS system.
๐ท๏ธ Domain Typesโ
When creating a school, the admin has the option to specify the domain type for the school's website. Schools can also choose the domain type from General Settings. They can choose between two domain types:
๐ Default Domainโ
This is a predefined domain provided by the system (e.g., schoolname.yoursystemdomain.com
).
- โ Automatically set up
- โ No additional configuration required
- โ Ready to use immediately
๐ฏ Custom Domainโ
If the school has its own domain, the admin can enter it during setup or from general settings.
- โ ๏ธ Requires proper DNS configuration
- ๐ง Must point to server's IP address
- โ Professional branding opportunity
๐ฅ๏ธ Server Configurationโ
๐จโ๐ป Steps for Super Adminโ
1๏ธโฃ Add Custom Domain to VPSโ
- ๐ Log into the VPS server
- โ๏ธ Configure the custom domain to work with the VPS server
- ๐๏ธ Create a virtual host configuration
2๏ธโฃ Enable SSL Certificateโ
- ๐ Install SSL for the custom domain
- ๐ Use Let's Encrypt for free SSL
- ๐ณ Or install a paid SSL certificate
๐ซ Steps for School Adminโ
1๏ธโฃ Get Server Informationโ
- ๐ Find the VPS server's IP address
- ๐ Check "General Settings" section
- ๐ Note the IP when selecting "Custom Domain" option
2๏ธโฃ Update DNS Settingsโ
- ๐ Log into your domain provider's dashboard
- โ Add a DNS A record
- ๐ฏ Point the custom domain to the VPS server's IP address
3๏ธโฃ Wait for DNS Propagationโ
- โฐ DNS changes may take a few minutes to hours
- ๐ Propagation time varies by provider
- ๐งช Test the domain after propagation
โ Verification Stepsโ
-
๐ Check Domain Resolution
- Use online DNS checker tools
- Verify A record points to correct IP
-
๐ Test SSL Certificate
- Ensure HTTPS works properly
- Check for security warnings
-
๐ฑ Test School Access
- Verify school website loads correctly
- Check all features work properly
๐ Important Notesโ
- ๐ DNS propagation can take up to 48 hours
- ๐ Clear browser cache if domain doesn't load
- ๐ Contact support if issues persist
- ๐ Always use HTTPS for security