Archive for September 25th, 2006

DIY web site: Uploading content via FTP

filezilla.jpg

Earlier, I showed you how to sign up for a web host. Now I want to show you how to upload content, via FTP (File Transfer Protocol) to your web site.

You need the following information first: (Usually this information will be in the email your web host sends you when you sign up)

  1. ftp host name (usually ftp.something.com/), sometimes it might be just something.com)
    In my earlier example, ProHosting gave me the following FTP address: ftp://nsharp.odin.prohosting.com/. (you can drop the ftp:// bit)
  2. Your username - (in my case, nsharp)
  3. Your password.

STEP 1: Testing your FTP login.

Before uploading files, you might want to test if FTP is working. If you got a new domain, it might take a while for FTP to work on that domain. If it does not work, wait about 24 hours and try again. Anyway, lets try out that login.

  1. In windows XP, click START, then RUN, and type the following:
    ftp domain.com
    (replace domain with your domain name, and change the extension as necessary) and click OK.
    (In my case, I will type “ftp nsharp.odin.prohosting.com”)
  2. A new black colored DOS window will open up, showing a message
    similar to the following:
    Connected to rproxy.free.prohosting.com.
    220 server ready - login please
    User (rproxy.free.prohosting.com:(none)): _
  3. The cursor will be blinking right after none. Type your username there and press enter.
  4. Next, you will be asked for your password. Type that also and press enter - as you type your password, you might not see anything on the screen (as the password is hidden). After you type your password, just press enter.
  5. If you are logged in successfully, you will see a message similar to the following:
      Connected to rproxy.free.prohosting.com.
    220 server ready - login please
    User (rproxy.free.prohosting.com:(none)): nsharp
    331 password required
    Password:
    230 login accepted
    ftp>_

Well done! your ftp login works fine. If you like, you can type dir and press enter, this will list any files present. Usually, depending on the host, you may see some files such as index.htm. To EXIT ftp and close the window, type bye and press enter.

If your ftp login does not work, check with your web hosting company. Note that if it is a new domain, it may take up to 48 hours for ftp logins to work.

Assuming your FTP login worked, you can now continue to step 2…

STEP 2: DOWNLOAD AN FTP CLIENT.

Windows includes basic FTP support, however it is useful to have your own ftp client (software), to help you upload and manage content on your new site. I will now show you how to use a free software called filezilla (Why filezilla? Because it’s free and open source)

  1. Go to http://sourceforge.net/projects/filezilla/
  2. Click download.
  3. Select windows 32bit version.
  4. Select a mirror, and click download.

TIP: Download Filezilla installer to your desktop…

STEP 3: Installing the FTP Client (FileZilla)

  1. Double click the file you downloaded to open it.
  2. Select language (English)
  3. Click I Agree for the licence.
  4. Select the type of install (Standard is OK).
  5. Select the destination folder (You can use the suggested default)
  6. Choose start menu folder (or accept default)
  7. Set mode and settings option (default is OK)
  8. An installation window will show, wait for it to finish and press close.

STEP 4: Using FTP Client (FileZilla)

  1. Find the link to FileZilla in your start menu, and click it to load FileZilla. You will get a screen which shows a view of your computer on the left, and remote site on the right. Remote site will be blank, as you have not connected to any site yet.
  2. In the address bar, enter your ftp address (nsharp.odin.prohosting.com, in my example)
  3. Enter your username/login in the User box.
  4. Enter your password in the password box.
  5. Click connect.

Now, the remote site window on your right will show a list of files on your web server.

Congrats! You are now ready to upload to your web server!

STEP 5: Uploading content to your webserver

First, you must make a file to upload. For this, we can use Notepad.

  1. Open Notepad (Under Programs/accessories)
  2. Visit this page: (and copy the html code for the file Hi.html)
  3. Save that code in a file to your desktop, as test.htm
  4. In FileZilla, browse to find the file you made (on the left Local Site window)
  5. Select the file with your mouse, and drag it to the right side (Remote site) window. At the bottom of FileZilla, you will see a message as the file is transferred.
  6. If all worked out, you can now access the file you uploaded, on your web site: In my case, I called the file test.htm, and I uploaded it to my sample website http://nsharp.odin.prohosting.com/, so my file should be: http://nsharp.odin.prohosting.com/test.htm.

That’s all for now! In my next article, I will tackle the tricky subject of installing  WordPress!

Add comment September 25th, 2006

DIY web site: Signing up for a web host

In my previous post, I discussed starting your own blog/site (registering a domain, and getting hosting).

In this article, I want to show you how to sign up for a web hosting account (From a FREE web host)

Preface:

A web host is a company who gives you space to host your content on their web servers (computers which are always connected to the internet).

Aside from hosting your content, some webhosts offer domain name registration. They also connect domains to hosting accounts (such that yourdomain.com points to the web hosting space you purchased).

OK, Let’s get started… 

Step 1: Signing up for a hosting account

Regardless of which web host you choose, you usually have to sign up. This involves visiting their web site, and following a sign up procedure and paying something. You will need an international credit card, and an email address (where they can send you login information.

For this example, I will demonstrate how to sign up for a FREE web host (ProHosting).

So let’s take a look at prohosting’s sign up procedure:

  1. Visit the web site (http://free.prohosting.com/): ProHosting has a convenient sign up button on the top left. Click that [a]fph.jpg
    Next, you will see a page that shows their various packages. Select the FREE package [b]. 
    freep.jpg
  2. ProHosting will ask you to enter domain name: Select “free vanity name” - this will give us a chance to get an address like http://something.prohosting.com/. For this example, I will enter “nsharp” as the name (so my site will be http://nsharp.prohosting.com/).
  3. Next, prohosting will ask you which ‘package’ you want: This is a question specific to prohosting (they offer web builder packages at an added cost. We DONT want this, since we intend to use FTP. At this point, please select NONE
    fph-probuilder.jpg
  4. Personal information: you will then be asked to fill a form with your personal detains. Please make sure you fill in all the required details (in red) correctly, in particular, pay attention to the account login, password, and your email address - when you have finished filling the form, click get an account
  5. Confirmation: If all went OK, you will see a page that lists all your details. In my case, I get the following info:
    Web Site Address: http://nsharp.odin.prohosting.com/.
    Account User Name: nsharp
    Account Password: ********
    Account Control Panel: http://freeadmin.prohosting.com/       
  6. FTP INFO: Scroll down a bit further, to find the FTP Information. This is what we need to log in. In particular, you are looking for the FTP url, which, in my case, is ftp://nsharp.odin.prohosting.com/.
  7. Summary: note down the basic information you need for FTP. This information includes: [a] The FTP server name. In this case, as shown above, it is ftp://nsharp.odin.prohosting.com/ [b] The login (nsharp) and [c] the password.

That concludes the first step of setting up the hosting account. In my next article, I will show you how to upload content using FTP

As always, if you have any questions, please post them here as comments..

Add comment September 25th, 2006

Starting your own blog/site..

This mini guide briefly shows you how to get started with your own blog/dot com site. The process is a lot easier than most people think! As always, you are welcome to post any questions you have, here, and I will try to answer them.

STEP 1: get a domain

WHAT?
A domain is your identity on the internet. It’s how other people find your website. For example, this site’s domain is www.nsharp.org.

WHY?
Having your own domain makes finding your site simpler, and makes it appear more professional. Your site can be personal, business related, or a mix of both. In fact, it can be whatever you want it to be!

HOW?
To get started, you need to decide the name you want for your site. It could contain your name, for example, if your name is John Doe, you might want to have www.johndoe.com

Next, you need to register that domain at a domain registrar. I recommend GoDaddy* (www.godaddy.com) as their rates are reasonable. To register your domain, go there, and type in the name you chose, and see if it is available. If not, they will offer you lots of suggestions/recommendations.

You will need an international credit card to pay for the domain. Fees range from under $10 for a dot com domain upwards. This is less than Rs 1000, at current rates.

Step 2: Hosting

WHAT?
Now that you have your very own domain, you have to ‘host’ your website somewhere. i.e. your website has to be stored in a computer that is always connected to the internet, and ‘linked’ to your domain. Also known as a webserver.

There are thousands of companies around the world who can host your site. Two popular hosts are www.godaddy.com and www.dreamhost.com.

GoDaddy’s rates are reasonable - around $4 a month (approx 400 rupees).

GoDaddy also offers the option to host your domain for free, with a few text advertiesments above.

Step 3: Content

CMS vs HTML
OK, you have now registered your web site domain and found a host. What’s the next step? Generating content of course. There are currently two main ways to add your content to your new web site:

  1. Using a web design software: you can write individual pages, using a software such as Frontpage, which converts them into HTML/XHTML (languages your web browser can read) and upload them to your hosting account. The advantage of this method is it is relatively simple, however it can be messy/troublesome over the long run, as maintaining content you upload is not very easy.
  2. Using a content management system (CMS): A content management system is a software, like wordpress (which powers this web site). You install it in your hosting account, and it presents a system whereby you can publish content (text, images, etc) easily. Wordpress manages the whole site, and generates HTML or whatever, so that you don’t have to worry about this. Setting up wordpress is a fairly simple task. Many web hosts (godaddy for example) allow you to accomplish this via a control panel, so you don’t have to do it manually.

I will try to write a separate post on getting started with Wordpress, soon.

Note: If you just need a blog, and don’t mind not having your own domain, www.wordpress.com offers free blogs. The blogs would have an address like (yoursite.wordpress.com) as opposed to www.yoursite.com. To get started, just visit www.wordpress.com.

Further reading (at Wikipedia)

Frequently Asked Questions (FAQ)

  1. I don’t want to pay for the domain: If you want a free domain, you have two options: (a) A subdomain: Wordpress, for example, will offer you a free subdomain, so your site will be yoursite.wordpress.com, or (b) a domain from www.tk (Dot TK), who offer free domains (your site will be yoursite.tk)
  2. How complex is Wordpress? Wordpress is an extremely simple content management system. Aside from installation which requires some technical knowledge, usage is about as easy as using Hotmail or Yahoo email.
  3. I don’t want a blog: If you don’t want a blog, and prefer a more business oriented site, you can look to a content management system such as Mambo (http://www.mamboserver.com/)
  4. I want free hosting: If you don’t want to pay for hosting, you can get free ad supported hosting. Many companies offer this service. Note that wordpress.com offers free hosting without ads, however you have to use their url (yoursite.wordpress.com), and you may not be able to directly use your domain with them.
  5. What are COM, NET, ORG, etc I see at the end of all URL’s (Web addresses)? The last few characters in a domain after the dot are what are refered to as TLD’s (Top Level Domains). These TLD’s can be country based (e.g. Sri Lanka’s TLD is .lk so if you registered a domain in Sri Lanka you can get www.yourname.lk perhaps. TLD’s can also be generic (for a particular industry - e.g. aero for aviation, com for commercial).
  6. So.. I can have either COM, NET, ORG, LK, or whatever? Say, what do those stand for anyway?
    Yes, as long as nobody else has registered the domain you want, you should usually be able to purchase it. COM stands for Commercial, Net stands for network, and ORG stands for organization (ORG Originally denoted non profits but now generally anyone can use this suffix, and lk is Sri Lanka)
  7. What’s with the WWW at the front of a domain? www is an acronym for world wide web. You can access some domains without the www, however that prefix is usually recommended for domains (the idea of a prefix is to denote the particular service: for example email.domain.com might lead to an email interface, ftp.domain.com might lead to file transfer protocol, and lastly, www leads to the basic browser viewable domain we know).
  8. Have another question? Post it below as a comment and I will try to answer..

*Godaddy is an excellent company, and I do recommend them. You can learn more about Godaddy at their main site, or at the CEO’s blog (www.bobparsons.com) which has many excellent articles such as this one on Starting a new business

9 comments September 25th, 2006


Popular Posts

OMG! Ponies!

Most Recent Posts

Recent Comments

Categories

Feeds

Calendar

September 2006
M T W T F S S
    Oct »
 123
45678910
11121314151617
18192021222324
252627282930  

Posts by Month

Posts by Category

Links

Valid XHTML 1.0 Strict