How to Add a New Website to Hosting?
When you want to add a website to a hosting server, you need to have a hosting plan that supports multiple websites.
You should follow these main steps, which we will describe in more detail:
- Adding an additional domain/subdomain.
- Installing a new website.
- Checking the site and DNS propagation.
Adding a Domain or Subdomain in cPanel
Adding a New Domain
To add a new domain to your hosting account, the domain must first be purchased. Only after that you can follow these steps:
- Log in to your cPanel account and navigate to Domains -> Add New Domain.
- Enter the new domain (e.g., example.com). Make sure the Share document root option is unchecked. In the new input field that appears, simply enter your new domain. cPanel will automatically fill in the root folder as /public_html/example.com/.
- Confirm the changes by clicking the Submit button.
Adding a Subdomain
- Log in to your cPanel account and navigate to Domains -> Add New Domain.
- Enter a subdomain, the same way you would add a domain (e.g., blog.example.com).
- The root directory will be automatically created as public_html/blog.example.com.
- Confirm the changes.
Installing a New Website
To place a new website after setting up a new domain or subdomain on your hosting server:
- Log in to your cPanel account and go to File Manager.
- Next, navigate to the folder created for the new website /public_html/example.com/.
- Click on Upload and select the new website files to upload them to the hosting server.
- After uploading, check if the files are accessible online.
For more details on uploading content to a website, check out our dedicated article on this topic.