Adding a website in cPanel typically involves creating a new domain or subdomain, depending on your needs. Here’s a step-by-step guide for both methods.

Method 1: Adding a New Domain

  1. Log in to cPanel:
    • Navigate to your cPanel URL (e.g., https://yourdomain.com/cpanel).
    • Enter your username and password.
  2. Locate the "Domains" Section:
    • In the cPanel dashboard, find the "Domains" section.
  3. Click on "Addon Domains":
    • Select "Addon Domains" to add a new domain.
  4. Fill Out the Domain Information:
    • New Domain Name: Enter the new domain you want to add (e.g., newdomain.com).
    • Subdomain: cPanel will automatically generate a subdomain for the new domain. You can leave it as is.
    • Document Root: This is where the files for the new domain will be stored. You can leave the default or customize it.
    • Password: Set a password for the FTP account associated with this domain.
  5. Click "Add Domain":
    • After filling out the information, click the "Add Domain" button.
  6. Upload Files:
    • Once added, you can upload your website files to the specified document root using the File Manager or an FTP client.

Method 2: Adding a Subdomain

  1. Log in to cPanel:
    • Navigate to your cPanel URL and log in.
  2. Locate the "Domains" Section:
    • Find the "Domains" section in the cPanel dashboard.
  3. Click on "Subdomains":
    • Select "Subdomains" to create a new subdomain.
  4. Fill Out the Subdomain Information:
    • Subdomain: Enter the name of the subdomain (e.g., blog for blog.yourdomain.com).
    • Domain: Choose the main domain from the dropdown menu.
    • Document Root: This will be auto-filled, but you can customize it if needed.
  5. Click "Create":
    • After entering the details, click the "Create" button.
  6. Upload Files:
    • You can upload your website files to the document root using File Manager or FTP.

Conclusion

Adding a website, whether it’s a new domain or a subdomain, is easy with cPanel. By following these steps, you can effectively manage multiple websites under your hosting account. After adding the domain or subdomain, ensure that you upload your website files and configure any necessary settings.

Bu cavab sizə kömək etdi? 0 istifadəçi bunu faydalı hesab edir (0 səs)