|
|
PART 1 - GETTING STARTED
General Account Information General Account Information Every customer gets their own password-protected userid under Linux. By logging in with your userid, you gain access to your 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 "www." Every customer has their own separate "www" subdirectory. Files placed in the "www" directory are visible to remote browsers over the Internet. This is where you place all the HTML documents, graphics, sounds, etc. that you want people to be able to access from the World Wide Web. For example, when a browser asks for the URL, http://yourdomain.com/page.html, Apache looks for the file: /home/yourdomain.com/www/page.html and sends it out. Naming Your Files To prevent errors, we suggest naming all files in lowercase. Spaces and special control characters are generally not a good idea. The underscore character ("_") is acceptable. You should avoid special characters (i.e., !@#$%^&*) in filenames. We also suggest that your filenames not exceed eight characters in length because some visitors may be using older computer systems. The Index Page 9+ Character Names Uploading Your Files (FTP) Web Control Panel FTP Software NOTE: If you are using FrontPage, you must create your new Web on the "localhost" system. This is accomplished by selecting "Create New Web" and then entering "localhost" in the line where the Web location is requested. Once you have completed your Web on your computer, you can select the "Publish Web" option from the file menu in FrontPage Explorer. You will be prompted for your IP address and Web name, and then it will be sent to our servers. Please note that you will be prompted for a username and password, and depending on your system configuration, it may be the one that we issued you or the one that you entered when you first installed FrontPage. If one does not work, then simply try the other. If you have forgotten what that password was, then you will need to reinstall FrontPage and select a new one. You should NEVER use regular FTP to upload your files if you are using Microsoft FrontPage's "Publish Web" feature. This will damage the extensions. Stick with one or the other at all times. PC Users PASSWORD HOST NAME/ADDRESS Each time you run WS_FTP, the Session Profile window will be displayed. A profile contains the information needed to connect to your web site. Creating a profile initially will eliminate the need for you to configure the software each time you wish to connect to the web server via FTP. To create a profile, click the "New" button and enter a generic profile name at the top of the Session Profile window, such as "MYACCOUNT." Next, enter your Host Name/Address (yourdomain.com), User ID (yourdomain), and Password for your web site as illustrated in Figure 1A. ![]() Figure 1A Next you need to click "OK" to continue. This will connect you to the web server, where you will connect directly to the root (home) directory of your account. WS_FTP will display a split screen where files on the left-hand side are within your own computer. You will see several folders on the right-hand side, such as www, and infobots which are landmarks signifying a successful connection to your web site, as illustrated in Figure 1B. ![]() Figure 1B You need to double-click on www to get to your Web directory. This is where all your files will be uploaded, and/or you will create subdirectories. (The only system directory that you may need to use is cgi-bin; this directory is reserved for custom scripts.) To make your home page load automatically, name the HTML document "index.htm" in lowercase and upload it to the www directory of your account. To upload a file or files, simply highlight the file(s) on the left and click the right arrow button (->) in the center of the window. Be sure to upload HTML documents and scripts in ASCII mode and images in binary mode. To transfer a file to a subdirectory, double-click the appropriate subdirectory to open it before transferring the desired file(s). To create a new directory, click on the MkDir button when you are inside the www directory or subdirectory. As soon as a file is uploaded to the web server, it is available for all to see. If, after uploading a file, you are still unable to see the updated file via Netscape or Microsoft Internet Explorer, try hitting the "Reload" or "Refresh" button. (Hold the "shift" key down while hitting "Reload" and you should be able to retrieve the most recent file.) If that fails, you need to clear both disk and browser caches. Remember that you must first be connected to the Internet through your local Internet service provider in order to connect to the web server. Macintosh Users PASSWORD HOST The host name tells your FTP software to connect to the web server upon which your web site resides. Each time you run Fetch, the New Connection... window will be displayed. A profile contains the information needed to connect to your web site. Creating a profile now will eliminate the need for you to configure the software each time you wish to connect to the web server via FTP. To create a new profile, select "New Connection..." from the File menu. Next, enter the Host (yourdomain.com), User ID (yourdomain), and Password for your web site as illustrated in Figure 2A.![]() Figure 2A Don't worry about the Directory option right now. When you have your Host, User ID, and Password entered, click on the OK button. The next window that will pop-up looks like Figure 2B below, except that your domain will be in the pop-up window. ![]() Figure 2B You should take the time, now that you have established your connection, to make it easier for yourself to get here the next time. Under the Customize menu, select New Shortcut. A window will pop-up called Bookmark Editor, as shown in Figure 2C. It will already have your Name, Host, and User ID filled in. Under Type, choose File from the pop-up menu. If you would like Fetch to remember your Password so you won't have to type it in each time, type in your password in the Password field. Now, under the same Customize menu, choose Preferences, and under the General tab, make sure the connection you just entered is selected as the default shortcut. Next time you open up Fetch, your shortcut will be opened automatically and all you'll have to do is click the OK button. ![]() Figure 2C To transfer files (refer to Figure 2B), you need to double-click on www to get to your Web directory. This is where all your files will be downloaded and/or you will create subdirectories. (The only system directory that you may need to use is cgi-bin; this directory is reserved for custom scripts.) To make your home page load automatically, name the HTML document "index.htm" in lowercase and upload it to the www directory of your account. To upload a file or files, simply drag them from your hard drive onto the Fetch window when you are in the appropriate directory or subdirectory. Be sure to upload HTML documents and scripts in Text mode and images in Binary mode. Or, to make life easier, click on the Automatic button as shown in Figure 2B, and Fetch will decide the proper format. To transfer a file to a subdirectory, double-click the appropriate subdirectory to open it before transferring the desired file(s). To ensure that the Automatic selection works properly, make sure the selections under the Upload tab in the Preferences window look the same as Figure 2D below. ![]() Figure 2D As soon as a file is uploaded to the web server, it is available for all to see. If, after uploading a file, you are still unable to see the updated file via Netscape, you need to hit the Reload button in the Netscape button bar. Remember that you must first be connected to the Internet through your local Internet service provider in order to connect to the web server. NOTE: Telnet has been replaced by Secure Shell Access (SSH) for all accounts. Basically, the same features available with Telnet are available with SSH, but in a manner more secure. Telnet is a very powerful tool for logging directly into a server to perform advanced (and some basic) features like editing a file, compiling a program, archiving files, etc. Some features (like CHMOD, which is used to change file permissions) can be done through an FTP program. There are some operations you may want to perform that require Telnet, such as checking your server space and changing your login password. Detailed instructions for these functions are found in this online manual as well as the online manual built-in to your Web Control Panel.Each Telnet account for your domain has its own separate home directory, but shares the same www and ftp directories. You can perform basic Unix commands from your web browser by using the Web Control Panel. To access it, go to http://www.yourdomain.com/cgi-bin/plusmail. You can also use a Telnet program to access your Telnet account. If you have Windows 3.x/95/98/2000/ME, you already have a Telnet program installed, Windows Telnet. To access Windows Telnet in Windows, press the Start button on the menu bar of the desktop; select Run. Type "telnet" in the text box and press OK. If you are using Windows 3.x, double-click on the file "telnet.exe". Windows Telnet will appear as a plain white window. Select Connect, put in yourdomain.com as the Host, and press Connect. (Do this for any of the Telnet programs). When you are connected, you will be prompted for your User ID and Password. Some of the programs available at the Telnet (shell) prompt are:
To access any of the above programs, type the program name and the command relevant to that program at the shell prompt. If you do not know the commands relevant to a particular program, use the "man" command described below for program instructions/options/help. Below is a short list of common Telnet commands:
NOTE: It is important to remember that Unix is case-sensitive, and that "Index.htm" is not the same as "index.htm." If you experience problems with your Telnet program when accessing the above commands/programs, you will need to make an entry in your login directory's ".bash_profile" file. Just add the following to the last line: "export TERM=vt100". This will allow you to access all shell commands/programs properly. NOTE: Anonymous FTP is no longer supported for security issues. Your anonymous FTP site is completely different from your web site. When people FTP to your domain anonymously, they will see the following directories:
dev etc incoming lib pub For security reasons, the following applies:
You may tell your visitors that they can visit your anonymous FTP site by typing "yourdomain.com" as the hostname, "anonymous" as the username, and their complete e-mail address as the password. To access the anonymous FTP site via the Web, use the following address: ftp://yourdomain.com/pub/ To add a hyperlink to your downloadable file (for this example, the downloadable filename is "cyberport.exe") on your HTML page, use the following address: <a href="ftp://yourdomain.com/pub/cyberport.exe">Download CyberPort Now</a> You should tell your visitors that they need to right-click on the link if they are PC users, or if they use a Macintosh, they need to hold down the mouse button on the link then select the appropriate option from the Pop-up menu. NOTE: It's possible during peak hours to receive a "too many anonymous users error." We must restrict the number of simultaneous anonymous users to keep the web server and FTP performance within normal limits. If you receive this error often, you may want to put your downloadable files in your main web directory and link to them with an http call. An example would be http://yourdomain.com/files.zip (this assumes the zip files are in the main web directory). If your visitor experiences slow download performance, chances are it's a problem on the Internet. We maintain a large margin of available bandwidth, so bottlenecks never occur within our network. Please feel free to send an inquiry to be sure all the servers are operating properly. If you include your visitor's Internet service provider's IP address, we will run traceroutes to see where the delays are occurring. Server-Side Includes (SSI) <!--#exec cgi="/cgi-bin/count.cgi"--> NOTE: As shown in the example above, the URL must be relative and not a full call. The following would not work: <!--#exec cgi="http://yourdomain.com/cgi-bin/count.cgi"--> Custom "404:File Not Found" Error Page Password-Protected Directories NOTE: On some older accounts, when setting up the password-protected directory, you may be prompted for the "AUTHNAME." This is the name that will appear in the dialog box. Please do NOT include any spaces or characters in the name; this will cause a server error when trying to access that directory. Zip/Unzip Files zip myzip file1 file2 file3 This puts the files "file1", "file2", and "file3" into a new zip archive called "myzip.zip". On the other hand, if you had the archive "myzip.zip" and wanted to get back the files, you would type:unzip myzip Typing "zip" (without the quotes) or "unzip" (without the quotes) by itself will give you a usage summary, showing nearly all the options available. |
| Copyright © 1998-2004 Tuffy Enterprizes. All Rights Reserved. Copyright Notice | Policies & Guidelines | Privacy Statement | Contact |