These instructions apply to the subscribers of our Shared Hosting services such as the Web Publishing Package, Gold Web Server Package, and the Master Reseller Package. These are written for the users of these services on our UNIX/Solaris platform, unless when the specific instructions for uploading to the NT platform are noted below.
You can upload the contents of your web site from your desktop to one of our servers as follows:
Examples of FTP tools are ws-ftp on Windows 3.1 PC, fetch the Macintosh, or the FTP upload feature in most modern browsers such as Netscape 4.0 and the latest versions of Internet Explore.
If you have explicitly requested us to host your Website on an NT server, please replace the server name ftp.sharedhosting.net below with that for your site, such as www.yourbizname.com, and use the default destination directory for your username instead of public_html suggested below. In most tools, you simply leave the destination directory field blank to get the default directory on the server. If you have requested for FrontPage support, you only need to point the FrontPage client application to your web site, such as www.yourbizname.com.
If you have requested to move your Website from UNIX to the NT platform on our network, you will start using the parameters for NT. However, due to IP address caching on DNS clients, you may want to use the new IP address for the Website (ask support@sharedhosting.net) instead of www.your_domain.com during a few days of transition.
At this point, you can start uploading pages one by one. The process of uploading is usually as simple as highlighting within the FTP application an individual HTML document on your desktop and pressing the upload arrow to transfer it to our server. You must start with uploading your main document as index.html to our server. When this is done, you can switch to your Web browser and revisit your Web site address, typically http://www.yourdomain.com (or if the domain registration process has not been completed yet: http://www.sharedhosting.net/~yourusername). You should see the template document replaced by the file you just uploaded. If not, something went wrong. Otherwise, proceed to upload all the documents, one by one, to our server.
You may want to make sure the permissions of your documents are correct. You can ssh to sharedhosting.net and use the chmod UNIX command to do this.
chmod 644 file.html Allow access to a file chmod 600 file.html Dis-allow access to a file chmod 755 file.cgi Allow access to run your scripts chmod 700 file.cgi Dis-allow access to run your scripts man chmod display the chmod manual page
Tips for setting permissions
You might want to use file directory permissions on your documents on our server. You want to take "r" and "w" permission away from "others" but keep the "x" permission on "others" chmod o-rw directory_name chmod o+x directory_name so other clients with file system access can not list directories to see all the files but get onlt the html documents that have "o+r" permission read directly or through the web server. You also want to take away all permissions from "group" on all files. chmod -R g-rwx
Some other important unix commands:
cd ~/public_html change to your public_html directory pwd print the current directory ls -al List the files in the current directory mkdir test make a subdirectory called test rmdir test remove a subdirectory called test rm file.html remove a file (It's gone for good)