How to Delete and recreate the addon domain.

Procedure:

  1. Log in to cPanel.

  2. Navigate to the document root of the domain and take a backup of all existing data.

  3. Delete the domain from cPanel.

  4. Recreate the domain with a new document root.


Steps to Create the Domain / Subdomain:

  1. Log in to cPanel.

  2. Under the Domains section, click Domains.

  3. Click on Create A New Domain.

  4. Enter the domain or subdomain name in the Domain field.

  5. Uncheck the option:
    “Share document root (/home/username/public_html) with domain.tld”

  6. Specify the custom document root directory where you want the files to be stored
    (example: /public_html/sub.domain.com).

  7. Click the Submit button to complete the process.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 9