Linux OS- The future is ours Spam Prevention & Spam Infos CandiNet Web Services Virus Protection & Information Center Make payments with PayPal - it's fast, free and secure!

  [ main page ] [ Web Hosting Services ] [ Hosting Information for Webmaster ] [ Linux Tutorial ] [ MS Frontpage Tutorial ]

PART II: General Webhosting Account Information

Website Control Panel  
The Control Panel can be used to easily setup or change the setup and contents of Your WebServer online.
The control panel is accessible as a folder on your web. 
The format is YourDomain.com/cp.
You will be asked for username & password. Both were provided together with the other infos about your web hosting account (Website Info Sheet).

FTP  (File Transfer Protocol) or how to copy to and from your WebSite
FTP (File Transfer Protocol) is used for transferring files (HTML pages, graphics, etc.) to/from your server.

You could use FrontPage or your favorite Web Design Software to publish (upload) files to your Website.
For manual copying you will need software that handles FTP.
We suggest using programs specifically designed for FTP'ing (transferring) your files.
For example:

Windows Commander from Ghisler,
a Shareware file manager for Windows® 95/98, Windows NT®, and Windows® 3.1.
Features in Windows Commander 4.xx up now include :
Two file windows side by side
Multiple language support
Enhanced search function
Compare files / synchronize directories
Quick View panel with bitmap display
Drive bar / button bar
ZIP, ARJ, LZH, RAR, UC2, TAR, GZ, CAB, ACE archive handling + plugins
Built-in FTP client with FXP (server to server) and HTTP proxy support

or

WS_FTP from Ipswitch, Inc. You can get a shareware (evaluation) copy of WS_FTP from: ftp://ftp1.ipswitch.com/pub/win32/ws_ftple.exe  

For MacIntosh (tm), we suggest the following ftp program: FETCH
You can get a copy of FETCH from: http://tucows.tierranet.com/mac/files   

Logging in with FTP  

Based on the assumption you are FTP'ing with WS_FTP (as recommended above) the following section will give you a basic run-down on how to configure and use WS_FTP for transferring files. 

You will need your initial e-mail from us about your NEW SERVER INFORMATION.
You will need to start up WS_FTP. You should first be prompted with a "Session" dialog box.

You will start configuring WS_FTP in the following areas:  

Profile Name This is any name you wish to identify your ftp information. 
Host Name Your full Domain Name (URL) or IP address  
Host Type Automatic Detect 
User ID Your login name 
Password Password (BE SURE to put a check in the Save Password box) 

    The remaining entries should remain empty. 

Click the "OK" button and WS_FTP should start logging you into your FTP site. If there are any login error messages, please check every input (please note that the password is CASE sensitive, we suggest that you cut-n-paste your password DIRECTLY into the WS_FTP password area).

Once you have correctly ftp'd to your server. You will see your server directories in the right side window. Please put all your accessible files ie. html and graphics in htdocs directory and scripts in cgi-bin directory.

When setting up your HTML files, BE SURE name your homepage (your main page) - 'index.htm' (or .html). Files are case sensitive. If you document says MYFILE.HTML then your file must be saved as MYFILE.HTML not myfile.html. Any subdirectories you would like to create may be created.

        The 'MkDir' button creates a directory. 
        The 'RmDir' button removes a directory.

Remember to transfer your text base files (html, script, etc) in ASCII and your non-text base files (gif, jpg, etc) in Binary mode.


POP3 Email Account  

Your initial main email address will be : PostOffice@YourDomain.com
All email addressed to @YourDomain ie. sales@YourDomain.com, doyok@YourDomain.com, etc
will be directed to main email address (PostOffice@YourDomain.com).
This is called a catch-all account.

Here's how to access your mailbox from your email client software:

     Account name: PostOffice@YourDomain.com

     Some email client software require account name and domain name in 1 field (ie. Eudora)
     Account_name@Domain_name: PostOffice%YourDomain.com@YourDomain.com  

     Incoming mail server: YourDomain.com 
     Outgoing (SMTP) server: YourDomain.com.
     Password: (see initial password your Server Info Sheet, please change to your own preferred password).

If you have a dedicated IP no. for Your WebServer (option), you will not need to use the @-scheme to access your eMail account.

Mail Administration

You may change your email settings and add new mail accounts, aliases or autoresponders by yourself
at any time.

Please use the Mail Administration Gateway (YourDomain.com/MailAdmin) or via Control Panel.

If you enter your domain name and hosting password, you have admin access and may add, change or delete any accounts.

If you enter any eMail address and eMail account password, you may change just that single account.

This is the place to setup autoresponders, mail forwarding, alias accounts, etc.

WebMail access

You may check your eMail or send email using your browser with our web based Mail Gateway.
Simply goto YourDomain.com/WebMail.

You just enter your eMail address and password and voilá, better than Hotmail!

EMAIL REDIRECT

All email that sent to redirect address (user@domain.com) will be automatically fowarded to your POP email account.

AUTORESPONDERS
When someone send email to your email address, autoresponder will automatically send autoreply to the sender.
You can customize this message message.

If you need additional POP3/Redirect/AutoResponder email account,
please use the Mail Administration Gateway (YourDomain.com/MailAdmin) or via Control Panel.


Forms  

Your server is pre-configured with the magic 'TrueForm Mailer' (form mail) script.
TrueFM is a universal web form processor and to form to eMail gateway.
There is no required form input tag which must be specified in order for this script to work with your existing forms.
Embedded comments or hidden configuration fields can also be used to enhance the operation of FormMail on your site.
What makes TrueForm Mailer different from other form handling scripts?
TrueForm Mailer magically retrieves a copy of any form using it and processes it into a template for the confirmation screen and for email messages.
With TrueForm Mailer you always receive the original form exactly as filled out, without needing templates and complicated software programming anymore.
You may use TrueForm Mailer from any form, without any configuration neccessary. Just point the form's action to TrueForm Mailer!
TrueForm Mailer is fully compatible with Matt Wright's famous and original form mailer to ease migration.
What you see is what you get!
This script is designed to process any forms that you write for your site.
No knowledge of CGI is necessary to implement a working form on your website. 
Please be carefull to use other form mailer scripts, since many of them are unsecure and may be used to
send spam mail from your server!


Statistics

CandiNet currently offers 7 different major statistic tools for Webhosting clients.
These come pre-installed and we update all the tools frequently.
All these tools can be access with any Browser at this Adress: YourDomain.com
/cp

1. Access Log and Error Log in the logs-folder of every WebServer

Access only thru FTP, this logs every single access and every single error

2. Webalizer

Comrehensive Site Statistics. The Webalizer tracks and analyses every single hit on your server.
Accessible via your Website Control Panel (/cp).

3. Analog

Comrehensive Site Statistics.
Analog has it's strength with details on Virtual Hosts and Broken Links information.
Accessible via your Website Control Panel (/cp).

4. CandiNet Page Hit Counter

Your server is already configured for the placement of a simple and easy hit counter.
This will allow you to count the total number of hits on a page by page base.
It works only for webpages, that have the appropriate code included.

Accessible also via your Website Control Panel (/cp).
Format: YourDomain.com/cgi-bin/countit/countit.pl?stats

Attention:
The CandiNet Hit Counter is only activated, when the file extensions are either .html or .shtml and if you include the following line of code into your HTML-pages
(i.E. into the top of your index.html).


How to implement the Page Hit Counter:
*The Page Hit Counter counts hits to any page that has this line of code on top of page:
(Copy and paste any of the complete next lines of code)
<!--#exec cgi="/cgi-bin/countit/countit.pl"-->

This code will return the total hits for all pages:
<!--#exec cgi="/cgi-bin/countit/countall.pl"-->
This code will return the hits for the current page:
<!--#exec cgi="/cgi-bin/countit/countshow.pl"-->
This code will return the total hits for today:
<!--#exec cgi="/cgi-bin/countit/today.pl"-->

This code will accumulate current visitor count and return statistics for page footer (recommended):

<!--#set var="action" value="print" -->
<!--#exec cgi="/cgi-bin/countit/countit.pl"-->

The results are accessible via your Website Control Panel (/cp).

5. CandiNet Logfile Viewer

You can easily view your servers Logfiles by running our viewlogs.pl script at:
Yourdomain.com /cgi-bin/viewlogs.pl 
Accessible also via your Website Control Panel (/cp).
This Logfile viewer allows to search the logfiles for any given search term.

6. Traffic Control

Traffic Control shows LIVE graphic information about your server's total traffic (bandwidth) in bytes/second.
Daily, weekly, monthly and annual graphs & infos are displayed.

7. Search Engine & Keyword Report (relax)
This report shows detail information about accesses from Search Engines.
It lists search terms & keywords used, which pages where accessed and from which Search Engine you got the traffic.

Tips for CGI Installations  

When installing your own CGI scripts, you will, most likely, need to modify some of the script's parameters. In most scripts the parameters to modify will be located at the top of the actual script file after any instructions or headers (most are clearly marked and have concise instructions in the comments for modifying the parameter, rule of thumb, though, READ THE INSTRUCTIONS before modifying a script!).

Some common path :

The first line of your script must be  #!/bin/perl    OR     #!/usr/bin/perl
Document directory  /home/userid/htdocs/yourfiles.ext
Cgi-bin directory      /home/userid/cgi-bin/yourfiles.ext
Sendmail                 /bin/sendmail OR /usr/sbin/sendmail
Date                     /bin/date

Things to do before you installing the script :

    1. Read the documentation for the script you are trying to install!
    2. If you don't find any documentation WITH the script, check inside the script ITSELF, some scripts have the instructions written in with the coding.
    3. If you can't find any help, contact the author of the script (most scripts have the author's information in the header of the script).
    4. Make sure you have properly set any permissions for the file (most scripts require CHMOD 755, or read-execute permission to properly execute on the server).
    5. Make sure you have properly set all paths and parameters!
    6. Make sure (if it's a Perl script) you transferred it as an ASCII file (Perl scripts are text files [ASCII] not binary files like some compiled CGI scripts!)

Related Resources:
http://php.net
http://perl.org
http://www.worldwidemart.com/scripts


SSH and Telnet Access
Your Telnet account is setup only on request.
Each user has it’s own account. Each account has it’s own Home Directory, but will share the same Web Directories and FTP Directories. 

Telnet is much like a DOS program in both use and appearance, requiring specific typewritten commands. There are "power" uses for Telnet, but only Advanced Users will be able to understand or implement them. The novice user will probably not need to use Telnet very much or very often, but some basic knowledge of it will be useful.

MySQL

we do not give a tutorial to use MySQL,
please visit the official document and tutorial at MySQL.com

PHP
PHP is a 3rd party scripting engine. Please Note: We do not  provide support for PHP.  
We have added it for users that our already familiar with it.  
To use PHP on your domain just add the extensions .php or .phtml rather than .html. to your PHP
file
We have installed PHP4 on our servers.
Visit the official document and tutorial at http://www.php.net

Zip/Unzip Files
This Unix program is compatible with the zip program for DOS and Windows. To zip files, first have the files uploaded to your server, then log into your account with Telnet. Navigate to the directory where the files are that you want to zip. 

(for instance by typing cd htdocs then cd sounds). 
    Then type: zip myzip file1 file2 file3

This puts the files "file1", "file2", and "file3" into a new zip archive called  "myzip.zip". 
On the other hand, if you had the archive"myzip.zip" and wanted to get back the files, you would type: unzip myzip

Typing zip or unzip by itself will give you a usage summary, showing nearly all the options available.

TAR Files
to unzip .tar extention, simply type:
tar -xvf filename.tar


CGI Script Resources
There are many good resources for CGI scripts found on the web. The scripts at Matt's Script Archive found at http://www.worldwidemart.com/scripts are very good. Many of our scripts come from there. Unless you are an expert on the subject, you should look for scripts that are very well documented and come with step-by-step instructions.  You may contact us for help or installation if you like.

Paths to Date, Mail, Perl, etc. (Advanced Users)
CGI scripts often require paths to common server resources.  These paths are as follows:
(puts you in your web directory) (puts you in your cgi-bin)

The first line of your script must be #!/bin/perl    OR     #!/usr/bin/perl
Document directory /home/userid/htdocs/yourfiles.ext
Cgi-bin directory     /home/userid/cgi-bin/yourfiles.ext
Sendmail                /bin/sendmail OR /usr/sbin/sendmail
Date                       /bin/date

Setting Permissions (Advanced Users)
The following is a simple explanation of file permissions in Unix. To list the access permissions of a file or directory, telnet to your server, then type:

    cd directoryname 

to change the directory until you are either in the directory above the file you are interested in, or above the directory you are checking. 

Type: ls -l filename 

and you will see what the current permission settings are for that file, along with other information.

Examples of using chmod:
 

PEOPLE

PERMISSIONS

u = the file's user (you) r = read access
g = the file's group x = execute access
o = others w = write access
a = the user, the group, and others  

To change permissions for a file named filename.cgi, you need to chmod the file (change mode). For example, when you type this:

    chmod u=rwx,g=rx,o=rx filename.cgi 

you've given:
     read, execute, and write access to the user (that's you)
     read and execute access to the group and
     read and execute access to others

 Some scripts will tell you to chmod 775 (for example). Doing the above is the same thing as typing chmod 775. You can use either method with our Unix servers. Let me explain:

 When using the numeric system, the code for permissions is as follows: 
    r = 4 w = 2 x = 1 rwx = 7
The first 7 of our chmod775 tells Unix to change the user's permissions to
rxw (because r=4 + w=2 + x=1 adds up to 7.
The second 7 applies to the group, and the last number 5, refers to others (4+1=5).

 When doing an ls -l on the file, telnet always shows the permissions this way:

    -rwxr-xr-x

Ignore the first dash, then break up the above into three groups of letters. If there's a dash where a letter should be,  it means that there is no permission for those people.
Remember: the first 3 apply to user, the second 3 apply to group, and the third 3 apply to others.

OTHER QUESTIONS:
If you have any questions regarding your server configuration, please contact us.

BaliPromotion.com is powered by CandiNet
80361 Kuta, Bali & Hamburg, Germany
Phone: +49 4381 907334 - Skype: HarryBleckert - Yahoo: MadeSambu

© 1999 - 2005 by CandiNet