Time to host your applications on cloud. Join Now
Configuring the cPanel/WHM to send out emails is essential to server administrators who want to receive updates on critical issues regarding the server. This manual comprehensively explains setting up these notifications to ensure you get prompt alerts regarding server activities like account creation, resource limits, and other essential updates.
Email notifications are crucial for maintaining server health and security. They allow administrators to:
Track Server Performance: Get notifications for memory usage, CPU load, and disk space to facilitate proactive management.
Monitor Account Actions: Receive alerts for new or updated accounts to oversee user activities easily.
Avoid Downtime: Possible issues can cause servers to go down and data to be lost, and with early alerts, such instances can be avoided. Easy-to-Follow Instructions on Email Alerts Configuration
Log in to your WHM panel with your root account login information. You usually do this by going to https://yourdomain.com:2087.
After you sign in, you will see the WHM dashboard.
In the left navigation menu, click on "Server Configuration."
Select "Basic WebHost Manager® Setup."
Go to the tab labelled "Contact Information". Search for the section titled "Enter one or multiple email addresses to be contacted if any issues occur with this server."
Please provide the email addresses where you would like to get the notifications. If you have multiple addresses, just be sure there is space between the phrases and use commas to separate them and the address (for example, [email protected], [email protected]).
Scroll further and select "Save Changes." This action saves your contact information for notifications.
Return to the WHM home page by clicking on "Home."
From the left navigation menu, select "Server Contacts."
Click on "Contact Manager." This part lets you set up the notifications you'll get.
In the Contact Manager, you will see various notification types listed. Each type corresponds to different server events (e.g., account creation, exceeding memory limits).
You can select the level of importance for each notification type from the "Receives" column. This menu lets you choose your preferred notification settings (e.g., Always, Only on Critical Events, Never).
Select the "Notifications" tab to view various alert categories. You can allocate importance levels to different alerts by selecting from the dropdown menu in the "Importance" category.
Modify as needed according to your personal preferences. Choose the alert categories that best match your server management requirements.
Once you have set up the notification preferences, press the "Save" button to save the changes.
Consider simulating a server event to ensure that your email notifications are working correctly. This could be done by creating a test account or intentionally exceeding a resource limit (if it is safe).
Monitor the email addresses you configured to confirm that notifications are received as expected.
If you want to customize the content of your email notifications, WHM allows for some flexibility. You can modify notification templates to include specific information or branding. This is done through the /usr/local/cpanel/etc/icontact_templates/ directory, where you can find various templates for different alert types.
Make sure that the email addresses you use for notifications are current. Periodically check and make necessary changes to ensure important alerts are noticed.
Occasionally, email notifications can be found in spam folders. To avoid this issue, include your server's IP address or domain in your email allowlist, ensuring messages are sent to your inbox.
Enabling email notifications through cPanel/WHM is a simple procedure that can significantly improve your server management skills. By adhering to the steps provided, you can guarantee that you receive timely notifications of critical server events, enabling you to address server health and security issues quickly. Frequently checking your notification preferences and email addresses will assist you in monitoring server performance and problems, leading to a more dependable hosting environment.
Let’s talk about the future, and make it happen!