Webhosting Support FAQ


Welcome to KingOfHosting.com.com's Comprehensive source for support. We have compiled some of the most frequently asked questions, examples, and resource links for many features that we offer at KingOfHosting.com.com! If your question is not answered here please write Technical Support and your request will be processed in a timely fashion. Use the Navigation Bar at the top to quickly jump to a particular feature or just browse if you like.

Control Panel
The new state of the art control panel offers everything that most web- masters will need to have full control over their web site. It is all here, email, users, File Manager, mailing lists, and more.

My control panel doesn't let me in, what should I do?
First ensure that the control panel URL that you are using has a final trailing slash. "/" If this is missing it will give you a hard time.

My Control Panel loads but the graphics do not load properly, what should I do?
You most likely have your browser set on a foreign language. The browser must be set to standard English.

What is the easiest way to login to my Control Panel?


CGI (Common Gateway Interface)
One of the most common forms of interactive media is CGI programming. Most CGI is written in PERL and serves many purposes, such as form processing, hit/access counting, questionnaires, and guestbook's.

Where do I put my CGI scripts?
CGI scripts in a directory in web called a cgi-bin. This directory is created by default when we setup all new accounts. If you have accidentally deleted your cgi-bin folder and require one created, please write to us at support@kingofhosting.com

Links to places where you can learn CGI/Perl?
The following is a list of sites we recommend

What is the path to perl?

What is the path to sendmail?

What is the server path to my web directory?


Email Server Information
What Should I use to check my email?
Outlook Express is probably our recommendation. It is very quick to setup and easy to use. It comes with Internet Explorer and all of Microsoft's products. You can obtain a copy from Microsoft's Download Site.

What are the mail server entries I should use?
Both incoming and outgoing ail servers should be setup as mail.yourdomain.com, where mail.yourdomain.com is the name of your domain minus the www.

How do I setup POP3 accounts?
Login to your control panel as a site admin. Then add a user. The name of the user will also serve as an email account. So if you add a user bob, your site is also then configured to receive mail for bob@yourdomain.com.

Can a user receive email addressed to multiple names, and if so how?
Yes, a user can receive email for multiple aliases. To set this up, login to your control panel and click the envelope icon next to the user you wish to setup aliases for. The middle box on the page that loads is where you can setup your aliases. So if you want the user bob to receive mail for webmaster@ and sales@, you would merely put webmaster and sales in the Aliases box. Make sure to put them on separate lines.

How do you setup Email Forwards?
Login to the control panel for your site. Once you have done this you will be presented a list of the users for your site. Click the envelope icon for the user taht you want to forward mail for. The page that loads will have three boxes. The top box is for your Forward Address. Put the address you want mail forwarded to. Note that if you have the user bob, with the aliases webmaster and sales, anything at bob@, webmaster@, and sales@ will be forwarded to the address you specify.

How do I setup an auto-responder for an email account?
To setup an auto-responder you will need to be logged into the control panel. Now click on the envelope icon, beside the user you wish to set an auto-responder for. The page that loads up will have three boxes. Select the bottom box, which is for "vacation response" Type the message in the box that you want it to send. Note that by enabling this feature for a user that receives mail for an alias as well, the auto-responder will be sent out for those.

Can I have both an E-mail Forward and an Auto-Responder?
Simply put, no!

How Do I Set Up an Alias and a "Catch All" Alias in IMail?
An alias is a nickname for a real email account. You use aliases to create several email addresses that all point to the same mailbox.

Let's say you have an employee named Bob. You can create a mailbox called bob@yourdomain.com. You can then log into that mailbox and create aliases, such as bobby@yourdomain.com, robert@yourdomain.com, and bert@yourdomain.com. Let's also assume that Bob is the head of marketing. You could also create an alias marketing@yourdomain.com. ALL of these emails will now go to the main mailbox, bob@yourdomain.com. Bob only has to log in to bob@yourdomain.com to see the email from all of these addresses.

A "Catch All" alias will catch any emails going to a non-existent user, and forward them to a valid email account. For instance, if your customer makes a typo, and sends your email to beb@yourdomain.com, this email would ordinarily be bounced back to the sender. A catch-all alias will ensure that any email sent to your domain will be received, even if the email was sent to a non-existent user. In IMail, setting this up is simple. Just create an alias and name the alias "nobody". Do NOT create a real user email account called "nobody".

To setup an Alias, log into the ADMIN account (root@yourdomain.com). Choose the "Alias Administration" link from the "Administrative Account Options".

To add an alias, click on the Add button. The Add Alias page will be displayed. To create the "Catch All" Alias, create an alias called "nobody".

Enter an ID for the Alias. An ID limited to 45 characters and must consist only of A-Z, a-z, 0-9, _(underscore) and -(hyphen). The name cannot contain spaces and must be unique within the system but can override the User ID.

Select Standard alias (Group Alias Type is not enabled).

A standard alias can point to a single User ID on the same system, multiple User IDs on the same system, a remote mail address, multiple mail addresses, another alias, or any combination of the same. Please enter one complete mail address per line. If Standard alias is greater than 128 characters then it gets converted into List alias. If file name is given then it is taken as list file name otherwise alias name is taken as list file name.

Enter a destination. The destination address should be at least three characters long. The destination for the "nobody" alias is usually admin@yourdomain.com but can be any email address you would like.


Server Side Includes (SSI)
What are server side includes(SSI)?
Server Side Includes allow users to create documents which provide simple information to clients on the fly. Such information can include the current date, the file's last modification date, and the size or last modification of other files. In its more advanced usage, it can provide a powerful interface to CGI and shell programs.

How do I use SSI?
SSI is by default setup on your CWI Hosting Account. The common format for accessing SSI is:
<!--#command tag1="value1" tag2="value2" -->

What are the commands for SSI?
Each command takes different arguments, most only accept one tag at a time. Here is a breakdown of the commands and their associated tags

  • config

    The config directive controls various aspects of the file parsing. There are two valid tags:

    • errmsg controls what message is sent back to the client if an error includes while parsing the document. When an error occurs, it is logged in the server's error log.
    • timefmt gives the server a new format to use when providing dates. This is a string compatible with the strftime library call under most versions of UNIX.
    • sizefmt determines the formatting to be used when displaying the size of a file. Valid choices are bytes, for a formatted byte count (formatted as 1,234,567), orabbrev for an abbreviated version displaying the number of kilobytes or megabytes the file occupies.

    • include

      include will insert the text of a document into the parsed document. Any included file is subject to the usual access control. This command accepts two tags:

      • virtual gives a virtual path to a document on the server. You must access a normal file this way, you cannot access a CGI script in this fashion. You can, however, access another parsed document.
      • file gives a pathname relative to the current directory. ../ cannot be used in this pathname, nor can absolute paths be used. As above, you can send other parsed documents, but you cannot send CGI scripts.

    • echo prints the value of one of the include variables (defined below). Any dates are printed subject to the currently configured timefmt. The only valid tag to this command is var, whose value is the name of the variable you wish to echo.

    • fsize prints the size of the specified file. Valid tags are the same as with the includecommand. The resulting format of this command is subject to the sizefmt parameter to the config command.

    • flastmod prints the last modification date of the specified file, subject to the formatting preference given by the timefmt parameter to config. Valid tags are the same as with the include command.

    • exec executes a given shell command or CGI script. It must be activated to be used. Valid tags are:

      • cmd will execute the given string using /bin/sh. All of the variables defined below are defined, and can be used in the command.
      • cgi will execute the given virtual path to a CGI script and include its output. The server does not perform error checking to make sure your script didn't output horrible things like a GIF, so be careful. It will, however, interpret any URL Location: header and translate it into an HTML anchor.

Where can I go to learn more about SSI?
A good place to begin is here.


Real Audio/Video
Do you have a Real Server Running?
An actual Real Server that is usually used for streaming a news broadcast or a radio is not by default installed on the server due to the bandwidth consumption, however if you contactsales@KingOfHosting.com.com they can provide you with the cost to have a Real Server installed for you.

If you do not have a Real Server Running how can we serve Real documents we create?
Real Networks has developed a method called the HTTP Streaming Method. This method is used to stream real files that do not require the use of their G2 Server.

How do I use the HTTP Method of Streaming?
Usage is simple. For instance if you created song1.rm and want to stream this, you would merely create an HTML file with a link to song1.rm. Save the HTML file wih the .RAM extension. Then in your main document, link to the .RAM file.


Java Server
Do you offer JAVA Servlet Support?

MySQL Support
Do you support MYSQL databases?
Yes, we support MySQL Databases.

How do I access my MySQL Database?
prompt:> mysql -h hostname -u username -p databasename

Where can I get detailed MySQL Instructions?

How do I setup an MySQL Database?
Please write Technical Support and your request will be processed in a timely fashion.


FTP (File Transfer Protocol)
What is FTP?
FTP is a protocol designed to allow for the transfer of files from one computer to another.

What is a good FTP Client?
WS_FTP by IpSwitch is a very simple to use, well designed program, availiable free to download from http://www.ipswitch.com/

What hostname do I put in my FTP Client?
You should use the IP Address that was provided to you, or if your domain is already pointing use the domain name reference.

Where do I upload my Index File?
Once you login via FTP, you wil see a single directory called web. This is called your USER web. You need to be in the ROOT web. To get here go up two directory levels. You will know that you have made it there for you will see several directories (user, web, logs, etc..) You now should enter the web directory and upload your files here.


Do I get full traffic stats and charts?
Yes, all virtual hosting accounts get stats. These easy to read stats will give you all the information you need to see how your site is doing and growing. Stats are only generated by request, please write to sitestats@kingofhosting.com to request for your stats to be generated.

My stats are not working, what do I do?
Stats are generated upon request only, please write to sitestats@kingofhosting.com to request for your stats to be generated.

Can I use my own stat system, and the ones that you can check on the web with a link?
Though this system, is very complete, additional third party web based stat systems and hit boxes can all be used to give you a suite of informational sources. Other server dependent systems will now work through the control panel as the one provided.