Something I’ve always wanted to do is update the screen users see when they visit /webmail and log in on a cPanel server.
Now I know you can choose which webmail clients are available using whm, but I actually wanted to remove, move and change the look of some elements.
First thing I must state is that you need root level access to every folder on the server. Once you’ve logged in the location of the index.html which I was looking for is…
/user/local/cpanel/base/webmail/[TEMPLATE NAME eg x3]
In there you want to edit the file index.html using something like the command line tool vi.
When you get a new hosting account you get an account user. These user details can be used to log into cPanel if you have it, but can also be used to connect via an ftp client to upload your sites files.
This always puts me on edge though. If someone gets your details they can’t just access your ftp but can also log in and make any changes that they want to your site.
For this reason I generally set up a new ftp account just to use for ftp access.
Until now I’ve never worked out how to access the root of a site with an ftp account. Generally I just accept access to the public_html folder and leave it at that. But today I finally worked out how to give an ftp account root access to a hosting accounts files.
Continue Reading… »