Step 1: Log in to the cPanel.
Open your web browser and navigate to your cPanel login page (usually accessible via https://your-domain.com/cpanel).
Step 2: Access the “Zone Editor” in cPanel.
Once you are logged in, then into the “Domains” section, click on “Zone Editor.”
Step 3: Select the Domain.
In the “Zone Editor” section, locate and select the domain for which you want to change the nameservers.
Step 4: Modify the Nameservers in cPanel.
Within the “Zone Editor,” click on the “Edit” or “Manage” button next to the domain you wish to update.
You will see the current DNS records for the domain.
Step 5: Update the Nameservers.
Locate the NS (nameserver) records and change them to the new nameservers you want to use. Replace the existing nameservers with the new ones.
Click on the “Save” or “Update” button to apply the changes.
Step 6: Update the Nameservers at Your Domain Registrar.
Now, you need to update the nameservers at your domain registrar to match the ones you set in cPanel. Log in to your domain registrar’s website.
Then find the section to manage your domain’s nameservers (usually under domain settings or DNS management).
Replace the existing nameservers with the new ones you obtained from cPanel.
At last save the changes.