-
Before you start, you need to understand three important pieces of information:
- The hostname of the server that will hold your pages. It should be something like "www.yourdomain.com". You don't want an entire adddress (such as "http://www.yourdomain.com"), just the hostname part.
- Your username, that is, the name which you use to sign on to the server. Your username is usually a sequence of letters or numbers (such as "jsmith"), and may be the characters to the left of the "@" in your email address. It should not be confused with an email address, as your username usually won't include an @ sign.
- Your password. This will be given to you via email or verbally from a Hosting 4 Less representative.
If you are creating and uploading a website with multiple files, we recommend that you keep all the files in the same folder on your Macintosh. Some HTML editing programs put images in a separate folder, but this makes it more difficult to keep the links between files correct. Moving files to a new folder will probably break some links and image tags; you should test to make sure they all work before uploading.
-
To start:
- Choose the New Connection command from the File menu.
- Enter your hostname, username, and password in the appropriate text fields of the New Connection dialog.
- Possibly change the Connect using pop-up menu to SFTP or FTP with TLS/SSL if your server supports secure connections.
- Click the Connect button.
- You should see a list of the files that make up your website.
-
Otherwise, you will need to correct one or more of the pieces of information you entered in the New Connection dialog.
If you've successfully connected to the server and are viewing the folder with your web files, you can choose New Shortcut from the Shortcuts menu to create a shortcut for future use. This shortcut will be added to the Fetch Shortcuts list; to use it later, choose it from the Shortcuts pop-up menu in the New Connection dialog (or choose it from the list of shortcuts in the Shortcuts menu).
Once you're connected, click the Put button in the toolbar or choose the Put command from the Remote menu to upload your web files.
- A dialog for selecting files appears.
-
If all of the files are in one folder, you can navigate to that folder and select them all to upload. Select multiple files by holding down the Shift or Command keys when clicking. Otherwise, you can choose them one by one. You can also select folders. The dialog also offers several other options, such as what format to use for the transfer; the default choices of Automatic format and Replace existing files are usually what you want. Then click the Put button to begin the transfer.
Once the pages have been uploaded, you should verify them with a web browser, such as Safari, Netscape, or Internet Explorer. Enter your website's address in the browser's Address or Location field and check to make sure that all the images display correctly and that all the links work. If there are problems, double-check your HTML tags to make sure that they have the correct file references. Also, your main page must be named "index.html", and all files must be uploaded to a remote folder named "www". CGI scripts go into the cgi-bin folder, and you need to set th proper permissions.