15 Dec

Server Issue – hera.ihostman.com

Server Name: hera.ihostman.com
IP Address: 23.29.115.2

Default Nameservers:

  • ns5.ihostman.com
  • ns6.ihostman.com

Dear Valued Customer,

If your accounts are hosted on this server, please be informed that the web server is currently inaccessible.

On December 15, 2024, around 11:00 AM, we noticed the server became unreachable. Upon investigation, we found that the server could not boot into the disk. After resolving the boot issue and restarting the web server, we observed that the server was operating extremely slowly.

Further investigation revealed that one of the NVMe drives has a disk failure and is no longer operational. Despite exploring several alternatives, none were successful. Therefore, we have decided to migrate the data to a new server.

We have already procured new server hardware and initiated the operating system setup. Once the setup is complete, we will install the required software and begin the data migration process.

Key Points to Note:

  1. No Data Loss Expected: All data will be safely migrated to the new server.
  2. No IP or DNS Changes: The IP address remains unchanged, eliminating the need for DNS propagation.
  3. Estimated Completion Time: We aim to complete the migration process within the next 48 hours.
  4. No action is required from Customer end. We will complete the process and let you know.

Once the migration is complete, all services should be operational as they were prior to this incident.

Please rest assured that our team is working around the clock to resolve this issue as quickly as possible.

We will provide updates as soon as there is more progress. For any questions or concerns, feel free to contact us via:

We sincerely apologize for the inconvenience caused and appreciate your understanding.

— TetraHost Support Team

10 Dec

Important Announcement: cPanel Price Adjustments for 2025

As we approach the new year, we want to keep you informed about an important update regarding cPanel licensing costs. Starting January 1, 2025, cPanel will adjust its prices for the sixth consecutive year. This change affects hosting providers like TetraHost and, in turn, necessitates updates to our pricing.

We understand price increases are never welcome news, but we’re committed to transparency and doing everything possible to minimize the impact on your hosting plans. Let’s walk through what these changes mean for you and how we can help you adapt smoothly.


What’s Changing?

Here’s how the cPanel pricing update will affect TetraHost customers:

Shared Hosting Customers

Good news: No changes! Your pricing remains the same.

Reseller Hosting Customers

  • 40 BDT per month per cPanel account or
  • 460 BDT per year per cPanel account.

VPS and Dedicated Server Customers

If you’re on a VPS or Dedicated server with cPanel License:

  • Contact us for your updated cPanel license price at support@tetrahostbd.com or call +8801913377417 | +8801711825320.
  • Looking for alternatives? We also support other control panels and can guide you through a switch to reduce costs while maintaining performance.

Why Does cPanel Keep Raising Prices?

Over the past several years, cPanel has shifted its pricing model to align with the number of cPanel accounts being managed. This means higher prices for hosting providers, especially those with account-heavy setups. While this strategy is aimed at improving infrastructure and services, it inevitably affects hosting providers and customers alike.

At TetraHost, we’ve done our best to absorb these increases over time. However, the cumulative impact means adjustments are now unavoidable to sustain the quality of services you rely on.


How We’re Supporting You

We know that any price change can be disruptive, which is why we’re here to help you every step of the way:

  1. Advance Notifications: We will notify all affected customers well before the changes take effect, ensuring you have time to plan accordingly.
  2. Flexible Options: Need fewer cPanel accounts or exploring alternative solutions? We can help you streamline your plan or transition to a different control panel.
  3. Customer Support: Our support team is ready to answer your questions or assist with any adjustments to your hosting setup.

Your Next Steps

To ensure you’re prepared for the new pricing, here’s what you can do:

  • Reseller Hosting Customers: Review your account usage and let us know if adjustments are needed.
  • VPS and Dedicated Server Customers: Reach out to us for detailed pricing or to discuss alternative control panel options.
  • General Inquiries: Have concerns or questions? We’re here to help at support@tetrahostbd.com or +8801913377417 | +8801711825320.

Together, We’ll Keep Your Hosting Smooth

While price changes can be challenging, our commitment to delivering high-quality hosting services remains unwavering. We’re confident we can help you navigate this adjustment with minimal impact on your business.

Thank you for trusting TetraHost as your hosting provider. We’re grateful for your partnership and look forward to supporting your growth in 2025 and beyond.

14 Nov

Send Emails the Secure Way: A Guide to SMTP Authentication

In today’s web hosting environment, email functionality is essential for communication, whether for notifications, user verification, or marketing. However, to maintain security and reliability, we have disabled the native php mail() function on our hosting servers. This decision was made to enhance security, reduce spam, and ensure better deliverability of emails.

Why Is the PHP Mail Function Disabled?

  1. Security Concerns: The php mail() function is often exploited by malicious users or scripts to send spam or phishing emails. These activities can damage the reputation of our hosting servers and lead to blacklisting by major email providers.
  2. Lack of Authentication: The php mail() function does not inherently support authentication, making it easier for emails to be spoofed. This can compromise trust in your emails and affect user engagement.
  3. Poor Deliverability: Emails sent using the php mail() function are more likely to end up in spam folders or be outright rejected by receiving servers due to lack of proper authentication headers.

To address these issues, we recommend using SMTP (Simple Mail Transfer Protocol) for sending emails from scripts. SMTP supports authentication and allows you to send emails through a secure, authenticated channel, ensuring that your emails are delivered reliably.

Benefits of Using SMTP Authentication

  • Enhanced Security: SMTP requires authentication before sending emails, reducing the risk of unauthorized use and spam.
  • Better Deliverability: Emails sent using authenticated SMTP are more trusted by receiving servers, improving their chances of landing in the inbox.
  • Traceability: SMTP provides better logging and tracking options, making it easier to troubleshoot email delivery issues.

Example of an Email Script Using SMTP Authentication

Here’s a simple PHP script that uses the PHPMailer library to send an email via SMTP:

<?php
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;

require 'path/t1o/PHPMailer/src/Exception.php';
require 'path/to/PHPMailer/src/PHPMailer.php';
require 'path/to/PHPMailer/src/SMTP.php';

// Create a new PHPMailer instance
$mail = new PHPMailer(true);

try {
    // Server settings
    $mail->isSMTP();
    $mail->Host = 'locallhost'; // Set your SMTP server
    $mail->SMTPAuth = true;
    $mail->Username = 'your-email@domain.com'; // SMTP username
    $mail->Password = 'your-password'; // SMTP password
    $mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; // Enable TLS encryption
    $mail->Port = 587; // TCP port to connect to

    // Recipients
    $mail->setFrom('from@domain.com', 'Mailer');
    $mail->addAddress('recipient@domain', 'Recipient Name');

    // Content
    $mail->isHTML(true);
    $mail->Subject = 'Test Email';
    $mail->Body    = 'This is a test email sent using SMTP authentication.';

    // Send the email
    $mail->send();
    echo 'Message has been sent';
} catch (Exception $e) {
    echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}";
}
?>

Users can download the PHPMailer library from the following sources:

  1. Composer (Recommended):
    • Run the following command in the terminal to install PHPMailer using Composer:
      composer require phpmailer/phpmailer
  2. GitHub:
    • Visit the PHPMailer GitHub repository to download the latest release as a ZIP file.
    • Extract the files and include them in your project.
  3. Official PHPMailer Website:

Steps to Implement SMTP in Your Script

  1. Configure SMTP settings: Update the SMTP host, username, password, and port as per your server’s configuration.
  2. Secure Your Credentials: Always store your SMTP credentials securely, using environment variables or secure storage practices.

By using SMTP authentication, you help maintain the security and deliverability of your emails. This practice ensures that your emails reach your recipients without issue and preserves the reputation of our hosting servers.

20 Oct

How to Set Up a Google Workspace Email Account in Outlook

Setting up your Google Workspace email account in Outlook allows you to manage your business emails from one central application, streamlining your communication. In this guide, we’ll walk you through the steps to get your Google Workspace account up and running in Outlook.

Step-by-Step Guide to Adding Your Google Workspace Email Account

  1. Open Outlook and Navigate to Account Settings
    Start by launching Outlook. Click on the File tab, and then select Account Settings under the Info section. This is where you’ll manage all your email accounts in Outlook.
  2. Add a New Email Account
    In the new Account Settings window, click on the New button. A dialog box will appear asking for your email.
  3. Manually Set Up Your Account
    Under Advanced options, select Let me set up my account manually and click Connect. This allows you to enter custom settings for your Google Workspace account.
  4. Select the Google Option
    On the next screen, choose Google as the account type.

Configuring Your Outlook Email Settings

  1. Enter Server Settings
    Now it’s time to configure your incoming and outgoing mail server settings. Enter the following details:
    • Incoming mail server: imap.gmail.com
      • Port: 993
      • Encryption method: SSL/TLS
    • Outgoing mail server: smtp.gmail.com
      • Port: 465
      • Encryption method: SSL/TLS
    Ensure that the account type is set to IMAP, and then click Next.
  2. Enter Your Google Workspace Password
    At this point, Outlook will prompt you to enter your Google Workspace account password. Type it in, and then click Connect.
  3. Sign In to Google
    A new window with the Google logo will appear. Enter your Google Workspace email address and click Next. You’ll then be asked to enter your password and click Sign in.
  4. Verify Your Connection (If Required)
    Depending on your Google account’s security settings, you might need to verify the connection using your phone or another verification method. This step ensures that the connection between Outlook and Google is secure.
  5. You’re All Set!
    After successfully signing in, Outlook will complete the configuration. Click Done, and your Google Workspace emails will start syncing in Outlook!

By following these steps, you can easily integrate your Google Workspace email with Outlook, ensuring you never miss an important message.

For more helpful guides and tips, stay tuned to our blog!

16 Oct

Installing WHMSonic Shoutcast Panel

WHMSonic is a powerful tool that allows you to manage and run Shoutcast radio stations directly from your WHM/cPanel. The installation process is straightforward and can be completed via SSH by the root user. Once installed, you’ll be able to access the WHMSonic panel from your WHM interface, located at the bottom of the left menu.

Requirements:

  • A dedicated server or VPS with WHM/cPanel access.

Installation Steps:

  1. Log in to your server’s root SSH access.
  2. Run the following command to begin the installation:bashCopy codewget -N http://whmsonic.com/setupr/installr.sh; sh installr.sh;
  3. WHMSonic will automatically install, and upon completion, you will receive a final notification confirming the successful installation.

Once installed, you can manage your Shoutcast radio stations directly through WHM. Enjoy the streamlined experience of managing AutoDJ, playlists, and radio streams with ease.

30 Sep

How to Check Website Speed and More Using Chrome’s Inspect Tool

If you’re looking for a quick way to check your website’s performance without installing any additional extensions, Chrome’s built-in Inspect tool is a great solution. This tool not only helps developers inspect the structure of a webpage but also provides powerful insights into website speed, performance, and more.

Here’s how you can use Chrome’s Inspect tool to analyze website speed and explore other features:

Checking Website Speed

  1. Open the Inspect Tool:
    • Right-click anywhere on your webpage and select Inspect, or use the shortcut Ctrl + Shift + I (Windows/Linux) or Cmd + Option + I (macOS).
  2. Use the Network Tab:
    • Click the Network tab in the Inspect window.
    • Reload the page (press F5) and Chrome will capture all the files that load during the page load process.
    • At the bottom of the panel, you’ll find useful metrics like:
      • DOMContentLoaded: Time it takes for the HTML content to be loaded and parsed.
      • Load Time: Total time for all elements (CSS, JS, images) to be fully loaded.
    • You can also see the waterfall view, showing the time taken by each individual resource.

More Features of Chrome’s Inspect Tool

Aside from checking website speed, here are other key features of the Inspect tool that can assist with website analysis:

  1. Elements Tab:
    • This tab shows the HTML structure and CSS styling of the page.
    • You can modify elements on the fly to see how changes affect the design without altering the actual code.
  2. Console Tab:
    • The Console logs JavaScript errors and warnings, allowing developers to troubleshoot problems.
    • You can also execute JavaScript code directly in the console.
  3. Performance Tab:
    • Provides a detailed analysis of your page’s performance.
    • Click Record or reload the page to capture an in-depth view of CPU usage, rendering, and the time spent on various tasks like scripting and painting.
  4. Lighthouse Tab:
    • Offers a comprehensive report on your site’s performance, accessibility, SEO, and best practices.
    • You can run an audit to get suggestions on how to improve your page speed and performance.
  5. Application Tab:
    • Gives you access to view and manage storage, service workers, cookies, and other application-level data.

Conclusion

The Chrome Inspect tool is a powerful all-in-one resource for checking website speed, reviewing code, and diagnosing problems. With just a few clicks, you can analyze load times, identify slow resources, and improve the overall performance of your website.

By leveraging these features, developers can quickly spot issues and optimize websites for better user experiences.

22 Sep

Resolving the “retry time not reached for any host” Error in cPanel Servers

As a server administrator, you might encounter the following error when your mail server attempts to send emails to certain domains:

retry time not reached for any host after a long failure period

This issue commonly arises due to a corruption in the Exim Retry Database. When the Retry Database is corrupted, Exim (the mail server) is unable to reattempt sending emails to the affected domains, leading to this error.

What Causes This?

The Exim Retry Database is responsible for managing email retries when the initial delivery attempt fails. If the database becomes corrupt or locked, your mail server may not attempt to deliver queued emails, resulting in delayed or undelivered messages to the affected domains.

How to Fix This

To resolve the issue, you need to clear and rebuild the Exim Retry Database. Below is the procedure for fixing this on a cPanel server running CentOS or other Linux distributions.

Step 1: Clear the Corrupt Database Files

Start by removing the corrupted retry and waiting files. SSH into your server as the root user and run the following commands:

cd /var/spool/exim/db
rm -f retry retry.lockfile
rm -f wait-remote_smtp wait-remote_smtp.lockfile

These commands delete the retry and wait-remote_smtp files, which contain the retry records for undelivered emails. Lock files are also deleted to ensure that no processes are currently using these databases.

Step 2: Restart the Exim Service

After removing the database files, restart Exim to allow it to recreate the necessary retry files and clear the issue:

service exim restart

For systems using systemd, you can alternatively use:

systemctl restart exim

Step 3: Clean Up the Exim Database

To ensure that old or invalid entries are cleared from the Exim database, you can use the exim_tidydb tool to remove retry records older than one day. Run the following commands:

/usr/sbin/exim_tidydb -t 1d /var/spool/exim retry > /dev/null
/usr/sbin/exim_tidydb -t 1d /var/spool/exim reject > /dev/null
/usr/sbin/exim_tidydb -t 1d /var/spool/exim wait-remote_smtp > /dev/null

This cleans out stale records in the retry, reject, and wait-remote_smtp databases that may still be causing issues.

Step 4: Update Exim and Courier Services

For an added layer of assurance, it’s advisable to force updates of Exim and Courier. This can resolve any lingering issues with the mail system:

/scripts/courierup --force
/scripts/eximup --force

These commands will recompile and update both Exim and Courier to their latest stable versions, ensuring that no underlying issues with these services are present.

Conclusion

Following these steps should resolve the “retry time not reached for any host” error by cleaning up the Exim Retry Database and allowing your server to properly attempt mail delivery again. While this error is often reported for popular domains like Gmail, it can occur with any domain if there’s an issue with the Exim database or network interruptions. If the problem persists after taking these steps, it may indicate a deeper issue such as network misconfiguration or external mail filters affecting delivery.

12 Sep

How to Create a Subdomain in cPanel

cPanel has streamlined its interface, combining the Subdomain, Addon Domain, and Parked Domain options into a single menu called Domains. Subdomains are useful for directing visitors to specific sections of your website or hosting separate projects while keeping your main domain intact.

Follow the steps below to create a subdomain in your cPanel account:

Steps to Create a Subdomain:

  1. Log into your cPanel Account
    Once logged in, navigate to the Domains section and click on the Domains menu.
  2. Click the ‘Create A New Domain’ Button
    This option allows you to create a new domain or subdomain.
  3. Enter the Subdomain Name
    In the Domain text box, type in the subdomain you want to create, such as test.tetrahostbd.com. The format will be subdomain.maindomain.com.
  4. Customize the Directory for Your Subdomain
    By default, cPanel will create a directory for the subdomain inside the public_html folder.
    • Deselect the option “Share document root (/home/username/public_html) with ‘domain.tld’” if you want the subdomain to have a unique directory.
    • Specify the directory path where you want the subdomain’s files to be stored, or use the auto-generated directory.
  5. Submit Your Changes
    After entering the required information, click Submit to create your subdomain.

Important Notes:

  • The subdomain will be live within 5–10 minutes, although DNS propagation may take up to 30–40 minutes for the changes to fully take effect worldwide.

By following these steps, you can easily set up subdomains for different sections of your website or individual projects, all under the same cPanel account.