Configure new domain in cwp

Here's a step-by-step guide on how to configure a new domain in cPanel Web Panel (CWP):

Prerequisites:

  1. You have a CWP account with a valid license.
  2. You have a domain name registered with a registrar (e.g., GoDaddy, Namecheap, etc.).
  3. You have a valid DNS setup for your domain (e.g., A records, MX records, etc.).

Step 1: Log in to CWP

  1. Open a web browser and navigate to your CWP login page (e.g., https://yourdomain.com:2087).
  2. Enter your CWP username and password to log in.

Step 2: Create a new domain

  1. In the CWP dashboard, click on the "Domains" tab.
  2. Click on the "Add Domain" button.
  3. Enter the following information:
    • Domain Name: Enter your new domain name (e.g., example.com).
    • Domain Alias: Leave this field blank.
    • Document Root: Choose a document root directory (e.g., public_html).
    • IP Address: Choose the IP address you want to use for your domain (e.g., 192.0.2.1).
  4. Click the "Add Domain" button to create the new domain.

Step 3: Configure DNS settings

  1. In the CWP dashboard, click on the "DNS" tab.
  2. Click on the "Add DNS Record" button.
  3. Enter the following information:
    • Type: Choose the type of DNS record you want to create (e.g., A record, MX record, etc.).
    • Name: Enter the name of the DNS record (e.g., @ for the root domain).
    • Value: Enter the value for the DNS record (e.g., the IP address of your server).
  4. Click the "Add DNS Record" button to create the new DNS record.

Step 4: Configure email settings (optional)

  1. If you want to set up email accounts for your new domain, click on the "Email" tab.
  2. Click on the "Add Email Account" button.
  3. Enter the following information:
    • Email Address: Enter the email address you want to create (e.g., [email protected]).
    • Password: Enter a password for the email account.
  4. Click the "Add Email Account" button to create the new email account.

Step 5: Verify your domain

  1. To verify your domain, you'll need to create a TXT record in your DNS settings.
  2. In the CWP dashboard, click on the "DNS" tab.
  3. Click on the "Add DNS Record" button.
  4. Enter the following information:
    • Type: Choose the type of DNS record you want to create (e.g., TXT record).
    • Name: Enter the name of the DNS record (e.g., _cwpverify).
    • Value: Enter the value for the DNS record (e.g., yourdomain.com).
  5. Click the "Add DNS Record" button to create the new TXT record.

Step 6: Test your domain

  1. Wait for the DNS changes to propagate (this may take up to 48 hours).
  2. Test your domain by visiting it in a web browser (e.g., https://example.com).

That's it! Your new domain should now be configured in CWP.