Archive for the 'General Site Tips' Category
I’ve written a number of posts about cron jobs becuase cron can be so useful in managing a site, plus cPanel makes it easy to set up and edit one.
Get your job to include useful info in the email that it sends you. You can notifiy yourself of success or failure, or post details about [...]
When you set your password, including on cPanel, or email accounts, be sure to select one that is hard to guess. But what does “hard to guess” mean?
Take a look at The Top 500 Worst Passwords of All Time:
From the moment people started using passwords, it didn’t take long to realize how many people [...]
You got a dreaded “internal server error” on your website. Even I get a panicky, sick feeling when I see such a page.
In case you have never seen one, an “internal server error” page will usually be all text and say something like:
Internal Server Error
The server encountered an internal error or
misconfiguration and was [...]
Here are the login formats for cPanel and web-based email (can be any of NeoMail, Horde and SquirrelMail, depending on what is enabled on your server).
Remember to use the secure login when you are using a wireless internet connection that is not your own secured network.
cPanel
Non-Secure http://yoursite.com/cpanel/
Non-Secure http://yoursite.com:2082/
Secure https://yoursite.com:2083/
Webmail
Non-Secure http://yoursite.com/webmail/
Non-Secure http://yoursite.com:2095/
Secure https://yoursite.com:2096/
Security Tip for Cron
For smart security, put the script that your cron job runs in a directory above your /cgi-bin/ and /www/ or /public_html/ directories.
This is because if your script is in, or under, your /public_html/ directory, then it can be executed via a browser by anyone anytime.
Restart cPanel from Shell
In the previous post, I mentioned how cPanel crashes and restarts itself and how this works well.
Sometimes, it does not restart. This happened to me recently for the first time after years of working with cPanel and Web Host Manager.
If you have shell access, restart cPanel with this command:
/etc/init.d/cpanel restart
At some point you will get an email with a subject line like this:
cpsrvd failed @ Apr 05 07:08:11 2007. A restart was attempted automagicly.
Yikes! What the heck this this mean? For a long time, I was so spooked by the words “failed” and “restart” that I assumed “automagicaly” was a typo for [...]
You have an email inbox that is filled up. Or perhaps your “spam box” is filled up. You have so many emails to delete that it would take you forever to clear it out, page by page with NeoMail. One of my customers cried for help because of 35 MBs of spam that [...]
cPanel provides two interfaces that simplify setting up a cron job. This post discusses the “standard” interface because most people find it easier and faster to use than the advanced interface.
Two common problems people often encounter with cron jobs :
a server uses “military” time or a 24-hour clock rather than a 12-hour clock. For example, [...]
Automatically run scripts or commands for your site by setting up a
cron job.” (A bit of trivia: “cron” is short for chronograph.”) Your cron job will run on the server at times and intervals set by the job.
A cron job can automate a repetitive task. For example, a cron job can periodically delete all [...]
Search
You are currently browsing the cPanel Support dot net -- cPanel Tips &Techniques weblog archives for the 'General Site Tips' category.
Longer entries are truncated. Click the headline of an entry to read it in its entirety.

