Fixing Nutsmail/Cpanel Double Login

This tutorial is going to cover setting up your Nutsmail Skin so that there is no double login issues.  Typically when you do a global installation of Nutsmail, you will have to fill out the Cpanel pop up window, and then fill out the login information on the login screen of the skin.  This is obviously not the ideal setup, and looks unprofessional.  The good news is that the fix for this problem is very simple and does not require any coding experience.

The first thing you will need to do is login to Cpanel and set up a subdomain.  You can create any subdomain you like, but for purposes of this tutorial we are going to create the subdomain [mail].   When creating your subdomain the document root should be set to [public_html/mail].  You will most likely not have to change these values as Cpanel automatically sets them for you but just in case that is what you want it set to.

Now that you have your subdomain set up, you need to move your installation of nutsmail or squirrelmail into this directory.  To do this you will need to use Putty to connect to your server. If you are not familiar with this you  can refer to our post about [using putty].  What you will want to do is move the entire squirrelmail (or nutsmail directory if you created an additional installation) into the mail directory you just created.  To do this follow the steps below:

Navigate to your squirrelmail installation, this is usually at:

/usr/local/cpanel/base/3rdparty/squirrelmail

Copy these files to your home direcoty with the following command:

cp -rf /usr/local/cpanel/base/3rdparty/squirrelmail/  ~

Now once you get the file copied to your home directory you can move it into the mail directory very easily with the following command:

mv -rf squirrelmail/ mail/


You are done after that.  Now when you type in [mail.yourdomainname.com] you should be taken to the styled login screen that came with your nutsmail skin.  As always if you have any questions about this tutorial feel free to drop us a comment below and a member of our team will get back to you.


Leave a reply

Close