|
Knowledgebase
|
|
 |
Part Two
- General
Account Information
- The
Index Page
- SSL
(Secure Pages)
- 9+
Character Names
- Webstats
and Access Logs
- Checking
Server Space Usage
- Changing
Your Password
- Password
Protection (.htaccess)
- File
Manager
Control
Panel Information
You can reach your control
panel by using the url http://www.your_domain.com:2082 where
your_domain.com is your own domain or you can use http://www.your_domain.com/menu
If your domain is
new you can substitute your IP number for domain name.
(for
example: http://66.96.212.200/menu)
To allow your email
users to check their mail using webmail use the url:
http://www.your_domain.com/webmail
You
can also check mail using the WebMail icon from within your control
panel.
General
Account Information
We offer storage space
for web pages with global public access to those pages over the Internet.
We also offer a limited form of program execution known as "cgi-bin."
Our computers are Pentium machines running Apache over Linux. Apache
responds to web page requests from remote browsers while Linux is
one of several variants of the Unix operating system.
Every customer gets
his own password protected userid under Linux. By logging in with
his userid, the customer gains access to his web storage space.
Every userid "owns" a structure of disk subdirectories in the Linux
file system. The "root" of this structure is the "home" directory,
found at path "/home/userid." Note that this is somewhat similar
to the MS-DOS directory structure, except that there is no drive
letter and forward slashes are used instead of backward slashes.
The path referred to above, however is in relation to our own servers.
When you FTP to your account using your domain name and userid,
you don't need to put in "home/userid." You will automatically be
taken there.
Inside
the home directory are many files and other directories. The most
important one is named "public_html". Every customer has his own
separate "public_html" subdirectory. Files placed in the "public_html"
directory are visible to remote browsers over the Internet, so this
is where you want to place all your html documents, graphics, sounds,
files, etc. which you want people to be able to access from the
world wide web. For example, when a browser asks for URL http://yourdomain.com/page.html,
Apache looks for the file: /home/username/public_html/page.html
and sends it out.
The
Index Page
The filename of your
home page should be index.htm or index.html. The webserver will
automatically send the file at path /home/username/public_html/index.htm
when a browser specifies http://www.yourdomain.com. When your account
is set up, there will be an index.html page already installed. This
just tells anyone accessing your domain that your site is under
construction and will be available soon. You will replace this file
in the public_html directory with one of your own creation. If you
wish to use any of the cgi features we provide that use Server Side
Includes (SSI), you must name your page with the .shtml extension.
You can put an index.html file in any subdirectory that you wish,
and it will be the default page served when you don't want your
visitors to have to type a full page URL reference, for example,
http://www.yourdomain.com/whatever instead of http://www.yourdomain.com/whatever/index.htm,
or http://www.yourdomain.com/default.htm.
You
may use any of the following for a homepage of a directory:
index.htm , index.html , index.php , index.phtml
, index.shtml , index.php3 , default.htm , default.html
default.phtml , default.php , default.php3
SSL
(Secure Pages)
You
can secure your website using a 128bit Thwate Super cert which you
must purchase.
For more information on securing your site you need
to contact your support tech. Also, we include access to
a server-wide SSL certificate at no charge with most plans. Look
on your Welcome email for the address to use to access your site
using the secure server.
9+
Character Names
A name of anywhere
from 3-26 letters is legal for email accounts, FTP accounts, and
telnet accounts. There is no limitation for file names on the server.
Web
Stats and Access Logs
To count accesses,
there is an online section of your CP called stats. To access it,
just log on the Internet and with your web browser, go to:
http://your-ip-here/menu
or http://yourdomain.com/menu
click the stats menu button.
You will see a breakdown
of the various tools available to your for measuring traffic and
tracking users. If you are a brand new domain, you won't see any
statistics there yet.
You
will also see links in the stats area to view your log files. You
can access these file and open it in any browser to see exactly
what files were accessed, what domain the visitor came from, the
dates and times of each visit, etc.
Checking
Server Space Usage
You can find out how
much space is in use by the www files for your domain by using your
CP. At your main page when you log in you will see the space used
and space available to your site. Another way is to telnet to log
into your account and then from the Unix prompt, typing the following:
du -s /home/username
This
will give you a report back of the number of kilobytes (k) all files
in your www directory add up to.
Changing
Your Password
To change your password
login to your Control Panel and click the change password feature.
Another way is to telnet to your account. After logging in with
your username and password, at the Unix prompt, type: passwd
A script
will ask you to type in your old password, then the password you
want it changed to will be asked for twice to verify. This will
not work for POP-only accounts. To change the password for a POP
you need to click the email link in the left menu, the click add/remove
accounts. You will see a list of accounts on your site along with
options to the right to delete the POP and change your password
for that pop.
Password
Protection
This
is also another feature that can be accomplished in the Control
Panel by clicking the Password Protection link in the left menu.
1. You will then be taken to your main web dir of
your site with a listing of the folders in it.
2. Click the link
to the folder you wish to protect or click the folder itself to
open that folder and navigate to a dir under it.
3. To protect the
dir once you have clicked the link of that dir , click the lock
icon and give your area a name in the box labeled "Protected Resource
Name".
4.
Next scroll down to the bottom of that page, there you will find
input boxes to enter the usernames and passwords
of users you wish to have access to that dir.
Or to password protect
via telnet:
If your home directory
is yourlogin, create a file named .htaccess in your web directory
that contains the following:
AuthUserFile /home/yourlogin/yourdirectory/.htpasswd
AuthName Secure
AuthType basic
require valid-user
Then
in your home directory, type htpasswd -c /home/yourlogin/yourdirectory/.htpasswd
password_here.
You will be prompted to enter a password and verify
it.
This will enable you
to secure the directory so that only user pumpkin can enter this
directory.
To add additional
id/password pairs to the file, leave off the -c, which means 'create
a new file'. For example, htpasswd .htpasswd linus. You may well
want any of the user/password combinations you created in your .htpasswd
file to allow access.
Note
that you want to store the .htpasswd file in your home directory
so it is hidden from others. The one drawback to putting your .htpasswd
file in your home directory is that you will have to slightly lower
the security of your home directory. Go to /home (cd /home/yourlogin)
and type chmod +x yourlogin. The WWW server needs execute permission
on to read the .htpasswd file.
File
Manager
Included with your
site is a script that allows you to edit your files and create password
protected dirs thru your browser. This script is installed and ready
for use simply by clicking the "File Manager" link in the left menu.
Click on the folder
to navigate through that dir, click a file to edit, delete, rename,
or modify it.
Make
sure all html and image files are placed inside the WWW folder. |