
Home
| Support | Uploading My Web Page
Uploading My Web Page
Any pages/files that you wish to be made
available through the web will need to be placed into your own www
directory via FTP. FTP is a File Transfer Protocol the send your html,
images or other files to our servers from your local machine. For more
information on setting up FTP please select the "Setting Up FTP"
link from the menu options above.
Since CalWeb offers several types of
accounts with various functions it will need to be determined by you which
instructions to follow as they differ from Personal and Business hosting
accounts.
As a Personal Hosting account you now have
a publicly accessible www dir. The URL for your home page will be located
at http://www.calweb.com/~username/
or http://www.calweb.com/users/u/username
Replacing the "u" with the first letter of your login name and
username with your login name.
If you registered a domain for a Personal
Hosting account and have signed up for us to host it, then the URL would
be http://www.yourdomain.com/
To upload your files here all you need to
do is log in to your web directory with the FTP program that you have
setup and upload your files. What you will need to look for is when you
login is that your are in your root or home directory for your main login
account. In this directory you should see some files already established,
as these pertain to your account creation and are for your login account.
Look though this list, you should find a directory
called www.
Select this directory, double click it or enter it, or
how ever your FTP program navigates to enter this directory, as this where
your files will reside.
All that is left to do is to transfer your
files from your machine to the server under the www directory.
Follow the instructions for your specific FTP program to transfer the
files, generally a double click, drag and drop or a select file and
transfer option.
Last but not least for your home page to
work correctly it must be named properly. Our servers are configured to
look for most of the common home page naming terms, but if you name your
page something other than the standards, your page will not come up
correctly in a browser. You must use one of the following names:
index.html, index.htm, default.htm, default.html Remembering case
sensitivity, as UNIX is case sensitive.
As a Business Hosting account you now
have a publicly accessible www dir. The URL for your home page will be
located at http://www.yourdomain.tld/
Replacing the yourdomain.tld with the domain you have
registered and have setup with us. For example: http://yourbusinesshere.com.
To upload your files to your website all you need to
do is login with the FTP program that you have
setup on your computer using your CalWeb username and
password. When you first login you will be placed in what is called your
"root" directory, commonly referred to as your home directory. In this directory you should see some files already
established. For the most part, unless your are familiar with Unix you
can ignore these files. You may also see a sub-directory called www, this is
not
where your files for your business website go. These files are for your
personal website (See Personal
Hosting Accounts above).
What you need to do at this point
is to change directories. In your FTP program it should allow for an
option to change directories. When logging in using your login/password,
you'll be placed in your home directory as before. However, instead of
having to navigate over to the old
/www/home/business/#/yourdomain/
method your website's directory will now be at your current location
using yourdomain as a directory name.
For example, let's say CalWeb is hosting your website
called xyzparts.com. A typical ftp session (from the cmd prompt) would appear
as
follows:
C:\>ftp ftp.calweb.com
Connected to ftp.calweb.com.
220 ftp.calweb.com ready.
User (ftp.calweb.com:(none)): myusername
331 User myusername okay, need password.
Password:
230-
230 Logged in.
ftp> cd xyzparts
250 "/myusername/xyzparts" is new cwd.
ftp> put index.html
200 PORT command successful.
150 Opening ASCII mode data connection.
226 Transfer completed.
ftp: 1205 bytes sent in 0.00Seconds 10000.00Kbytes/sec.
ftp> quit
221 Goodbye.
C:\>
If you are using a graphical client, all you'll need to do is locate the yourdomain directory and double-click it to tell your client to make that
your current directory.
All that is left to do is to transfer
your files from your machine to the server under your domain directory.
Follow the instructions for your specific FTP program to transfer the
files, generally a double click, drag and drop or a select file and
transfer option.
Last but not least for your home page to
work correctly it must be named properly. Our servers are configured to
look for most of the common home page naming terms, but if you name your
page something other than the standards, your page will not come up
correctly in a browser. You must use one of the following names:
index.html, index.htm, default.htm, default.html Remembering case
sensitivity, as UNIX is case sensitive.
FrontPage users and FTP
When specifying the directory to publish
to under Remote Web Site Properties select FTP and then on the
Remote Web Site Location use :
ftp://ftp.calweb.com/yourdomain
on one line. IE, if your domain name is xyzparts.com FTP
your files using
ftp://ftp.calweb.com/xyzparts for the Remote Web Site Location
field.

Follow the instructions above for
uploading your pages to your business directory. This also applies to
your pages you wish to secure, as they all reside in the same directory.
There is no such thing as uploading to you secure pages to a secure
directory for SSL. The SSL (Secure Socket Layer is implemented via path
statements which is interpreted by your browser, and has nothing to do
where your page resides.
To simplify things it is recommended to
make a sub directory, such as secure
or forms
to place your files that will be using the SSL connection. Once you have
done this all you need to do is use the following paths to link your
secure pages to and from your non-secured pages.
For most customers you will be using our
merchant key, unless you have purchased your own, which requires us to
get the key for you to establish it on a specific machine. DO NOT
register your own key without talking to us, it will not work and it
will cost you the end.
Path statements you will need:
SECURE
https://merchant.calweb.com/yourdomain/filename.html
NON-SECURE
http://www.yourdomain.com/filename.html
Replace yourdomain
with your directory name for your domain name. Replace filename.html
with the file name of your HTML file you are securing. That's it, now if
you to test the path open up a browser, copy the whole path statement
and paste it in to your browser and you should get the page in secure
viewing mode.
All you have to do now is use this path
on any page that has links to this secured page. For instance, a site
that has all of its paged linking to a registration page, and that
registration page needs to be secure, then all the site's pages should
use the new path for their links to this registration page.
Last but not least is how one leaves the
secure connection to return to the normal web site. This is done by
making sure all links leaving the secured pages uses the full path or
non-secured path of the domain. For instance on that registration page
you have links to the home page and some other content, then all you
need to do is make sure those links use the full non-secure path to get
to those pages such as http://www.yourdomain.com/filename.html.
Once again replace yourdomain.com
with your domain and replace filename.html
with the file name that the link
goes to.
|