Frequently Asked Questions

SITE SETUP ::

What do I need to name the default page for my site?
Any of the following will be recognized as the default page for any directory within your site including the top level directory:
index.html, index.htm, index.shtml, index.php, index.php4, index.php3, index.cgi 

PLEASE NOTE: Linux is case-sensitive, so Index.html is not the same thing as index.html.  If you need to change a site or directory's DEFAULT page, you can do so using an .htaccess file.

What is my site's public directory?
You'll need to upload your files to the httpdocs directory. Please refer TO our FTP FAQ for more info.

How do I transfer files to and from the server?
You'll need to use an FTP application to do this.

What is a web user and how do I create one?
A web user is an account that has it's own webspace that IS separate from the main site. It can be accessed via http://www.yourdomain.com/~username (replace yourdomain.com with your actual DOMAIN and web_user with the actual web user name).
Here's how you create a web user for your site:
Log in to your control panel.
Select the domain name that you want to apply the change to.
Click on web users.
Enter the username that you wish to create in the field next to "Web user name:".
Click on ADD.
Enter the new password and confirm the new password.
Click on UPDATE.
PLEASE NOTE: CGI setup for web users' web space is different than the main web space. Check out our CGI FAQ for more info.

How can I check disk storage and traffic quotas for my website?
Log in to your control panel.
Select the DOMAIN NAME that you want to check
Click on REPORT.
This report will also give you additional information about your account including what services are enabled, the number of email accounts allocated to your plan and so on. You can access your Webalizer webstat reports from this page as well.

Where can I view my website statistics (log file report)?
http://yourdomain.com/webstat/ (replace "yourdomain.com" WITH your actual DOMAIN)
This is a program called The Webalizer. It provides a wealth OF information about who has visited your site by Day, Hour, country, etc. You can also find out who's linking to your site, what type of browser visitors are using and much more. This is included for free with all our hosting plans, but we do not provide any support for it.

Can I delete the /webstat directory?
The /webstat directory is automatically created for each site on the server by Webalizer, the stats program that we have running on the server. The directory is owned by the root user and cannot be deleted and even if it were it would be re-created again by Webalizer when it runs the next time. There is no way for us to turn off the webstat program for just one site on the server. If you are concerned about public access to that directory, you can setup password protection for that directory (be sure to choose the non-SSL option).

Do I have access to my raw log files?
Yes, your log files are located in your /logs directory which is one level up from your public (httpdocs) directory.

How often are log files deleted?
Log files are deleted monthly at 4:07am PST on the 1st of the upcoming month and they are not rotated or archived. If you want to download your raw log files, you should do so before they are deleted each month. This will not affect your Webalizer webstat reports since they will keep old data from month-to-month, even after the log file has been deleted.
The reason the log file is deleted monthly is that if they were allowed to grow indefinitely, they would eventually fill up all the free space allocated to your site and then eventually all the free space on the server. This is not a good thing.

Is it possible to enable shell access for my site?
Limited, temporary shell access to the server is enabled on case-by-base basis. Please contact us for more details.

What is an .htaccess file?
An .htaccess file is a powerful Apache configuration file that can control how a site or specific directory is accessed or how it functions. It essentially overwrites the global default settings of the Apache web server.
It can easily be created with a text/html editor and uploaded via FTP. Make sure that it is created in or uploaded to the directory that you want to control. If you are using an .htaccess file to control the entire site, then you'll need to create it in or upload it into your public directory.
The "." AT the beginning OF the .htaccess file makes it an invisible system file FOR security purposes, so if you upload it via FTP, it will not show up in the directory listing OF your FTP program. This doesn't mean it is not up there, just that you cannot view it from outside the server shell. If you need to make changes, just upload a new version and have it overwrite the existing file.
 

How do I password protect a directory or file?
Log in to your control panel.
Select the domain name that you want to apply the change to.
Click on DIRECTORIES.
Click on ADD.
Next to "Protected Directory", enter the name of the directory that you want to create including the path to the directory.
Select either non-SSL or SSL. Non-SSL directories will be created in the httpdocs directory and SSL directories will be created in the httpsdocs directory.
Enter the "Header Text" if any. This is the text that will be displayed on the dialog box that comes up when someone tries to access the protected directory.
Click on UPDATE.
Select directory that you have just created.
Enter the username that you want to create for this protected directory.
Click on ADD.
Enter the new password and confirm the new password.
Click on UPDATE.
Repeat for any additional users (if any).
Upload your the files that you want to protect to the protected directory that you have just created. For non-SSL protected directories, upload your files to your httpdocsdirectoryr. For SSL protected directories, upload your files to your httpsdocs directory.
 

How do I create a custom error pages?
For each error page you want to customize, create the following html files:
File Not Found (404) = not_found.html
Bad Request (400) = bad_request.html
Forbidden (403) = forbidden.html
Internal Server Error (500) = internal_server_error.html
Once you created your custom error pages, upload them to the /error_docs directory for your site which is one level up from your public /httpdocs directory. That all there is to it, your customer error docs will start working immediately.

How do set the site's OR a folder's default page to something other than index.html?
Create an .htaccess file in your public directory or the directory that you want to change the default and add the following line:
DirectoryIndex filename.html
[change filename.html to the file name that you want to use as the default]

How can I prevent directory browsing? For instance, I don't want people TO be able TO VIEW the contents OF my /images directory WITH their browser.
The quick AND easy way IS TO CREATE an index.html file AND upload it INTO the directory. This way browsers ARE forced TO VIEW it AS the DEFAULT page.
Another way IS USING an .htaccess file:
CREATE an .htaccess file IN the directory that you want TO block AND ADD the following line:
IndexIgnore */*
Visitors will see the directory, but no any of the files in it.

When I try to list the contents of a directory, the server responds with "403 Error > Forbidden". How can I override this?
For security purposes, directory listing is turned off by default. If you wish to enable directory listing for your site or a sub-directory of your site, you'll need to create an .htaccess file that contains the following line:
Options Indexes
Next upload this .htaccess file to the directories that you wish to make publicity browsable. If you want this to be applied to your entire site, then you'll need to upload it to the top level of your httpdocs (or httpsdocs) directory. If you are already using .htaccess files, make sure that you include the existing information from your current .htaccess files before you upload your new version.

Back to Top


services | information | support | server login | order


Websaic
Copyright ©2000-2003 Websaic.com. All rights reserved.