Multi Site Hosting Documentation
Everything you need to know about our platform
Getting Started
Learn the basics of Multi Site Hosting and set up your first website.
API Reference
Explore our API documentation for advanced integrations and automation.
Tutorials
Step-by-step guides to help you make the most of our platform.
Getting Started
What is Multi Site Hosting?
Multi Site Hosting is a platform designed specifically for developers and agencies who need to manage multiple websites efficiently. Our platform allows you to host, deploy, and manage multiple websites from a single dashboard with dedicated resources for each site.
Key Features
- Isolated Environments: Each website runs in its own isolated environment with dedicated resources.
- Global CDN: Lightning-fast content delivery network ensures your sites load quickly anywhere in the world.
- One-Click Deployment: Deploy new sites or updates with a single click.
- Automatic Scaling: Resources automatically scale based on traffic demands.
- Advanced Security: Built-in DDoS protection, SSL certificates, and regular security audits.
Creating Your First Site
Follow these steps to create and deploy your first website:
- Sign Up: Create an account at multisitehosting.io/signup
- Create a New Site: From your dashboard, click the "Add Site" button.
- Configure Settings: Enter your site name, choose a template or start from scratch, and configure your domain settings.
- Deploy: Click "Deploy" to launch your site. Your site will be live within minutes.
Connecting a Custom Domain
- 1Go to your site settings in the dashboard
- 2Click on "Domains" and then "Add Domain"
- 3Enter your domain name and follow the DNS configuration instructions
- 4Verify domain ownership and activate SSL certificate
Setting Up Continuous Deployment
- 1Connect your GitHub, GitLab, or Bitbucket repository
- 2Configure build settings and environment variables
- 3Set up branch deployments (main for production, others for staging)
- 4Push to your repository to trigger automatic deployments
API Reference
API Overview
Our RESTful API allows you to programmatically manage your sites, deployments, domains, and more. All API requests are made to https://api.multisitehosting.io/v1
and require authentication using an API key.
Authentication
To authenticate API requests, include your API key in the Authorization
header:
Authorization: Bearer YOUR_API_KEY
Common Endpoints
Endpoint | Method | Description |
---|---|---|
/sites | GET | List all sites |
/sites | POST | Create a new site |
/sites/{site_id} | GET | Get site details |
/sites/{site_id}/deployments | GET | List site deployments |
/sites/{site_id}/domains | GET | List site domains |
Example: Creating a Site
curl -X POST https://api.multisitehosting.io/v1/sites \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "My New Site",
"framework": "next",
"environmentVariables": {
"DATABASE_URL": "postgres://user:pass@host:5432/db"
}
}'
Example: Triggering a Deployment
curl -X POST https://api.multisitehosting.io/v1/sites/site_123/deployments \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"commitSha": "a1b2c3d4e5f6",
"branch": "main"
}'
Tutorials
Setting Up a WordPress Site
Learn how to deploy and configure a WordPress site with our platform in under 10 minutes.
Assigning a Different IP
Learn how to configure and assign unique IP addresses to your websites for improved SEO and security.
Security Hardening
Advanced security techniques to protect your websites from common vulnerabilities and attacks.
Need Help?
Our support team is available to assist you with any questions or issues.