Call Toll Free!
   hosting packages   ::    about us   ::   support   ::   contact   ::   network   ::   F.A.Q.
    home
Hi-Performance

 

    Site Uptime

back to index

    1. How do I add account features like: SSI, Java, WebMail, etc?
    2. How do I redeploy my Java Application?
    3. How do I use CRON?
    4. How do I add Subdomains, Databases, and/or Email accounts?
    5. How do I find out how much disk space I am using or have left?
    6. How do I password protect a directory?
    7. How do I use the shared SSL certificate?
    8. What is the path to Perl & Sendmail?
    9. What is the absolute path to my account?
    10. How do I Telnet into my account?
    11. How do I change my account password?
    12. How do I preview my site on your server before switching DNS?
    13. How do I make my own custom "page not found" (Error 404) page?
    14. Am I able to use Web-based Email to check my email?
    15. How do I change my account information (like billing info, credit card, contact email address)?
    16. What if I decide to upgrade/downgrade my hosting plan..are there any penalty or fees?
    17. How do I backup (dump) my database(s) and/or automate the process?
    18. How do I insert my database file (dump) into database(s)?
    19. How do I get my Raw Logs (from Apache) to review ?

    1. How do I add account features like: SSI, Java, WebMail, etc?

    You can do this easily from the Control panel. Just visit here: http://www.performancehosting.net/support/cp/
    Once you've logged in, click on "Account Options"

    top

    1. How do I redeploy my Java Application?

    Once Java is already enabled on your account, you can do this from the Control panel. Just visit here: http://www.performancehosting.net/support/cp/
    Once you've logged in, click on "Account Options"

    top

    1. How do I use CRON?

    CRON is a very handy tool to automate tasks to run at certain times. To use CRON, you just create a text file using the proper format. You can find out the more information by visiting here

    Some examples are:

    # This will execute (using Lynx - which acts as a web browser)
    # a script at 1:01 am, the 1st day of the month,
    # and January - December (1-12 months)
    01 01 1 1-12 * lynx -dump http://www.mysite.net/myscript.php

    # This will execute a bash script you have in your root directory
    # (the same level where your html and cgi-bin folders are)
    # and output the results to a file in your html directory called "text.html"
    # It will run at the top of the hour between
    # 9am to 7pm (9-19) [9:00, 10:00, 11:00, etc...]
    # and only run Monday thru Friday (1-5)
    0 9-19 * * 1-5 ~/bash_script.sh > ~/html/text.html

    Once you place your CRON commands into a text file (let's say you named it "mycrontab.txt"), upload it to your account, and then in Telnet run this command in the SAME directory where you have your text file (mycrontab.txt):
    crontab mycrontab.txt

    Then you can view your CRON to see if it installed properly by running:
    crontab -l

    To remove your crontab type in:
    crontab -r

    NOTE: You are *not* allowed to run crontabs more frequently that 1 hour!

    top

    1. How do I add Subdomains, Databases, and/or Email accounts?

    You can do this from the Control panel. Just visit here: http://www.performancehosting.net/support/cp/

    top

    1. How do I find out how much disk space I am using or have left?

    You can do this from the Control panel. Just visit here: http://www.performancehosting.net/support/cp/

    top

    1. How do I password protect a directory?

    click here for instructions.

    top

    1. How do I use the shared SSL certificate?

    Let's say your account user name is: myuser1

    To access the shared SSL certificate, you'll use: https://www.performancehosting.net/~myuser1/

    top

    1. What is the path to Perl & Sendmail?

    Perl: #!/usr/bin/perl

    Sendmail: /usr/sbin/sendmail

    top

    1. What is the absolute path to my account?

    /home/YOUR_USER_NAME/html -> your web pages are served in the "html" folder
    /home/YOUR_USER_NAME/cgi-bin -> your CGI web pages are served in the "cgi-bin" folder

    top

    1. How do I Telnet into my account?

    We do not allow standard Telnet, only SSH Telnet. This is an encrypted form of Telnet for extra security. You must use an SSH Telnet client. To get one, you can visit here: http://www.performancehosting.net/support/software/

    NOTE: This option is NOT enabled by default on your hosting account. To enable this feature, you must first do so from the control panel. Our system will then activate SSH for your account. Afterwards, just follow the instructions in the email you receive to get the port for SSH.

    top

    1. How do I change my account Password?

    You can do this from the Control panel. Just visit here: http://www.performancehosting.net/support/cp/

    top

    1. How do I preview my site on your server before switching DNS?

    You have the ability to preview your site and make sure it works OK *before* going live and moving the DNS over to us! Here's how:

  • 1) Open up the following file (or create it if it doesn't exist)
    Location :
    Windows 95/98/Me c:\windows\hosts
    Windows NT/2000/XP Pro c:\winnt\system32\drivers\etc\hosts
    Windows XP c:\windows\system32\drivers\etc\hosts
  • 2) find your new site's IP address which we gave you:
    (by default, if your site is on:
    Lion = 69.56.134.34
    Panther = 69.56.202.56
    Neo = 69.93.137.178
  • 3) Add this to your Hosts file and save it [example] (substitute IP address and 'mysite.net' with YOUR DOMAIN):

    69.56.134.34      mysite.net

    This tells your computer to visit that IP address when looking for your website! Be sure to remove it once you move your DNS to us.

    top

    1. How do I make my own custom "page not found" (Error 404) page?

    create a file called ".htaccess" and put this in it:

    ErrorDocument 404 http://yoursite.com/errorpage.html

    Then put that file in your "html" folder

    top

    close

    1. How do I backup (dump) my database(s) and/or automate the process?

    In MySQL, you can manually use the following feature in SSH:


      example: mysqldump database --password=my_password > backup_file

    or you can use the control panel (phpMyAdmin).

    To do AUTOMATIC backups (like daily, for example), you can follow these steps:

  • Create a new file (named: db_backup) with the following contents and upload it to your account:
    #!/bin/sh
    mysqldump database --password=my_password > backup_file
  • Change the permissions of the file to: 755
  • You can setup a CRON job to run it whenever you wish, or you can run it manually (in SSH) by running:

      ./db_backup

  • In PostgreSQL, you can manually use "pg_dump" feature in SSH:


      example: pg_dump -O -d -c mydatabase > backup_file

    or you can use the control panel (phpPgAdmin).

    To do AUTOMATIC backups (like daily, for example), you can follow these steps:

  • Create a new file (named: db_backup) with the following contents and upload it to your account:
    #!/bin/sh
    export PGPASSWORD="your_password" # enter your password here
    pg_dump -O -d -c mydatabase > backup_file
  • Change the permissions of the file to: 755
  • You can setup a CRON job to run it whenever you wish, or you can run it manually (in SSH) by running:

      ./db_backup
  • top

    1. How do I insert my database file (dump) into database(s)?

    in MySQL, you can run this command from SSH:

      mysqlimport --local --user=user_name --fields-terminated-by=";" database file.txt -p

    NOTE: replace "database" with the name of your database, and "file.txt" with the name of your file you want inserted. Make sure you are in the directory where the file is located

    In PostgreSQL, you can run this command from SSH in psql to import a tab-separated file:

      \copy table_name FROM /home/user_name/data.txt

    NOTE: Remember to VACUUM ANALYZE the table afterwards. Replace "table" with the name of your table

    top

    1. How do I get my Raw Logs (from Apache) to review ?

    Just go into the control panel, and go under 'Account Options'

    top


©2000-2008 PerformanceHosting.net,Inc. All Rights Reserved. Privacy Policy