Managing subdomains is a straightforward process in cPanel. Here’s how you can create and delete subdomains:

Creating a Subdomain

Step 1: Log in to cPanel

  1. Access Your cPanel:
    • Go to your cPanel URL (e.g., https://yourdomain.com/cpanel) and log in with your credentials.

Step 2: Locate the Subdomains Tool

  1. Find the Domains Section:
    • In the cPanel dashboard, scroll down to the "Domains" section.
  2. Click on "Subdomains":
    • Select "Subdomains."

Step 3: Create the Subdomain

  1. Enter the Subdomain Name:
    • In the "Subdomain" field, enter the name of the subdomain you want to create (e.g., blog for blog.yourdomain.com).
  2. Select the Domain:
    • Choose the main domain from the dropdown menu if you have multiple domains.
  3. Document Root:
    • cPanel will automatically generate a document root for the subdomain (e.g., /public_html/blog). You can customize this if needed.
  4. Click "Create":
    • After filling out the details, click the "Create" button.

Step 4: Verify Creation

  1. Check the Subdomain:
    • Once created, you should see a success message. You can now upload files to the subdomain’s directory or install applications like WordPress.

Deleting a Subdomain

Step 1: Log in to cPanel

  1. Access Your cPanel:
    • Go to your cPanel URL and log in.

Step 2: Locate the Subdomains Tool

  1. Find the Domains Section:
    • Scroll down to the "Domains" section and click on "Subdomains."

Step 3: Delete the Subdomain

  1. Select the Subdomain to Delete:
    • You will see a list of your existing subdomains. Locate the subdomain you want to delete.
  2. Click "Remove":
    • Click the "Remove" link next to the subdomain you wish to delete.
  3. Confirm Deletion:
    • You may be prompted to confirm the deletion. Click "Delete" to proceed.

Step 4: Verify Deletion

  1. Check the List:
    • Ensure that the subdomain is no longer listed in the Subdomains section.

Conclusion

Creating and deleting subdomains in cPanel is a simple process that allows you to expand your website's structure efficiently. By following these steps, you can easily manage your subdomains as needed. Always remember to check the functionality of any newly created subdomains and ensure that any deleted ones no longer serve content.

Esta resposta lhe foi útil? 0 Usuários acharam útil (0 Votos)