Showing posts with label Web Hosting. Show all posts
Showing posts with label Web Hosting. Show all posts

Tuesday, January 15, 2008

5 Essentials features You should look in a web hosting service

* Password protected directories
* CGI (Common Gateway Interface)
* MySQL+PHP
* SSI (Server Side Includes)
* Cron

Password protected Directories

Password protected directories are useful if you want to maintain a membershipsite or download area for your products. This can be done by two methods.

Basic Authentication: This is also called 'Basic HTTP Authentication'.Here you have to keep '.htaccess' file in the directory which you want to protect. This protection can be done by logging in to your control panel and clicking on the icon or text link which says 'Password Protection'. So this method is usually carried by the server.

When a user wants to view the web pages in that password protected folder, a pop-up box comes up asking username and password.

Using Cookie method: This is usually carried by CGI scripts that are installed on your cgi-bin. Some of the CGI scripts also uses 'Basic Authentication.

The script puts cookie on the users computer which logs the user sessions. By this method of password protection you can good control on how users can access your private site.

For example:

* Number of times a user can access your site
* Number of days of access like a month or three months etc,
* Users can assign their passwords and user names
* Users can edit their profile
* You can ban certain users etc.

CGI (Common Gateway Interface)

CGI is an abbreviation for 'Common Gateway Interface'. CGI adds a lot of interactivity to your web site.

Common Gateway Interface specifies a set of standards how a web user can run programs that are located on a web server from their computer, how a web server communicates with the software program(CGI program) that resides on it and how this software talks back to the web server. Any kind of software can be a CGI program if it handles input and output according to CGI standards.

CGI scripts are commonly written in a programming language called Perl (Practical Extraction and Reporting Language). But can also be written in C+, C++, Java, Visualbasic etc.

CGI scripts can be used to process a simple form to maintaining a membership area. There are many scripts online, which can be used to automate your website.

What can you do with CGI?

* Form proccessing
* Autoresponders
* Mailing list managers
* Order taking, Order proccessing
* Steamline your downloads
* Protecting your private folders
* Easy maintanence of the website
* Tracking your advertisements
* Maintaining an affiliate site
* Counters, classifieds, link directories...There is no end to this list.

MySQL+PHP

MySQL is an open source, relational database management system which can be used in conjunction with scripting languages like perl, php etc.

SQL is not a pogramming language.It is a 'Stuctured Query Language' that is used to send queries(commands) to your database manager to store, alter and retrieve information from your database.

You have to insert this 'query strings(commands or queries) in the cgi program to execute them.

Why is database system is superior than Flat file data storage?

For small sites flat files are OK to store the data.But big sites like amazon.com or Microsoft, they need some thing that store large amount of data.Here the sql database comes in.

Once the data amount has reached certain point, the performance of the flat files certainly lessens. For example, you have a big subscribers base like 50,000 it is difficult to manage with flat file method. You need a fast and reliable system that can hold so much data with out losing the performance.

PHP which was on the web since 1995, is an abbreviation for 'Personal Home Pages'. Now almost 6 million web sites are using php for managing their web pages, databases and discussion boards etc.

Php and Mysql provides a good hold on database management. It is normally put to use as an html-embedded scripting language for use on the web.

SSI (Server Side Includes)

SSI is including a piece of information by server in to the web pages before they are presented to the browser.

Lets elaborate this a little further. The user requests a document from server.Server looks for the document and its extention. If it is html or htm extention server simply presents the document to the web browser. If the requested file ended with a ' shtml ' extention then it searches the documents html code for any instructions. It follows the instructions and attaches an extra information in to the document and presents to the browser.

SSI-What for?

* run cgi scripts
* include environment variables
* display the time
* include a file


Cron

Cron is an automatic task machine. You will use it on your Unix or Linux operating systems.

What it will do for you?

If you want to send tour email cources to your subscribers at 11.30 night, you will set the cron job on your server. And your cron manager sends the one email every day at 11.30 until all the emails will be finished.

If you want to send them on Sundays, you can schedule it with your cron.

You can schedule it to delete your website members with expired accounts.

You can schedule it to recieve an update on your subscribers from your mailing list manager.

See Unisma Hosting Package for more details.

* Request for Quote

Monday, January 14, 2008

5 Basic features You should look in a web hosting service

* Disk space
* Band width
* FTP access
* Good control panel
* Support

Disk space:

Allotment of certain disk space for you means, you are given a folder on web host's server to upload your files.This is same like you create your folder on your own computer.

How much space you are going to need?

* Ask these questions yourself: How many pages to put up to complete my entire web site?
* Am I going to enlarge my web site in future?How fast?
* Am I going to keep '.exe' ,'.zip','.pdf' or audio and video files on my server?How many?

Write down answers on a paper. If you say 10 pages web site, No, Slow, No, None- to these questions then 10MB disk space is more than enough for you.

If you come up with opposite answers to any of the questions then you need an alternative plan.

This is what you can do:

Select a web host with starter plans that provide all basic features with 10-25 MB disk space. After few months you can upgrade to next level with increase of disk space.

* This disk space is for your: Documents like htm files,i mages that appear as web pages to the world
* CGI scripts and their data
* Mysql databases if you are using any
* Your server log files like error logs, webloggers (with some web hosts)
* Your email account and email storage (with some web hosts)

So how much you need depends on your web site requirements. If you are going to put up audio presentations or photo galleries then 10 MB starter plans are not for you.You need a good amount of space.

Band width:

Band width is the amount of data transfered between the server and the client.

Data transfer is the amount of band width your web site uses.

Usually for a beginner (in starter plans), you will be offered 2GB of band width. This is more than enough.

* How much is one GigaByte? 1 GB = 1024 MegaBytes
* 1 MB = 1024 KB
* 1 KB = 1024 Bytes

You have a web site with 12 pages.Each page averages about 10 kb. Daily you will get 100 visitors.On average each visitor surf thru 5 pages.So per day your band width usage is around 5000 kb. (10X100X5). When calculates for 30 days, you will end up with 150000 kb or 150 mb of band width usage.

If you have few more graphics or small downloads on your site this goes a little more high.

Fact about the band width:

There is no such thing like 'unlimitted band width'.

If you read your web host's policy, you might see some rules on using this band width. So always read the terms and conditions before signing up for an account.Most of the web hosts include your email, ftp, http in to your band width usage. For example if you have a mailing list and you sent 20,000 emails every week to your subscribers, all this goes under the usage of band width.

If your control pannel has feature of displaying your band width usage, you can watch how your website using the resources.

Usually the starter plans comes with around 2 GB of traffic.

Some hosts put some restrictions on band width usage:

* Some of them are:They don't allow commercial email advertising
* Big photo galleries
* Installing chat rooms
* using certain amount of system resources like 20% or more.In this case you have upgrade your plan with more disk space or band width

FTP access:

File Transfer Protocol or FTP is the method used to "upload" your web site files to your server.

Three types of ftp access:

* One FTP account is alloted.This is for your personal use. If you want to give access to others you have to share your username and password.

* Multiple FTP accounts are allowed.So you can give your members or friends access to your site with their usernames and passwords.Here you can specify which folders they can have access to.

* Anonymous FTP accounts.Here you can give permission to your visitors or whole world to upload and manage certain folders on your server.Most risky...eh?

Every web host allots minimum of one FTP account.Because that account is for you to upload your files.

You will see some thing like 'unlimited access and 1 FTP account'. Means you can upload files all 24/7, and you are alloted only one FTP account for yourself.If you have partnership site that should allows your friends to access your server then you need more than one account. Or you can share your user name and password with your friends to give them access.

If you want your web site users to upload files to YOUR server then you need a web host which gives you multiple FTP accounts, so that you can offer them to your visitors.

Some hosts doesn't allow you to have anonymous ftp accounts in starter plans. Anonymous ftp has it's own pros and cons. You will have a folder like 'public_ftp' on your server to allow others to login as anonymous and do file transfers. If you are not sure of anonymous ftp it is not advisable to enable it. Because of:

* Security issues: If you keep a folder world read and writable anybody can upload and edit the files in that folder.So be careful before playing with anonymous ftp feature.
* You are responsible for your files and folders not the web host.
* Disk space and data transfer comes under your account.


Control Panel:

Control panel is a web-based interface that allows you to manage your domain through a web browser.

Most of the control panels are with icons that are easily understandable of their purpose.

With a click of a mouse you can do many things with out knowing any of the html or some other programming languages.

* You can do every thing from your control panel like: File uploading
* Managing email accounts
* Managing CGI scripts
* Mysql database management
* Cron jobs etc.

Usually you can access your control panel by typing-
http://www.yourdomain.com/menu or you will get the necessary information from your web host.

You will be given a user name and password to login in to your account. Nobody can change your password or access your control panel. Because the password changing can be done after logging in to your control panel.

Always check the control panel demo before choosing a web host. Some of the control panels has account information, server information and available resources. This would be useful in checking the available disk space or used band width etc.

Support:


You don't get any reply for your requests and questions from your host with in 24 hours?

Then change the host!

No...I am not kidding. Support is essential part of the web hosting service. Especially when you are a novice.

But most of the web hosts provide good amount of support to their account holders. So always give an email asking some doubt about their hosting plans or some thing and see how fast they can reply a non-customer.