TSC Support Center

Questions / FAQ

Home : Customer Support Center : FAQ Index


Site Management

  • Where is the MySQL database situated?
  • Can I add and manage mailing lists?
  • Where can I download the control panel manual?
  • How do I test to see if mod_perl is working on my account?
  • How often are stats updated?
  • What should I do to set up a MySQL database for my account?
  • How do I test to see if mod_dtcl is working on my account?
  • Do you support forum scripts?
  • Do you support Python/PHP/Perl/CGI?
  • I uploaded my files, but I don’t see my page? Why?
  • Options ExecCGI Indexes Includes FollowSymLinks
  • How do I create email redirect/forwarder/alias/autoresponder?
  • I try to send mail using Outlook, but get an error. I can receive email.
  • What is the path to Sendmail?
  • How To SSH?
  • How do I upload files to my database? In addition, how do I backup my database?
  • How do I setup custom error pages?
  • How do I test to see if modpython is functioning correctly?
  • What type of control panel is provided with Advanced Plans?
  • How do I install Frontpage extensions?
  • What version of Java are you running?
  • How do I enable the PHP command "register_globals"?
  • How to upload via FTP?
  • Can I incorporate flash .SWF files in my site?
  • Do you back up my site for me?
  • How do I setup additional user accounts?
  • Where is perl located?
  • I am trying to use a SSI call to invoke a cgi script, but it is not working..
  • What is the precedence of index pages?
  • Now that I have an account... what next?
  • Is procmail installed?
  • Is there a way that I can access my email via the web?
  • Whats the difference between Site Admin and User Admin?
  • How to I create Sub-Domains?
  • I have created an additional user through my Control Panel, how can I view their website?
  • What sort of databases do you support with advanced plans?
  • What is my POP3 server name?
  • How can add a POP3 account?
  • Setting up virtual Anonymous FTP...
  • I can't connect via Telnet! Why?
  • How do I allow execution of .cgi scripts outside of cgi-bin?
  • How do I view my Apache log files?
  • How do I password protect certain directories?
  • What is phpMyAdmin, and how can I use it with my account?
  • How can I enable directory listings?
  • When I log in by FTP, where do I upload the files for my web site?
  • How do I login to FTP?
  • Is there a space limit imposed on each database?
  • My php scripts don't work in the cgi-bin..
  • How do I specify another index page?
  • Where can I view my Analog-generated statistics?
  • Do you have mod_rewrite?
  • How can I change my default MySQL password?
  • Where is my upload directory?
  • Why can't I receive email at mail@mydomain.com?
  • What are all these files that start with a dot?
  • I can't login to the POP or SMTP servers to send/retrieve my email.
  • How to upload via Frontpage Extensions?
  • How does my user access their control panel?
  • How do I backup and restore my database with Ensim?
  • What JSP engine are you using?
  • What usage statistics are available to me?
  • How do I create a catch-all email address?
  • How do I access my control panel?
  • What is my SMTP server name?


    Where is the MySQL database situated?
    The MySQL server is situated in the same machine that your account runs off. This reduces downtime and increases efficiency. It can be accessed by pointing to 'localhost'

    Can I add and manage mailing lists?
    Yes, you can do this through your control panel. Simply login to your control panel and enter your username, domain name, and password. Once inside the Ensim control panel, click on the “Services” link located on the left hand side of the page. Then click on the Majordomo Mailing List Server, and “Create a Mailing List”. This should enable you to fill in the required fields.

    Where can I download the control panel manual?
    Ensim WEBppliance 3.1 Guide

    How do I test to see if mod_perl is working on my account?
    Create a file named test.pm
    or test.pl - both extensions work. Next, insert these lines into the file:

    my $r = shift;
    $r->send_http_header('text/plain');
    $r->print("Hello World!n");

    The file needs to be placed inside the perl directory (default location for mod_perl) - or the designated perl directory. chmod test.pm to 755 (either through SSH2 [chmod 755 test.pm] or via a FTP client) and then go to http://yoursite.com/perl/test.pm. If Hello World! is displayed then mod_perl is fully functional.

    How often are stats updated?
    Statistics are regenerated at the beginning of every day at midnight.

    What should I do to set up a MySQL database for my account?
    A MySQL database comes with all hosting plans. If your domain name is yourdomain.com, the database’s name will be yourdomain_com. The password will be the same as your control panel password. To setup additional MySQL databases, please open a support ticket, and they will be provided to you.

    How do I test to see if mod_dtcl is working on my account?
    Create a file named test.ttml and inside the .ttml file insert:

    hputs "Hello World!"
    ?>

    If it is functioning properly, "Hello World!" will be displayed.

    Do you support forum scripts?
    Yes, we support many of the common forum scripts available. These include vBulletin, Ikonboard (mySQL version only), phpBB, phpBB2, YABB, and others. If you have any questions regarding whether or not we support your particular forum script, just contact us!

    Do you support Python/PHP/Perl/CGI?
    Yes.

    I uploaded my files, but I don’t see my page? Why?
    If our default "Welcome to your new Web Site", index.html, has not been replaced by another index page, then anyone going to yourdomain.com will still see that page instead of some other home page. Just delete the index.html file and upload your own. Note: "home.html" will NOT show up as your home page. You would need to rename it as aforementioned. In addition, you need to place it within the mainwebsite_html folder.

    Options ExecCGI Indexes Includes FollowSymLinks
    The folder will now display a directory if no index file is found.

    If you would like ALL of your directories to show directory listings, then just add the same file as above to your "/html/" folder, and every folder will display one.

    How do I create email redirect/forwarder/alias/autoresponder?
    You can do this directly through your control panel. Simply login, enter your username, domain name, and password. Once inside the Ensim control panel, everything you need to do can be accessed through the “Services” link, located on the left hand side of the page under the main logo.

    I try to send mail using Outlook, but get an error. I can receive email.
    This is usually just a matter of properly configuring your Outlook mail client (or Outlook Express). To ensure better security, our mail servers require the use of SMTP authentication. This is an option in the configuration settings for your mail program and usually says "My outgoing server (SMTP) requires authentication."

    What is the path to Sendmail?
    For any scripts that you install which require the path to sendmail use :

    /usr/sbin/sendmail

    How To SSH?
    Please use the info below:

    login: username#yourdomain.com
    password: your_password

    How do I upload files to my database? In addition, how do I backup my database?
    UPLOADS: To upload, navigate to the section "Or Location of the textfile:" which contains a browse button. Click on the browse button, select the file you downloaded, and click go. BACKUPS: On the main page of the database view, click on the option "View dump (schema) of database" To do a backup, you select "Structure and data", check the Send box and click "Go". This will cause a file of your database to be downloaded into a location of your choice. Subsequent files can be backed up the same way.

    How do I setup custom error pages?
    To setup your custom error page, you will need to use a .htaccess file. Put the following line(s) in this text file:

    ErrorDocument 404 /path_to/not_found_error_page.html
    ErrorDocument 403 /path_to/forbidden_error_page.html
    ErrorDocument 401 /path_to/authorization_error_page.html
    ErrorDocument 500 /path_to/internal_server_error_page.html

    Then upload this file to your mainwebsite_html directory.

    How do I test to see if modpython is functioning correctly?
    First, you must edit or create
    a .htaccess file. Inside the file, insert:

    AddHandler python-program .py
    PythonHandler mptest
    PythonDebug On

    This will tell Apache how to handle a specific file. modpython,
    by default, does implicitly perform any function, unless explicitly defined
    by a directive (each line in the '.htaccess' file).

    Next, create a file, in this case because 'PythonHandler' is set to mptest
    and 'AddHandler' is of the extension .py, the file that Apache will process
    as a Python script will be named mptest.py. Insert:

    from mod_python import apache
    def handler(req):
    req.send_http_header()
    req.write("Hello World!")
    return apache.OK

    Notice also, that indenting is very important with Python as no explicit usage of braces to enclose control structures is used.

    What type of control panel is provided with Advanced Plans?
    We have partnered with Ensim to provide a control panel that we feel is a leader in the industry. As a site owner, you will be in complete control of your site and can even manage files and directories directly from your control panel. You can demo this control panel on Ensims site at the following URL:

    http://www.ensim.com/products/webppliance/linux/3_1/demos/lhindex.html

    How do I install Frontpage extensions?
    If you need Frontpage extensions, please open a support ticket and we will have them added to your site.

    Likewise, if you need to remove the Frontpage extensions, submit a troubled ticket.

    What version of Java are you running?
    JAVA SDK 1.4.0

    How do I enable the PHP command "register_globals"?
    Create a file named .htaccess, and within that file place:

    php_value register_globals 1

    This will make PHP function more like pre-PHP 4.2.1 distributions; however, there is a security risk associated with it and overriding variables through the URI. Don't say we didn't warn you first.

    How to upload via FTP?
    Please use the info below:

    FTP Hostname: IP Address OR ftp.yourdomain.com (refer to welcome letter)

    User ID: username@yourdomain.com
    Password: your_password

    Can I incorporate flash .SWF files in my site?
    Sure, our servers will serve them .swf flash files without problems. And, you can upload them wherever you like, such as the images folder, any sub-folder on your account, or even your main html folder.

    Do you back up my site for me?
    By default, only system information is backed up each night. You have the ability however, to back up your site information as often as you like through your advanced control panel.

    How do I setup additional user accounts?
    To allow a user to have their own separate website off your domain you must setup a user within your Control Panel with "ftp" access. This will allow that user access to their own website under your domain!

    The site will be accessible via http://yourdomain.com/~username/

    Files should be uploaded to /home/username/public_html, the user will be provided a sim-link to the public_html folder.

    To login to that users account via FTP use:
    ftp server: ftp.yourdomain.com
    user: username@yourdomain.com (not just username!!)
    password: users password

    Where is perl located?
    Perl is located at: /usr/bin/perl

    I am trying to use a SSI call to invoke a cgi script, but it is not working..
    When using a SSI call to invoke a cgi script, the first thing to check is the path that you are using to call the cgi-script. By default, the server assumes that the the directory root is the web root, and does NOT require the absolute path. For example, if you were calling a test.cgi file in the cgi-bin directory, the path would be /cgi-bin/test.cgi, NOT /home/virtual/domain.com/var/www/cgi-bin/test.cgi.

    What is the precedence of index pages?
    Index pages are the initial page Apache will use when the site is accessed without a filename, e.g. http://somesite.com/
    The order in which the index files are searched is:

    index.html index.htm index.shtml index.cgi index.php index.php3 index.php4 index.pl index.jsp index.ttml index.pm index.py

    with index.html of the highest precedence and index.py the lowest (last to be used).

    Given a site with an index.htm, index.shtml, and index.php - accessing http://somesite.com/ will really be accessing http://somesite.com/index.htm

    Now that I have an account... what next?
    The first thing you should do is log into your control panel and change your administrator password. This ensures that you are the only one with access to your control panel. You can access your control panel at http://www.yourdomainname.com/admin

    Is procmail installed?
    Yes.

    Is there a way that I can access my email via the web?
    Yes. All accounts come with webmail installed. We use SquirrelMail to provide this service and it can be accessed at the following address:

    http://www.yourdomain.com/webmail/

    It's important to note that if you intend to also check your email via a client application such as Eudora or Microsoft Outlook, you will need to change your settings to leave email on the server for a period of time. Depending on how regularly you check email, 10-15 days is usually sufficient.

    Whats the difference between Site Admin and User Admin?
    The Site Administrator is the main account holder for your hosting account -- you login here to manage your files, email, database, and so on. The Site Admin can create user mail box accounts. Then, these mail box users can login as "User Administrator" and set up mail forwarding, autoresponders, and other email related tasks.
    To summarize, you get both, a site admin account to manage your and the ability to create user admin mailbox accounts.

    How to I create Sub-Domains?
    To create Sub-Domains for your site, follow these instructions:

    Create a directory within /var/www/html/ (your default html directory) exactly as you would like the sub-domain to resolve.

    Example: Create a directory called sub.yourdomain.com in your html directory and it will resolve to http://sub.yourdomain.com (It will search the folder you created in the above example for the index file of the sub-domain.) NOTE!! it is not designed to be accessible as http://www.sub.domain.com (the www. will not work).

    I have created an additional user through my Control Panel, how can I view their website?
    http://yourdomain.com/~username/

    What sort of databases do you support with advanced plans?
    Currently, we support PostgreSQL and MySQL databases in our UNIX accounts. MySQL is the most popular database handler used by online programs today. The combination of connectivity, speed, and security make MySQL very suited for accessing databases on the internet. MySQL has been in use for years, excelling in high performance environments, which is why we deem it suitable for our clients. Its ease of use is also beneficial to those without the technical expertise necessary to handle other databases.

    What is my POP3 server name?
    Your POP3 server is used for incoming email and the name is mail.yourdomain.com. Enter this setting in the approprate area within your email program.

    How can add a POP3 account?
    From inside your control panel click 'Mailboxes/Users'. Add a user with the desired email name. For example adding the user sales will create the email account sales@yourdomain.com

    Setting up virtual Anonymous FTP...
    Use the following settings to connect via anonymous ftp to your site..

    server: ftp.yourdomain.com
    user login: ftp@yourdomain.com
    password: anything will work (normally an email address is used)

    Anon Users will only see the directories within your /var/ftp directory

    By default anon users will not have permission to upload files, in order to allow uploads simply create a directory within /var/ftp/ named "uploads" (this is not recommended!)

    You are responsible for all files within your domain even if they were uploaded by an anon user! Use of this function should be monitored by the site administrator.

    I can't connect via Telnet! Why?
    Telnet sessions are not encrypted, therefore hackers are able to "sniff" your username and password as you log in. Because of this, we have instituted SSH in it's place. SSH is very much like Telnet, however it is encrypted. It does require a client program, and we recommend Putty. It is available for free at:

    http://www.chiark.greenend.org.uk/~sgtatham/putty/

    You will need to change the default SSH version to 2 also as our servers will not accept version 1 due to some security holes.

    How do I allow execution of .cgi scripts outside of cgi-bin?
    Make a .htaccess file and inside it place:

    Options ExecCGI
    AddHandler cgi-script .cgi

    Next upload the .cgi file and it will display properly, example test.cgi:

    #!/bin/sh
    #\
    exec tclsh "$0" ${1+"$@"}
    puts "Content-Type: text/html"
    puts ""
    puts "Hello World!"

    This example outputs "Hello World!" using Tcl.

    How do I view my Apache log files?
    You can either access the log files through http://yoursite.com/admin
    Log-in, Services -> Apache -> Log Files
    Or alternatively, by logging into the shell and going to the '/var/log/httpd' directory. Log files are rotated daily.

    How do I password protect certain directories?
    To set up password protection, do this: Login to Ensim as Site Admin and click "Configure Apache", then go to "Manage Groups" and create a group.

    Then go to "Manage Users," and create a user in that group. Then go to "Protect Directories" and click the "lock" icon next to the directory you want to protect, easy!

    What is phpMyAdmin, and how can I use it with my account?
    PhpMyAdmin is basically a program used to control MySQL. Currently it can create and drop databases, create, copy, drop and alter tables, delete, edit and add fields, execute any SQL-statement, even batch-queries manage keys on fields, load text files into tables, create and read dumps of tables, export data to CSV values, and administer multiple servers and single databases. phpMyAdmin is available for all accounts that come bundled with MySQL databases, and is preinstalled, so you can add tables directly.

    How can I enable directory listings?
    This is very simple to do. The first thing you need to do is figure out which directory you want to have a directory lising for, then when that is dont, place a file named ".htaccess" and add this line to it:

    When I log in by FTP, where do I upload the files for my web site?
    Files for the main web site must go in the "/var/www/html/" directory. When you first log in via FTP, you will be in the your user's directory. You will notice a directory called "mainwebsite_html". This directory is an alias for /var/www/html/. You will also notice a directory called "mainwebsite_cgi". This is where you will put any cgi scripts that you need to execute. This directory is accessible on the web at http://www.yourdomain.com/cgi-bin.

    How do I login to FTP?
    Set your FTP client up with the following settings:
    FTP server: ftp.yourdomain.com (or subdomain.hostdomain.com for subdomains)
    FTP port: 21
    FTP username: account_username@yourdomain.com (or account_username@subdomain.hostdomain.com for subdomains)
    FTP password: account_password

    Is there a space limit imposed on each database?
    There is no set limit that is imposed on the size of each database, but the total space used must not exceed the disk quota allocated for your account.

    My php scripts don't work in the cgi-bin..
    There isn't anything special you need to do, its just that only cgi-scripts can go in the CGI-bin. Move the .php script to anywhere in your /var/www/html/ directory and it should work properly.

    How do I specify another index page?
    Make a .htaccess file and inside it, insert:

    DirectoryIndex somefile.html

    When you reference your site without a filename, e.g. http://somesite.com/, it will redirect to http://somesite.com/somefile.html

    Where can I view my Analog-generated statistics?
    http://yourdomain.com/admin, log-in and go to 'Site Reports'.

    Do you have mod_rewrite?
    Yes mod_rewrite is enabled on the servers.

    How can I change my default MySQL password?
    If you know how to input MySQL queries manually, use this query:

    SET PASSWORD FOR dbusername@localhost = PASSWORD('dbpass');

    Where dbusername is your database username, and dbpass is your new database password.

    Where is my upload directory?
    For HTML files: mainwebsite_html OR /var/www/html
    For CGI files: mainwebsite_cgi OR /var/www/cgi

    Why can't I receive email at mail@mydomain.com?
    By default, our systems us the "mail" account as a standard system account. This unfortunately prevents the use of the "mail" account as a stand alone account.

    What are all these files that start with a dot?
    Files starting with a dot such as .htaccess and .bash are files that are normally hidden by the operating system. These are usually important system files or files that contain settings that should not be seen by normal visitors. They have been made visible so that you can delete .htaccess file. Do NOT delete any of the pre-existing files!

    I can't login to the POP or SMTP servers to send/retrieve my email.
    First, make sure you have the right servers typed in. The default name is mail.domainname.com for both IMAP and POP3. The username will be yourusername@yourdomain.com. The @ portion is crucial so the server can discern between the same account spread across multiple domain names.

    How to upload via Frontpage Extensions?
    Publish Location: http://yourdomain.com
    User ID: username
    Password: your_password

    REMEMBER, to publish with Frontpage, you have to wait untill your domain are propagrate 100% to retreive data from our name server. Please allow 24-48 hours to upload/publish after you have made changes to your domain registrar to use our name server.

    How does my user access their control panel?
    User Control Panel - http://yourdomain.com/user/

    How do I backup and restore my database with Ensim?
    First, login to the phpMyAdmin program (accessible from the 'configure MySQL' link from the Ensim Site Admin control panel)
    Select all the tables in the right page and then check the "Structure and Data" radio box and 'Save as File' but don't check the zipped or gzipped options. Click 'Go' and it will prompt you to start a download of your database, save it as a .sql file where you will be able to find it later.

    Then, if you needed to restore your database, you'd want to login to PHPMyAdmin and check all the tables and 'drop' them. Right below the 'run queries' box on the right page you can select a local file from your computer to upload and run, and that is where you'd pick the .sql file you backed up. It'll take a few minutes to upload and process, and then it should show up fine.

    If the file is too large to run via phpMyAdmin, you could always upload it via FTP and send us a support ticket requesting that we import the SQL file into your database, just tell us where the file has been uploaded and what database to load it into, etc. and we'll do it no problem!

    What JSP engine are you using?
    Jakarta Tomcat 4

    What usage statistics are available to me?
    Upon logging into the Ensim control panel, there is a Site Reports that can be accessed from the list of items on the left hand side of the page. This contains many detailed statistics you may be interested in as a webmaster.

    How do I create a catch-all email address?
    By default, a "catch-all" email account is set up with your initial user ID. This means that email sent to anything@yourdomain.com will be delivered to your primary ID.This can be modified in your control panel.

    How do I access my control panel?
    Go to http://www.yourdomain.com/admin/ and use the username and password provided to you. This control panel will allow you to change your info and manage your account settings.

    What is my SMTP server name?
    Your SMTP server name is mail.yourdomain.com. It is used for outgoing mail and is usually set in the same place as your POP3 server name.

  •  © The Server Center. All rights reserved. Privacy Policy 


    Script provided by SmartCGIs.com