For a secure email connection using SSL, you must replace your normal mail.domain.com URL with the hostname of the server. The hostname should be used for the incoming/outgoing certificate domain.
Finding Your Server's Secure Hostname
Shared Web Hosting
Look in your cPanel's left hand menu to find your server name:
You can find the hostname for your secure connection using the numbers found within the server name. The server name gator#### will map to the secure hostname secure###.hostgator.com. In the example above, the server name gator4054 means the secure hostname is secure4054.hostgator.com.
In your WHM panel, click the "Server Information" tab in the left hand menu:
Scroll down to the "System Information" section to find the name of your server:
You can use your reseller server name to establish your secure connection using the format servername.websitewelcome.com. Thus in the example shown, the server name is stingray and the secure hostname is stingray.websitewelcome.com.
In order to utilize SSL settings on a VPS or Dedicated Server an SSL certificate is required. If you have an SSL certificate configured you can use the hostname assigned to your SSL or your dedicated IP address as your secure server name. Otherwise, you would need to sign up for an SSL here.
- Secure POP3 - port 995
- Secure IMAP - port 993
The outgoing mail is always SMTP, whether using IMAP or POP.
- Secure SMTP - port 465
Note: Be sure that your computer's firewall is not blocking these ports as this can cause the ports to still not work properly. It is not always necessary to use your Internet Service Provider's settings, but if you cannot send from port 26 or 465, then we suggest you contact your ISP and ask for their outgoing mail server name.
When not using the secure connection settings for email, you may sometimes receive notices about the SSL certificate as these certificates are renewed or reissued. The best method to resolve this issue is to update the email settings with the secure server name provided above.
If you would prefer to not make this change, you may suppress warnings about the validity of your connection's SSL certificate by either adding an exception or trusting the certificate.
The following articles can provide further guidance in accepting or trusting your SSL certificate warning and are for reference only. Please note that HostGator cannot offer direct support for the information provided below.