- CPANEL User's Guide
- Official documentation on your control panel and all of its features. Please note that some features may be disabled for security reasons. Refer to the supplemental documentation below for additional info.
- Logging on (Accessing Your Account)
- Via FTP
- Via TELNET
- Via SECURE TELNET (SSH)
- Via DREAMWEAVER
- Via FRONTPAGE
- Via Your Account Control Panel
- Dreamweaver and Dreamweaver MX Docs
- RV/EZ Builder Docs (if installed)
- Basic Account Manipulation
- Account Features List
- File Manager
- Transfer of Files
- AnonymousFTP
- Password, Changing Yours
- Password Protecting Parts of Your Web Pages
- Shell Commands, Intro to a Few Unix Commands / Utilities
- Website Files, Where to Put & What to Name
- WYSWYG Built In HTML Editor
- Domain Control
- Subdomain control (website sub-divisions)
- Registration, services and prices
- Additional domain, adding to your account
- IP address lookup
- Maintenance, checking on your domain renewal info
- Registry Switch, switching control from Network Solutions
- Renewals, database featuring prices and renewal dates
- Email Basics
- POP Email Boxes
- Adding Additional Mailboxes
- Configuring Email programs
- General Syntax
- Setting Up Eudora Email Software
- Setting Up Outlook, Netscape, or Miscrosoft Email Software
- Retrieving your Email
- Sending Your Email
- problems sending (SMTP problems)
- sending email through the shell (PINE)
- sending through the Web Browser Interface
- Using Your Email Account
- Forms, Email Form Setup
- Forwarding Email (read warning below first)
- Auto-Responders
- Aliases
- Mailing Lists
- Spam Control
- Spam limiting techniques
- Web Browser Email Interface
- Expert Account Usage
- Programming
- Accepting Online Payments From Your Users
- payment systems
- shopping cart integration
- Apache Handlers
- ASP, Apache .ASP
- Backup, File Backups
- CGI, (scripts)
- Built-in CGI scripts
FormMail.pl, Counters, Bulletin Board, etc.
Advanced Built-in scripts
- Built-in Shopping carts (OScommerce)
- Built-in Java Chat
- Creating your own scripts, where and how to run
- Forms, Email Form Setup
- Running scripts from the CGI-BIN
- Perl, path to perl
- CRON JOBS, rules of conduct and use
- Database Intro and Installation
- MySQL
- PHP database processing language
- MyPHPAdmin
- Connecting to MySQL Remotely
- Frontpage, Microsoft Frontpage
- JAVA, Compiling
- MIME Types, Installation
- PERL, Path to Perl
- Real Content Support
- Real Audio
- Real Video
- TrueSpeech
- SSI, Using Server Side Includes
- SSL, Secure Server ADD-On Docs
- Sendmail, where can I find it on the server
- Wireless Markup Language (WML/WAP)
- Tips and Tricks
- Custom Error Pages
- Deleting frozen emails from EXIM (root access required)
- Hotlink Prevention
- Nulling a file (resetting a file to zero bytes)
- Replacing a string in a single file automatically
- Replacing a string in every file in a directory automatically
- Search Engine, Registration Tips
- Shell, Changing Your Default Shell or Your Personal Info
- Spam limiting techniques
- Logs and Account Data
- Determining disk and bandwidth computation
- Logs: accessible from your control panel.
- Analog
- Webalizer
- Last 300 visitors report
- Error log
- Miscellaneous
Note: You can upload and download files via three methods: FTP (file transfer protocol), Microsoft Frontpage, or via the file manager in your control panel. We recommend ftp as the best and most foolproof way of transfering files. Do not mix and match methods as using ftp and frontpage on the same file will result in corruption.
Please note that these scripts can be controlled and installed by logging onto your web control panel. Most will install with just one click. Some require minor configuration. As such documentation for these scripts assumes you are already logged onto your panel. Further documentation for these scripts is available there.
Simple CGI Wrappper
More...
Random page generator
Guestbook
Hit Counter
Clock
Chat
JavaChat
Java CountDown
Java CountUp
CGI EMail
Entropy Search
Enthropy Chat
Entropy Banner Control
We also offer a package of enhanced scripts such as Live Chat, content management systems, etc. These are available for a small monthly fee. Please click here to see a list of all available upgrades.
BUILT-IN SHOPPING CART SCRIPTS:Using Cpanel's Built In Page Editor:Please note that these scripts can be controlled and installed by logging onto your web control panel. As such documentation for these scripts assumes you are already logged onto your panel.
Agora Shopping Cart SystemEMAIL FORMS: FORMMAIL
OS Commerce Shopping Cart System
Formmail is a simple form processor that allows you to create a fill-in form that can be emailed to you. We have a new advanced tutorial for email forms
OUR NEW ADVANCED TUTORIAL: CREATING EMAIL FORMS
EMAIL FORMS: CAPTCHA
Captcha allows you to secure a form from spammers by making people enter a rotating verification code before a form sends. We provide a tutorial of how to install a captcha form on most accounts.
OUR NEW ADVANCED TUTORIAL: CREATING CAPTCHA FORMS
Installing my own version of Formmail:
You can install your own version of formmail into the system. However, make sure it is fully secured. We can't allow scripts that spammers may attack on the system and reserve the right to remove such instances of formmail without norice. Also, please give any custom instance of formmail a unique name (other than formmail or smartmail).
CGI EMAIL
CGIEMAIL is another form handler that is built into the system by default. It handles things a little diferently, using a template file to allign all of your results. The best way to describe its use is through an example: In your HTML file create a form using the following code:
<form action="http://www.yourdomain.com/cgi-sys/cgiemail/questions.txt" method="POST">
questions.txt is the name of the template file you will create later. You can of course replace this with any other name. Now, continuing with the example, we ask the user for his email address and a comment:
<input type=text size=20 name=email>
<input type=text size=20 name=comment>
</form>
Ok the form is made. Now all we need to do is create a text file template called questions.txt to accept the answers and email them to you. You need to put it in the same directory the form is located in. In this example it would look like the following:
To: insert your email address here
Subject: insert whatever subjec tyouw ant here
User's email address: [email]
User's comment: [comment]
Save the file...your done and it should work. Lots of advancd features as well as redirecting to a success page and specifying required fields are available here.
OTHER CGI SCRIPTS (INSTALLING YOUR OWN SCRIPTS)
- Path to Perl
- Running scripts directly from your CGI-BIN
- How to create, install your own scripts (.cgi or .pl)
- CGI Archive of other scripts your can install easily yourself
- Simple CGI Search
- Discuss (easy to install threaded discussion board)
- Jumpbox - simple pull-down webpage navigation
- CGI Errors, Viewing in your account
The most recent release of Cpanel includes a WYSWYG html file editor that is pretty powerful. To access the free editor go into the control panel and click on FILE MANAGER. Click on the icon to the LEFT of public_html to make sure you are in the public_html directory.Path to perl:
Create a new html file (let's say test.html)
Once created, click on the name of the file (test.html) from the file list. Many options should open up on the right side on cpanel. Among them is the HTML EDITOR. Click on that. Allow the editor to load a few seconds. Once its loads it will resemble a word processor where you can add text, pictures, align, add links etc.
Please note that many hidden options can be selected by right clicking in the editor. For instance highlighing text and right clicking on that text will allow you to create links, etc.
To save your progress click on the DISK icon in the upper left. We suggest saving progress often. If you browser or internet connection goes bad your progress will be lost if not saved.
The path to perl on the server is:Running CGI programs directly from the CGI-BIN directory:/usr/local/bin/perl
Thus all cgi programs should start with the following line at the top of the program:
#!/usr/local/bin/perl
If you run a program directory from the cgi-bin directory, the path to access the script (for example myscript.pl) is:Where do I put my USER-CREATED CGI programs?action="cgi-bin/myscrpt.pl"
Refer to the section below for the conditions that have to be met to make a cgi program run.
Our servers have the capability to run CGI scripts based on Perl, Unix SH, KSH, CSH, and C/C++ languages (etc). Perl is our language of choice as it is a world standard and is well suited to CGI. In addition, Perl code does not require manual compilations whereas C/C++ code must be compiled on our web servers prior to use:How do I see the errors from CGI programs?In order to run CGI programs, two conditions must be met:
- The script must have an extension of .pl in all cases. If you wish to use .cgi (or another extension) simply create a Apache handler from the control panel.
- The script must be marked as executable. This is done with the chmod command. If you are logged in via SSH, use chmod 755 If you are logged in via FTP, use quote site exec chmod 755 scriptname.cgi in the appropriate directory. This may not work well with all FTP clients. You can also change permissions using your control panel file manager.
A note for users of Frontpage: If you use FP you must chmod files and directories with 775 instead, to avoid conflicts.IN ADDITION:
- Here are some helpful tips to follow when installing Perl scripts:
- You can put a script in any directory off of the public_html directory. If a script does not work it may have special properties...try using the cgi-bin directory.
- Upload a script in ASCII transfer mode (and NOT BINARY mode)
- The first line of each script must read: #!/usr/bin/perl
- If a script calls another file within your account, but the script does NOT require a URL, you need to use the system path. To find path log on via SSH and use the pwd command.
Errors from CGI programs normally go into the Web server's error logs which are viewable from your control panel, or sometimes they go nowhere at all. They do not normally go to your Web browser. The error messages given for the failure of a CGI script are very generic and distinctly unhelpful.JAVA, Compiling:An easy way to detect script errors is to logon via SSH and run the script directly from the system shell. For example with command perl myscript.pl. This will list errors that the system detects. They are not specific but they may help you track down bad code.
Apache servers have built-in .asp functionality. With Apache .ASP you can make perl and script calls. Please note that Apache does not support javascript or other vscript calls native to chilisoft due to their large security hole issues. However, you can make such calls via PHP much more effeciently. If you have previously used chilisoft .asp and need to convert to PHP there is a great internet tool to do it. Check out the link below.Sendmail, Where is it Anyways?
The physical location of sendmail on your pro-series server is normally:
typically /usr/sbin/sendmailif yours is not present there you can locate it with the following SSH command:
whereis sendmail
(1) THROUGH THE WORLD WIDE WEB: Your account has access to a browser based email system. This is useful if you do not want to use a POP email program or your POP program fails. For logon details please click here.
(2) THROUGH SSH LOGON : Your primary account mailbox can be accessed through a SSH shell logon, by using the pine command inside the shell. Secondary mailboxes can not be accessed with pine.
(3) THROUGH A POP EMAIL PROGRAM : This is the preferred method of getting and sending email with your account. Your primary account mailbox as well as any secondary mailboxes may be accessed from any internet hookup using a mail program such as Eudora Mail, Pegasus, Outlook, NetscapeMail,ExplorerMail. POP programs automatically retrieve email from your account and allow you to send and store email with ease.
The following is the general syntax one should use when configuring an email program on this server. Please note that their is a syntax difference in configuring the primary email box of an account as opposed to all other boxes, which we will describe. Directly below this general syntax are specific examples for common email programs such as Outlook and Eudora.
All secondary boxes: To connect to any other mailboxes on your server set your POP program's access settings to username+yourdomain.com@yourdomain.com (which is your POP email setting). So if your domain was www.charlie.com and your main username was happy, you would point your mail program to POP address happy+charlie.com@charlie.com. Some email programs split this setting up and have you put your username happy+charlie.com and your server address charlie.com in seperate fields. Additionally, you should set email authentication to ON.
A note on the "+" character. Some older email programs may not like the "+" character. If so you may replace it with the percent sign (%) or the at sign (@).
SENDING EMAIL: To send email you must give your POP program a SMTP gateway address. This SMTP setting controls outgoing mail. Ideally, since you want to send email out via the shortest route possible, you should use the SMTP setting that is available from your dialup provider. Actually most dialup providers require you to use their SMTP address anyway. Ask your dialup provider what yours SMTP setting is. If you cannot get one from your dialup provider or it does not work, use your mail.yourdomainname.extension (for example mail.myname.com).
Setting up email for Eudora Email Software version 4 or later:
- On the top of Eudora, select SPECIAL and then scroll down to settings.
- Your POP retreival setting should look like: username@your_domain.com.
For instance ours is webster@webcs.com.- Your SMTP server setting controls your outgoing email (see above for details) was included in your initial startup email.
- Your return address should be your proper email address, for example username@yourdomain.com.
- Under the CHECKING MAIL SECTION, make sure the "Leave Mail on Server" option is not chosen. The "Send on check" option should also not be chosen.
- Alright, Eudora should now be configured to reach your mailbox here at WEBster.
- IF THIS IS NOT YOUR PRIMARY MAILBOX, replace username with username+yourdomain.com in the examples above.
Setting up email for Outlook, Netscape and Microsoft:
- On the top of Eudora, select TOOLS and then scroll down to OPTIONS.
- Your incoming email server setting should look like: yourdomain.com.
For instance ours is webcs.com.- Your username is simply your mailbox username.
- Your SMTP server setting controls your outgoing email (see above for details) was included in your initial startup email.
- Your return address should be your proper email address, for example username@yourdomain.com.
- Under the CHECKING MAIL SECTION, make sure the "Leave Mail on Server" option is not chosen. The "Send on check" option should also not be chosen.
- Alright, Eudora should now be configured to reach your mailbox here at WEBster.
- IF THIS IS NOT YOUR PRIMARY MAILBOX, replace username with username+yourdomain.com in the examples above.
PINE: Sending Email Directly from your account Shell::
- Your incoming email server setting should look like: yourdomain.com.
For instance ours is webcs.com.
The type of mail server is POP3 or if that does not work just POP.- Your username is simply your mailbox username.
- Your SMTP server setting controls your outgoing email (see above for details) was included in your initial startup email.
- Your return address should be your proper email address, for example username@yourdomain.com.
- IF THIS IS NOT YOUR PRIMARY MAILBOX, replace username with username+yourdomain.com in the examples above.
Pine is a special email program built into your account shell (SSH logon). It is accessible via the lowecase command pine after you logon to your shell. Its best use it to delete old email or spam that may clog up in your main mailbox. But you can also send email direcly from it in case of emergency when normal POP programs may fail.Pine will access your main mailbox, none of your secondary boxes. To send, receive and delete mail follow the straightforward commands that appear on the screen when you activate the pine command. For details information on pine, visit this website.
Changing your email and return addresses in pine:
Before sending email with pine it is important that you set the email address you want your receivers to see, otherwise pine will default to an return email address that is 99% of the time not what you want. To do this, enter pine. Press S for setup and then C for Config.
You will see a list of a lot of options. Most should not be touched.
Setting up a signature via pine:
- Select personal-name, press return, enter your name and then press return again
- Select user-domain, enter your domain name minus the www (example: webcs.com), and then press return
- Scroll along way down the options (very long way) and you will see an item called customized-hdrs. Select it by pressing return and then enter the following corresponding to your real name and the email address you want receivers to reply to::: For example we will assume your return address is bunny@ears.com and your name is Peter Rabbit:
From: "Peter Rabbit" <bunny@ears.com>
Now press return
- Select E for exit and your configuration should be setup properly. You are ready to send email with pine.
Press S for setup and S agian for signature. Enter your signature which will appear at the bottom of all emails send through pine. Press control-E to exit when you are done.