Go to the menu - Go to the contents

[Site map] You are here --- > Newbies Paradise > Tutorials > Official > Website > Reading a tutorial

Publish your website

Avatar
Author : M@teo21
Creation : : on 01/23/2007 11:13:24 AM
Last modification: : on 04/01/2007 03:02:02 PM
Rate and comment this tutorial
Print this tutorial
Cheers! Your website is done! Looks great, top of the notch, shiny and all, but... for now, it just sits on your hard drive, nobody else will be able to enjoy it! :(

You would like to publish it on the web, but... you're missing the 'how-to' part! :p
Good news for you! It's what we'll be covering in this appendix, all you need to know to make your website available on the web is there:
Chapter Contents :
Contents Next Chapter

The domain name

Ever wondered what a domain name could be?
Actually, it's an address on the web: newbiesparadise.com is an example of domain name.

A domain name is made of two parts:

newbiesparadise.com



Usually, a web site has its address prefixed with "www", (i.e. "www.newbiesparadise.com"). This prefix isn't part of the domain name: "www" is what is called a sub-domain, and you could eventually create as many as you need once you are the owner of the domain name :).
Webmasters around the world have sort of adopted the "www" prefix at the point it became a habit, but it's not mandatory at all.

How to book a domain?



Hey, I want my own domain name! How should I proceed?

OK, sure! But I have good, and bad news for you. :p
As usual, let's start with the bad one:


The average cost for a domain name is 12 $ a year. Being able to enjoy your own "name" on the web for roughly 1 $ a month is not outrageously expensive. ;)
Prices can vary depending on the extension. The .info extension is usually cheaper, and might be an interesting choice, but if you need a more "usual" extension, you'll have to target the .com one.

To book a domain name, there are two ways:


For more info about the ICANN, read this page from their website. It gives more details about their contribution to the Web. That's quite a job to manage most domain names!


In this chapter, you'll learn how to order a domain name at the same time as the hosting. It's the most simple and cheapest solution.

The host

Now let's take a look at the host.

What is a web host and why would I need one?


On the internet, all the websites are kept on special computers called "Servers". These computers are usually very powerfull and always switched on. They store the pages of a website and send them to the users who ask for them, at any time of the day or night.

This is what the server of Newbies Paradise looks like:

User image
A server



A server does not have a screen since most of the time it works in the dark on its own without the need for external assistance. As you can see, servers are very flat: it's a format specially created for servers ("1U"). This allows them to be piled on top of each other into bays (a kind of air-conditioned cabinet for servers ^^ ).

This is what a bay looks like:

User image
A server bay


As you can see, there is one screen on top for the whole bay. It's enough because we only plug it into a server if the former encounters a problem. Most of the time, luckily, the server will work smoothly :p

The host's role



The host is a company which is in charge of the well-functioning of their server bays, 24/7.Indeed, if one of them breaks down, all the websites it contains become unreachable (and clients become angry :D ).

These bays are situated in particular locations called <strong>datacenters</strong>.Thus, datacenters are "server storers" in a way. Their access is highly protected.

User image
A datacenter. Here you can see several server bays.


It is also theoretically possible to host your website on your own computer. Anyhow, it's complex; and you better have knowledge about Linux; the computer needs to be pretty powerful, stay on all day and night and...most of all... the internet connection has to be very very high speed (especially for <span class="italique">uploads</span>, the speed at which files can can be sent is extremely important). Usually, normal people like you and me don't have a connection fast enough to host their personal website on their computer, whereas datacenters do: they are wired up with optic fiber (which can get to a speed of several Gbps! :D )


Thus, taking care of a personal server is hard. That's why most of the time, personal users and companies call on professional hosts.

Finding a host



Hosts, as opposed to registrars, are numerous. They are of many different types, and of different prices. There is some vocabulary you should know to understand what they offer:



But where in the world can I find a host?


Oh that's very simple :D
A "web host" Google search will give you millions of results. The choice will be the only tough part.

User image

If you want my advice, I would recommend you check out what 1&1 proposes. It's a well-know host. Its advantage is that it is quite easy to use and really user-friendly, which is a good thing when you're starting.

1&1 offers mutualized, virtually dedicated and dedicated hosting. As I've already told you, if you are just starting, you should take a look at the mutualized offers ). Here are the links:


You are proposed several offers:

User image

Without going into too much detail, each offer proposes different services. What differs most from one offer to another is the storage space you are given (from about 1GB to sometimes 20GB). Another important point: the host offers PHP on its server, which will allow you to use PHP later on if you wish to learn that language and then use it on your site.

If you take a look at the tabs on the top, you'll see that you are in the "Linux hosting" (or just "Hosting" for british users). There's also a "Windows hosting". To avoid any misunderstanding : you do need is a <span class="souligne">Linux hosting</span>, because it's less expensive and you do not need to know how tu use linux.
People who take Windows hosting have specific needs (usually companies).


Ordering an hosting for your website



In the proposed offers, I'll let you choose the one you need.
Click on Sign Up. In the next page, you have to confirm the package you have choosen. Then 1&1 proposes several softwares (for UK users there is another page before which ask you if you want to get 25% off the price but you'll then need to sign for a minimum 24 months contract, so be careful) but that has nothing to do with we want to do, just click on Continue.

On the next page, very important, you are asked the domain name you want for your website. Choosing it, you'll choose the address of your website :

User image (US)

User image (UK)


British users can see that the "www." is already written. Choose the domain name you want and check the box which refers to the extension you want (here the .com has been chosen). US users have to type it manually.
In this case I've chosen www.iamanewbie.com domain.

You have to click on Check Domain to check if the domain is still available. If someone has already registered it, you'll have to choose another one.

User image


Phew, the domain is still available! :)
We're going on.

User image


The total cost is displayed (US users have to choose if they want the 25% off mentionned above).

Click on Continue. You just have to fill in the last necessaries informations (first name, last name, etc) and it's done. Your hosting is ordered.

Once this step is done, you should receive an e-mail which contains all the informations necessary to set up your website. Save them carefully, you'll need them.

As soon as you get your login and password to connect to your host server, you can start the next step: send your website to your host server !

Using an FTP client

Installing an FTP client



FTP stands for File Transfer Protocol. To make it short, it is the way we send in our files on a webserver.
Many softwares use FTP to send files over the internet.

User image
As a matter of fact, you will find hundreds of FTP Clients, some are free, some are not, some are English only, and some have multi-lingual support...
To make sure we understand each other, I will suggest the one I use myself, a freeware: FileZilla.
This software has nothing to do with Mozilla, except that it also ends with "zilla". Do not think we have any agreement with this specific Software Editor, it would be wrong. Just feel free to use any FTP Client you may have some preference for, which is fine by me.

However, I will explain step by step how it works with FileZilla.
First Step: ... download it of course ;)


I trust you for the installation process, it is just simple like that, and you should have no problem with it ;)
Run the Software, here is what you should see:

User image

At first glance, it seems tricky (at first glance only). It actually is fairly simple.
In this window, there are 4 areas to identify:
  1. The top area of the window is dedicated to messages the FTP Client sends and receives. If you are lucky enough, you may even see some welcome messages (yes, it happens! ;) ). Usually, this area is not of some great help, unless we have error messages we have to go through, and they can be spotted easily since they are displayed in red. :p
  2. On the left side is your Hard-Drive. In the top part are displayed your folders, below is a list of the files from the currently selected folder.
  3. On the right side is the directory list of the remote computer. For now, it is empty since we are not connected to anything, but things will happen, do not worry.
  4. Last, but not least: in the bottom area, some information such as the percentage of the transfer completion will be displayed. These are related to files being processed either in transmission or reception.


The next step will be to connect to the remote computer: your host.


FTP client configuration



Whatever the hosting service you have chosen, it always works the same. You will be provided with 3 settings FileZilla needs to connect to the remote computer (the host):
If you own these 3 pieces of information, you are the king of the world :D (well... at least, you are going to be able to keep going with the tutorial ^^ ).
If you do not have them, you must find out, they are mandatory. They probably have been mailed or emailed to you. If you have bad luck finding them, do not hesitate to bug your hosting company (IP / Login / Password).

Now we have all the needed information, we are going to give them to FileZilla so it can connect to the remote site.

Click on the small icon located in the top left corner of the FileZilla window (not the small black arrow, the icon itself): User image

A new window pops up. Click the "New Site" button, and set the name (for instance Newbies Paradise). In the right section of this new window, you will have to set the 3 things we just talked about, just like this:

User image

In the "Site details" section, the host is where you give the address: ftp.newbiesparadise.com).
To be able to enter the login / password, you have to check the "Normal" option in the "Logon type" section.
In our example, the login name is mateo21 and the password is... hidden! (Come on, you did not really think I would give it up to you, did you!? :p)

Next, click the "Connect" button, and there you (almost) go!

Sending files



At this point, 2 different things can happen:

If you successfully managed to connect to the remote host, then what comes next is fairly simple: from the left area, browse your hard drive until you find where you saved your .html and .css files (but also your .jpg, .png, .gif etc. pics).
Double-click the file you want to send. A moment later, it will be displayed in the right part, meaning it has been successfully sent to the host, hence it can be accessed through the internet!!! :D
You can send any kind of file. Of course, we usually send .html, .css and pictures, but you also can send .pdf, .exe, .zip, etc. files.
Here is an example of what it shows when an "index.html" file has been sent:

User image

It shows on the right side, meaning it is now available on the web server. :)
Note that your home page has to be named "index.html". This will be the page loaded when someone will surf the web to your site.
You can also send entire folders at once: just drag and drop them from the left side of the window, to the right one.

Now, come on ... it was not that hard, was it? ^^

That's about all you need to know.
Obviously, you couldn't guess all this. That is what this appendix is for since lots of newbies can be overwhelmed with all the information about registrars, hosts, servers and so on. ^^

Ok, let's move on! I think you have some files to upload... ;)
Contents Next Chapter
Author : M@teo21
Rate and comment this tutorial
Print this tutorial

Change your template | Learn more about NP | Site map | Terms of use | Rules | RSS feed | XHTML 1.0 | CSS 2.0
Powered by Simple IT SARL: Contact us

There is nothing else to read, you have to go up now !

Do you want to be published here? Contact us.

Number of Newbies connected 4 Newbies Connected | SQL requests 9 Requests | Page loading delay 0.0688s (0.0588s)