Setup Google Workspace on My Hosting Account with cPanel on Linux
To set 'Google Apps', you need to have a Google Apps account.
To start registering Google Workspace for your domain, go to https://workspace.google.com/ where you can set Google Workspace as shown in Figure 1.

Click the 'Get Started' button as shown in Figure 2 and Google will take you to the sign-up page. After creating an account, log in to the account by giving your details and you will find the dashboard as shown below. Here you need to fill in the domain-specific email ID. After filling in the details you need to click the button 'Next' as shown in Figure 2.

The next step is about your domain. If you do not have a domain name yet you can buy a domain here from Google or you can check the first radio button. By clicking the radio button the domain name textbox will appear and you need to give your domain name there. After filling the domain name click 'Next' as shown in Figure 3.

Next, you need to fill in the details like 'User Name','Password','Alternative Email ID'. (Make sure that the email address you enter here is correct and accessible) and then check 'I have read and agree to the Google App for Work service agreement' and 'I have read and agree to the Google App for Work purchase agreement' as shown in Figure 4.

After the successful process, Google will create the app for you and you will find the app dashboard as shown in Figure 5. Here you need to start setting up your app by clicking the 'Start Setup' button as shown in Figure 5.

After clicking the 'Start Setup' button a screen will appear where you can verify your domain name as shown in Figure 6. Click the button 'Verify Domain' and Google will start verifying your domain.

After clicking the 'Verify Domain' button a pop-up screen will appear with the details and you need to click the button 'Get Started' as shown in Figure 7.

In the next screen, Google will ask you the methods by which you want to verify your domain. Click the first radio button 'HTML Tag' and copy the entire tag from the text box and put it in your domain index page header. If you do not have an index page then create an 'index.html' page and paste the copied Google Apps meta tag in the header section and upload it to your root folder as shown in Figure 8.

After uploading the 'index.html' file click the button 'Verify'. Google will start verifying your domain as shown in Figure 9.

After successful verification, Google will give you the confirmation as shown in Figure 10. After getting the confirmation screen, click the link 'Continue Setup' as shown in Figure 10.

Upon doing so Google will return to the dashboard and from there you can click the button 'Next' for further configuration as shown in Figure 11.

Then a popup screen will appear from where you can start pointing your mail to Google Apps. To do so click the button 'Set up email' as shown in Figure 12.

After clicking the button 'Set up email', go to your hosting control panel and from the hosting control, panel dashboard go to 'MX Entry' under 'Mail' as shown in Figure 13.

Now in the 'MX Entry' page 'delete' all the 'MX Entries' and create new 'MX Entries' so that you can send mails from 'Google App'. You need to enter five new 'MX Entries' as shown in Figure 14. These 'MX Entries' should be accurate as shown in Figure 14 with all the 'Priority' and 'Mail Server Name' as shown in Figure 14.

You can enter the 'MX Record' one by one as shown in Figure 15.

You can find the list of 'MX Record' that has been added to your hosting account as shown in Figure 16.

After entering all the 'MX Record' go to 'Advanced DNS Zone Editor' under 'Domains' in your hosting control panel as shown in Figure 17.

Under 'Advanced DNS Zone Editor' find the mail 'CNAME' record and click the link 'Edit' as shown in Figure 18.

When you click 'Edit' the panel will open a screen where you can edit your 'CNAME' record. Here you need to change the 'CNAME' record from default to 'ghs.googlehosted.com' and then click the button 'Edit Record' as shown in Figure 19.

After editing the 'CNAME' record go to your Google Apps page where you left and now click the button 'I've completed these steps' as shown in Figure 20.

Now it is time to check your mails. To do so, go to 'mail
If you want to create more email IDs under your 'Google Workspace' then go to https://workspace.google.com/, which is your admin console, and click the link 'Sign-in' from the top right side as shown in Figure 21.

When you click 'Sign-in', it will give you a pop-up screen as shown in Figure 22. Here you need to enter your domain name and you need to choose 'Admin Console' from the drop-down menu and then click the button 'Go' as shown in Figure 22.

Upon doing so Google will take you to the 'Google Workspace Admin Login Page'.After giving your admin email ID details Google will take you to the 'Google Workspace Admin Dashboard Page' as shown in Figure 23.

From the dashboard click the link 'Users' and Google will take you to the screen where you can add users as shown in Figure 24. Here you need to click the link 'Add More User' as shown in Figure 24.

Upon doing so a pop-up will open where you need to check the radio button 'Add a User Manually' and then click the button 'Continue' as shown in Figure 25.

Then a pop-up screen will appear where you can add a new user. To do so fill in the details of the user and then click the button 'Create New User' and 'Google Apps' will create a new user for you as shown in Figure 26.

Now you can access your Google Apps email ids through Gmail.
You can also create 'Calendar', 'Docs', and 'Sites' through Google Apps. To do so, go to your hosting control panel and create or update your 'CNAME' records as you did for your email.