Web Hosting And eCommerce

One of the most thriving sectors of the Internet is eCommerce. People are getting more and more used to buying from Internet shops and every year the volume and value of sales increases a lot. If you are interested in opening your own eCommerce web site here are a few essentials you should know before you start.

The first thing you will need, is, of course, a product or service that you can sell. If you do already have a shop, you can open a website that will sell the same products to a wider audience. The number of products you sell will be a big factor in the type of hosting package you require. For example, if you have less than 20 items, you could set the website up on a very small hosting account. If however you choose to list hundreds of products, you will probably need more disk space, more bandwidth, and more options like databases and a secure connection for accepting payments.

Since the crucial part of eCommerce is getting paid, let’s take a look at the many payment options offered. In fact, there are two basic options – gathering payment information directly or hiring a third-party service to process credit cards.

SSL (Secure Sockets Layer)

If you plan to get or already do have a merchant account which allows you to process credit cards you will need to have a web site with a secure connection. The secure connection provides a method to encrypt sensitive information so that it cannot be intercepted and read as it travels across the Internet. If you don’t have a secure connection (indicated by https at the start of the URL) customers won’t feel safe and this will reduce their chances of buying from you.

In order to get a secure connection, you will need to apply for an SSL (Secure Sockets Layer) certificate. These certificates are issued by companies such as Thawte which will ask you for some information which can be verified concerning your identity and location. Once you obtain the certificate it must be installed on your web site. For this you will need a unique IP address – available at an extra cost from most web hosts. You might have to pay an extra fee to get the certificate installed.

Third Party Gateways

If this option sounds too complicated, you can alternatively go with a third party service that will handle all the financial transactions for you. When they complete a sale, your customers will be redirected to the web site of the payment service where they can provide their credit card details. Some of these services might ask you for setup fees and charge you a commission for each sale, and some others (such as PayPal) charge nothing for the set up and simply ask for a percentage of each sale.

Shopping Carts

A shopping cart is a script which you can install in your hosting account. They can make the whole eCommerce experience more automatic by organizing your products into categories, creating pages that will describe the categories as well as individual items, allowing you to keep track of returning clients, and suggesting other items for the customer to buy before they check out. You can also make your customers rate the products they have just purchased from your shop.

Whilst providing a structure for your online business, shopping carts can provide a more satisfying shopping experience. Many hosting packages include free shopping cart scripts like Miva, Agora, osCommerce, and Zen. When you choose an eCommerce package, make sure it will support your chosen method of payment gateway. For instance, if you already have a merchant account with your local bank, use that as your basis for choosing a shopping cart which can support that particular method of payment.

Martin Redford is contributing editor at WebDesignArticles.net. This article may be reproduced provided that its complete content, links and author byline are kept intact and unchanged. No additional links permitted. Hyperlinks and/or URLs must remain both human clickable and search engine spiderable.

From The Server To The Web Browser: What Goes On?

Every time you click on a link in a web page or type a URL into your web browser you are in fact making a ‘request’ for a certain document. That request is carried out with the Hyper Text Transfer Protocol (HTTP) and sent over the Internet all the way to the server which is keeping the document in question. If everything goes well the server responds by sending the document, which is usually a web page of text and graphics.

The HTTP is part of the Internet Protocol(IP) suite. It is used by the ‘client’ which here is the web browser in order to create a connection with the server which hosts a website in particular. The server waits for incoming requests by monitoring TCP port 80.

Transmission Control Protocol (TCP) is used to produce connections between two computers on the Internet so that they can exchange data. TCP has provisions for identifying the requesting computer and also for transmitting information with time stamps so that it can be gathered again in the correct order once it arrives to its destination.

There are many standardized uses for TCP ports. For example, TCP port 21 is usually reserved for FTP (File Transfer Protocol) in order to upload and download files. Port 80 is usually employed for HTTP.

If your server gets a request string on TCP port 80 in the shape of GET / HTTP/1.1 it will send a response code which will depend on whether the requested web page is available or not. A classic request goes like this:

GET /faq.html HTTP/1.1
Host: http://www.mywebsite.com

This will be a request for http://www.mywebsite.com/faq.html. The ‘Host’ needs to be specified in order to distinguish websites which are hosted on shared servers. If faq.html is available the server will then reply:

HTTP/1.1 200 OK
Date: Mon, 12 October 2005 22:38:34 GMT
Server: Apache/1.3.27 (Unix)(Red-Hat/Linux)
Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT

…followed by the actual web page.

HTTP/1.1 200 OK signifies that the web page you requested is available. Other codes can also be returned. For example, the code 404, signifies that the server cannot find the page you requested. The web page is sent through TCP as a set of data packets with a header each that will specify its destination and order in the data stream. The various packets can all take on various routes in order to reach their target. Each packet is sent through a router which polls other routers which are near by. However, if a connection with the first router is unavailable, the data will be sent through another one.

As the data is received, the client (web browser) will send back an acknowledgement. This will ensure that all the packets are received within the right amount of time. If they aren’t, they will be re-transmitted by the server. TCP will also check that the data is not damaged. The data will be rearranged in the right order thanks to the sequence number of each data packet. And there you go! Then the web page appears on your computer screen.

Also, the TCP connection can be kept alive for further requests from the client. This will enable several pages to be requested within a short span of time without causing the overhead to open and close TCP ports. The client or the server can end the connection any time by just closing it.

J. M. Stevens is contributing editor at WebDesignArticles.net. This article may be reproduced provided that its complete content, links and author byline are kept intact and unchanged. No additional links permitted. Hyperlinks and/or URLs must remain both human clickable and search engine spiderable.