- How do I add account
features like: SSI, Java, WebMail,
etc?
- How do I redeploy my
Java Application or manage Tomcat?
- How do I use CRON?
- How do I add Subdomains,
Databases, and/or Email accounts?
- How do I find out how
much disk space I am using or have
left?
- How do I password protect
a directory?
- How do I use the shared
SSL certificate?
- What is the path to
Perl & Sendmail?
- What is the absolute
path to my account?
- How do I Telnet into
my account?
- How do I change my
account password?
- How do I preview my
site on your server before switching
DNS?
- How do I make my own
custom "page not found" (Error
404) page?
- Am
I able to use Web-based Email to
check my email?
- How
do I change my account information
(like billing info, credit card,
contact email address)?
- What if
I decide to upgrade/downgrade my
hosting plan..are there any penalty
or fees?
- How do I backup (dump)
my database(s) and/or automate the
process?
- How do I insert my
database file (dump) into database(s)?
- How do I get my Raw
Logs (from Apache) to review ?
- How do I restart my
Tomcat ?
- How do I add or remove
domains ?
-
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 "Addons"
top
-
How
do I redeploy my Java Application
or manage Tomcat? OR How do I restart
my Tomcat?
Once Java is already enabled on your
account, you can do this from the Control
panel and go under 'Addons'. There
is a login for your Tomcat Manager
where you can manage your JVM - including
stop & start & restart. There
is almost never a need to restart the
entire Tomcat server itself. If you
still have trouble, contact our support
team for assistance.
top
-
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 than
1 hour!
top
-
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
-
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
-
How
do I password protect a directory?
click
here for instructions.
top
-
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
-
What
is the path to Perl & Sendmail?
Perl: #!/usr/bin/perl
Sendmail: /usr/sbin/sendmail
top
-
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
-
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
-
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
-
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: (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.
For more information (including
how to do this from Linux) visit
this site
top
-
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
-
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:
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:
|