Please be on the lookout for an email that will... Read More
Publishing Your web site on bama
When you first create your site on your PC or Macintosh, that is the only place it exists. Since your computer is not a server, no one else can see your Web pages. Once you are ready to have your site viewable, you must copy it onto a server. The instructions that follow are for copying it onto your bama.ua.edu account. If you are publishing your site to any other server, you must see that server’s administrators for instructions.
Note: In order to publish a Web page to your bama account, you must have either a ftp-only or an interactive shell. More information is available.
In order to publish to your bama account, you need to use an FTP client. The IT Service Desk supports Secure Shell (SSH) for PC and Fetch for Macintosh. If you need either program, you can get it from the Software Download Library.
Open SSH. Click on the Quick Connect icon, and in the Connect to Remote Host window, fill in the following fields:
- Host Name: bama.ua.edu
- User Name: Your bama account name
Leave the Port Number at 22 and the Authentication Method at Password. Click Connect. Click Yes to save the new host key, and then enter your bama account password in the Password dialog box that appears. Save your profile just created in the Add Profile window that appears for future use.
After you connect, you should see your bama remote folders on the left-hand side, and folder contents on the right-hand side. If you have never put anything on this account, it should not show any files, but the directory should still be displayed.
Copy all of your files from your local computer to your public_html directory on bama.ua.edu. HTML files should be moved as ASCII, while pictures and other media are binary. However, by default, SSH is set to automatically detect file type (see the Auto icon selected on the toolbar).
For more detailed instructions on using SSH, see the section of this web site titled How to Move Files Between Your PC and Your bama Account.
Open Fetch. In the New Connection window, fill in the fields as follows:
- Host: bama.ua.edu
- User ID: Your bama account name
- Password: Your bama password
- Directory: public_html
From the Remote menu, choose Put Folders and Files. Navigate to your main Web directory and highlight all files and folders inside it. Press OK.
For more detailed instructions on using Fetch, see the section of this web site titled How to Move Files Between Your Macintosh and Your bama Account.
Your Web address is:
(where account is your account name on bama) if you named your home page index.html, index.htm, or index.shtml. If you did not, your Web address is:
(where account is your account name on bama and filename.ext is the file name and extension of your home page).
If you can’t find your Web page using a browser, make sure first that either you have named the file index.html, index.htm, or index.shtml, or you are typing in the name of the HTML file as part of the address. Also make sure that you are typing the tilde before your account name. The tilde (~) can be found in the upper left corner of most keyboards, next to the 1. It is the shift character of the backquote (`).
If that doesn’t work, make sure that you did put your files in your public_html directory on bama. If necessary, re-upload your site.
If you are having problems with broken links (especially images), there are four common causes:
- The files were not uploaded with the rest of the site.
- The files were not in the main Web directory or one of its subdirectories on your computer.
- The links were written as absolute links, usually by your Web editor. (Look at your HTML code. The link should not begin with file:// )
- The link is either misspelled or the wrong case. (Remember, bama is case sensitive.) This usually happens when hand-coding your Web page.
Please check these things before calling the IT Service Desk for assistance. If you still can’t find the problem, please call the IT Service Desk at (205) 348-5555.