Friday, 27 May 2016

How to build a website - Basic Concepts - 3

Part-1  Part-2  Part-3

Moving your website files onto the server



 After you have your domain name registered and your hosting service in place, the last step is to upload the website onto the server. 

When working with your website files, it is necessary to move files from one location to another. There are many ways you can move files around on your server. You can use the cPanel File manager, an FTP program, Shell using SSH, or and HTML editor like DreamWeaver
This tutorial will explain how to move your files in cPanel and using FTP (FileZilla).


An FTP program is a type of software that is used to move files from one computer to another over the Internet. FTP is the acronym for: File Transfer Protocol; this just means that this is a ‘way’ of moving files. 


There are several free FTP programs you can use to move your files and many HTML editors and web design programs like Dreamweaver have FTP capabilities built in.

Moving Files Using cPanel File Manager

You can use the File manager to move your files on your server. The File Manager is a way you can move your files without having a program installed on your local computer like FileZilla or CyberDuck. This allows you to move your files from any location that has internet access. The following will explain how to drag files to move them and how to use the "Move" button to move files to a specific directory path.

Dragging files in cPanel File Manager


  1. Login into your cPanel. Go to the File Manager, select your directory and click Go.




  1. Navigate to the directory that contains the files your want to move. In this case we are moving .png images to the "test" folder.

Select the files and drag them into the directory you want to move them to on the left side.


Now the files will show in the "test" folder.

Moving files to a specific directory with the move button



  1. You can also use the "Move" button to move your files if you know the path to the file location.

Select the files you want to move. Right click one of the files to show the options pop up.



  1. Type the path to the folder you want to move the files to. In this case we are moving the files to the /public_html/test/images folder.



3.      Click "Move file(s)".

Now the files will show up in the "images" folder.

Moving Files Using FileZilla

There are many different FTP programs you can use to move your files around. Most FTP programs work the same way. For tutorial purposes, this section will focus on how to move your files from one folder to another using FileZilla.

  1. Open your FileZilla FTP program.
  2. Navigate to the folder where you want to move your files. In this case ware are moving a template from a subdirectory called "templatemo_353_beauty_class" to the "test" folder one directory above.



The "Remote site" is where the files are on the server. The "Filename" box underneath the "Remote Site" box is where your files are for on the server.



  1. You can drag files from one folder location to another. In the image to the right you will see how all the files in one directory are selected and dragged into another folder in the server.
      


Drag the files you selected to the folder you want to move them to. The files will automatically move to that location.

Now when you navigate to the folder you will see the files in that directory.  
 

  1. To move files from a folder to a subfolder, You can select the files and drag them into the folder within the "Filename" box under the "Remote site" box. See the image to the right. In this example we moved the images in the test folder to the images folder.




Now the files will be found in the images subfolder. 






Credits:

How to build a website - Basic Concepts - 2


Getting your web site ‘live’ on the Web

With the nerd background details under our belts, we can now learn about the two steps to going live on the Web:
  1. Register your domain.
  2. Rent some server space. 

  1.    Registering your domain

There are many companies out there that allow you to register the domain name for your web site. Prices vary, as does the quality of service, but at the end of the day, they all handle the details of getting your domain name listed in the giant address book told earlier in previous post.
These days, you will find that many of the names you may be interested in registering are already taken. As mentioned above, domain names have to be unique and many have been slurped up. 


What is the difference between .com, .net, .org, etc.?

 

Practically speaking, there is really no difference these days. Search engines don’t discriminate between a .COM address and a .NET address.
The only thing you might consider is that people tend to type in .COM automatically since it was the first publicly known domain extension.
So when registering a domain name, I would go for the .COM first and if it was taken, I would then try for any of the others. (.net, .org, .tv, etc. …)
You probably guessed; a .COM address is not the same domain name of the same name with a different extension. So for example:
www.google.com is not the same as www.google.co.in
As such, each of the addresses can be registered separately.


2.    Renting server space to ‘host’ your web site

You need to rent space on a server so that it can serve your web site to the World Wide Web; this is often called ‘hosting’. Companies that provide this service are often called ‘host’ or hosting companies.
After you’ve registered your domain, all you need to do is contact a hosting company and tell them your domain name. They will be able to guide you through the process and you should be live on the web in no time – typically within a week or less.


3.    A cheaper option

Some people may not want to buy a domain or pay for hosting because they only have a personal web site for fun or practice. You can still get your website live on the web by using a free hosting service that allows you to create what is called a ‘sub-domain’. A sub-domain is just a domain that is part of another domain.

So if a host offered sub-domain hosting you could have an address like:
www.hostaddress.com/yourWebsite/
Or it could be like:
http://yourWebsite.hostaddress.com

Whichever way the free hosting service decides to do it. The point is that your web site domain is really a part of the parent domain, in this case killersites.com. Doing it this way, you don’t need to buy a domain name, and you don’t need to pay for hosting

This is fine for fun or project websites, but if you are serious about your web site (say it’s your business website) using sub-domains is like taking someone else’s business card and writing your name on it! You figure it out …

One last point, I’ve heard of free hosting services that will allow you to host proper domains with them for free and without annoying ads that other free hosts will insert into your pages.

In the internet’s recent past there was once a crop of free service providers that would give away access to the web via dial-up, they were notorious for bad service and all have since gone bankrupt … I wonder why!