Web Hosting and Site Hosting allow you to host multiple websites under a single hosting account.
Each website is linked to its own domain and document root.
Managing multiple websites requires careful structure and organization.
How Multiple Websites Work #
Each website:
- Has its own domain or subdomain
- Uses a separate document root
- Can have its own files and database
All websites share the same hosting resources.
Using Addon Domains #
Addon domains are the most common way to host multiple websites.
Addon domains:
- Link a new domain to your hosting account
- Assign a separate folder for website files
- Function as independent websites
Each addon domain has its own document root.
Using Subdomains #
Subdomains:
- Create a website under an existing domain
- Example:
blog.yourdomain.com - Use their own document root
Subdomains are useful for sections or separate projects.
Managing Files per Website #
Each website should:
- Use its own document root
- Have its own folder structure
- Avoid sharing files unless required
Mixing files across websites causes errors and security risks.
Managing Databases per Website #
Dynamic websites should:
- Use separate databases
- Use separate database users
- Avoid sharing databases unless explicitly required
This improves security and simplifies troubleshooting.
Email and DNS Considerations #
Each domain:
- Can have its own email accounts
- Uses its own DNS records
- Is managed independently in cPanel
DNS changes affect only the selected domain.
Resource Sharing and Limits #
All websites:
- Share CPU, memory and storage
- Are subject to package limits
- Can affect each other under heavy load
Poorly optimized websites impact overall performance.
Common Mistakes #
- Uploading files to the wrong document root
- Using one database for multiple websites
- Forgetting which domain maps to which folder
- Mixing configurations across sites
Clear organization prevents issues.
Best Practices #
To manage multiple websites effectively:
- Name folders clearly
- Document domain-to-folder mapping
- Keep software up to date
- Monitor resource usage
Planning reduces maintenance effort.
Responsibility Notice #
You are responsible for:
- Website organization
- Resource usage
- Domain and file management
ProRedLine does not separate websites automatically.
Still need help after reading this article?
