Web hosting and its types


When you want to make your website online then you have to choose a website hosting company which is the important way of making your website online on the internet. This is basically one of the most important factors for a website’s success. There are different packages that a web hosting company offers to its clients and the clients have to choose according to the website’s traffic and what all kind of user’s are going to visit your website.

As the web industry is growing at large and there are lots of opportunities for users. Reseller and cloud hosting are the two most famous hosting plans that are creating a boom in the industry.

Reseller hosting is one of the simplest hosting plan that enables the user to earn money. In this the user is given the permission to further resell its web space to other users. Once the user has decided he has the ability to set his own hosting prices and sell it according to what the user has asked him and the set the plan according to what are the requirements of that particular user. The important part of this plan is that there is no issue on the technical aspects that means there is not much understanding needed for the technical issues. In this all the management is done by the main web host.

Cloud hosting is the latest plan that is present in the web hosting industry. In this the user has the processing power on a number of interconnected servers. The user only has to pay for the resources that he is using very often. The user has the power to access the bandwidth, memory and processing power. Cloud server offers maximum level of security using firewall guard and inaccessible disk space. These servers are usually suitable for business seeking for better performance without high costs.

Windows and Linux are the most commonly used operating systems used today. Most of the hosting companies offer windows hosting, Linux hosting and java hosting plans to its customers.

Smarty framework


Smarty, the name is new over the internet web, but in short time Smarty has gained lots of fame across the internet. Smarty is a basically web template system and its entirely written in PHP. Smarty is also known as PHP Smarty and it’s a frame work and widely exploited to create dynamic web scripts and web pages as per one needs and desires. A collection that enables the construction of HTML templates which are used in PHP scripts to decrease the efforts getting in the procedure of web page design.

It is an open source framework, which allows one to build favorite web scripts, web forms and web pages. Smarty lets anyone to generate PHP web sites and web pages with easy to use and most affordable attribute. We should use Smarty because it’s free so one can download it free of cost, it’s a free so you cam amaze that its development cost is zero is you are developer and if you are not then also you can save lots of resource on your development project because it helps you to reduce al your resources and efforts.

It is a kind of web template engine for PHP which offers separation of HTML and CSS from code. It is mainly used to separate php code and the design template so that developers can easily change coding.

Features of Smarty framework are as follows:

  • Control flow statements (for each statement),
  • Conditional statements (if, if-else, else if),
  • Variable modifiers,
  • Functions,
  • Output filters,
  • We can also generate modifiers/functions,
  • Caching of pages can also be done.

It helps in building text and content with the help of smarty tags within a web page. These tags are routed with additional code. Tags contain the information for Smarty that is surrounded by templates. Smarty enables PHP developers to identify custom functions that can be used with the help of Smarty tags.

Importance of Directory Submission


Directory submission is one of the best strategies to get popularity to your site by submitting your hyperlink to the list of service providers. It is like submitting your website to yellow pages like web directories from where you can get clients for your website. It is basically a link building process which involves submission of links to a web directory. It increases your site visibility. It also helps in getting back links to your web site.

Directory submission will increase your site visibility on the major search engines and return it will help to increase your web traffic. It creates back links for your web site and the more back links you get the high will be your rank in the search engines. Many search engines do crawling through directories and when you have links submitted to the directories you can find spiders reaching your website with the help of these links and helps in indexing of your website.

With the help of directory submission you will be able to get your targeted audience and will give a lot of profit to your company and also helps to increase your web site traffic.

Directory submission is done in two ways: Automatic and manual submission. Basically we prefer the manual submission first because when the submission is done manually the service provider weighs the condition and then act accordingly. In this we can submit a limited amount of directories everyday which helps in proper uploading and better targeted submission.

There are three types if directories in which we can submit:

Paid: For listing these we need to pay.

Niche: It helps in providing a link from related niche with relevant content.

Free: Web administrators do not charge for listing in these directories.

Benefits of Directory Submission are:

  • Helps in increasing the back links.
  • Increases the chance of being indexed by search engines.
  • Increase the web traffic.
  • If anchor text is applied then it helps to create a hyperlink for your web site.
  • With the help of directory submission we can also exchange links with other websites for gaining the popularity in the market.

Add-on Pricing


Please look below for additional add-on pricing. (This pricing is valid for Virtual Servers, Shared Hosting and Reseller Hosting Accounts.

Prices are only for accounts that do not already include the price in the package
Add-on Features Set-up fee Monthly fee
Data Transfer $0 $1.00/GB
Disk Space $0 $1.00/GB
Mail Quota $0 $1.00/mb
Domain Registration $0 $14.95
Additional Domains $0 $0.00
SubDomain $0.00 $0.00
Third Level Domain $0.00 $0.00
Stop Gap Domain $0.00 $0.00
Domain Alias $0.00 $0
Parked Domain $0 $0
CGI Resource $0.00 $0.00
cgi-bin Resource $0.00 $0.00
FrontPage $0 $0
Server Side Include $0.00 $0.00
PHP Module $0.00 $0.00
E-Mail Box $0.00 $1.00/15 boxes/mon.
Mailing List $0.00 $10.00
SSL Module $10.00 $5.00
Shared SSL $10.00 $5.00
MIVA Resource $50.00 $30.00
MySQL Database $10.00 $5.00
Anonymous FTP Server $10.00 $5.00
IP Address $0 $2.00/ip

SITE CREATION


A website, also written as Web site, or simply site, is a set of related WebPages containing content, including text, video, music, audio, images, etc. A website is hosted on at least one web server, accessible via a network such as the Internet or a private local area network through an Internet address known as a Uniform Resource Locator. All publicly accessible websites collectively constitute the World Wide Web.

Website builders are tools that allow the construction of websites without manual code editing. They fall into two categories: on-line proprietary tools provided by web hosting companies, typically intended for users to build their private site; and software which runs on a computer, creating pages off-line and which can then publish these pages on any host.
Later software was written to help design web pages and by 1998 Dreamweaver had been established as the industry leader; however some have criticized the quality of the code produced by such software as being overblown and reliant on tables. As the industry moved towards W3C standards, Dreamweaver and others were criticized for not being compliant. Compliance has improved over time, but many professionals still prefer to write optimized markup by hand.
A website contains webpage; a webpage is a document, typically written in plain text interspersed with formatting instructions of Hypertext Markup Language (HTML, XHTML). A webpage may incorporate elements from other websites with suitable markup anchors.
WebPages are accessed and transported with the Hypertext Transfer Protocol (HTTP), which may optionally employ encryption (HTTP Secure, HTTPS) to provide security and privacy for the user of the webpage content. The user’s application, often a web browser, renders the page content according to its HTML markup instructions onto a display terminal.
The pages of a website can usually be accessed from a simple Uniform Resource Locator (URL) called the homepage. The URLs of the pages organize them into a hierarchy, although hyper linking between them conveys the reader’s perceived site structure and guides the reader’s navigation of the site.
Some websites require a subscription to access some or all of their content. Examples of subscription websites include many business sites, parts of news websites, academic journal websites, gaming websites, file-sharing websites, message boards, web-based email, social networking websites, websites providing real-time stock market data, and websites providing various other services.
Many web hosting companies and domain sellers offer website builder programs and templates in their packages. If you use the website builder provided by your web host, be sure to try out the many different templates offered so you can more effectively relay your web page’s image to your viewers.

Upload your files using a FTP


Most graphical operating systems have a browser installed by default. The basic idea is to first establish a connection with server and your computer and then upload the files.

  1. Open your web browser and enter ftp://username@domainname.com in the address bar.
  2. You will be prompted to enter the password for this account
  3. Once you successfully login you will see a listing of the files in your website on server.
  4. You can now drag files from your local computer into this folder to upload files to server or drag files from this folder to your local computer to download files off your website.

If you require a different home page name (called a “default document”), you can update it through the Control Panel or technical support person accommodate your needs. Please let it know what name you require. In most cases it is easier to rename your home page to one of the documents above. Please note that some file names (such as .asp and .shtml) are reserved for specific types of web applications. If you are unsure of which file extension to use, you can probably safely use .htm or .html.

Also, these documents carry an “order of precedence” as they are listed above. For example, if you have both an index.html file and a default.html file, the index.html file will show up when viewing your site with the domain name or IP address.

INTERNET SPACE


In computing, an internet space defines a range of discrete addresses, each of which may correspond to a network host.
Internet spaces are created by combining enough uniquely identified qualifiers to make an address unambiguous. Components of an internet space may be the same but unless all are identical, the locations will be different.
An internet space usually provides (or allows) a partitioning to several regions according to mathematical structure it has. Some nested domains hierarchy appears in the case of directed ordered tree as for the Domain Name System or a directory structure. In the Internet the Internet Assigned Numbers Authority (IANA) allocates ranges of IP addresses to various registries in order to enable them to each manage their parts of the global Internet address space.
The user-friendly interface of the Internet is based on a multi-layer global network system connecting hundreds of millions of computers worldwide. This system is comprised of multiple local and global networks serving private, public, business, academic and government purposes.
The Uniform resource locator, popular as URL, is the global web address of documents, including web pages or image files, and programs such as Java applets. It is aimed at identifying the location of a document or a program available on the web and specifies the mechanism for accessing it through a web browser.
Internet addresses can be linked to the objects, and the final scenes can be published on the Web. Internet space is used to upload your website on the internet or in simple words we can say that if a person or company wants his website to be accessed on the internet then he or she has to buy internet space on the internet this is called IP address and is unique for all.
Uses of addresses include, but are not limited to the following:
* Various kinds of network host addresses in computer networks;
* Uniform resource locators in the Internet.
Another common feature of internet spaces is mapping and translation, often forming numerous layers. This usually means that some higher-level address must be translated to lower-level ones in some way.
The Domain Name System maps its names to (and from) network-specific addresses (usually IP addresses), which in turn may be mapped to link layer network addresses via Address Resolution Protocol. Also, network address translation may occur on the edge of different IP spaces, such as a local area network and the Internet

Fatal error: Allowed memory size of 33554432 bytes exhausted


It sounds like maybe the PDO extension isn’t installed in your PHP.

Run phpinfo on your server to see if you have PDO enable, if so add this in your php.ini if you are on shared hosting. This solve my problem on my side !

  • create a blank file in your drupal or server root named ‘phpinfo.php’
  • add the following code into the file

<?php
phpinfo();
?>

  • go to the file via a browser, e.g. yoursite.com/phpinfo.php
  • look (ctrl/cmd + F) for the ‘Configuration File (php.ini) Path’, you’ll find the location of your php.ini file there

If you are unable to acces this through FTP/cPanel/…, create a file named php.ini in your drupal root folder and add the following lines of code:

extension=”pdo.so”
extension=”pdo_mysql.so”
upload_max_filesize = 10M
post_max_size =64M
memory_limit = 64M
upload_tmp_dir = 64M
max_execution_time = 128


Note : that you may want to tweak these values depending on your needs.

WEB PAGES


A web page is a document or information resource that is suitable for the World Wide Web and can be accessed through a web browser and displayed on a monitor or mobile device. This information is usually in HTML or XHTML format, and may provide navigation to other web pages via hypertext links. Web pages frequently subsume other resources such as style sheets, scripts and images into their final presentation.

Web pages may be retrieved from a local computer or from a remote web server. The web server may restrict access only to a private network, e.g. a corporate intranet, or it may publish pages on the World Wide Web. Web pages are requested and served from web servers using Hypertext Transfer Protocol (HTTP).

Web pages may consist of files of static text and other content stored within the web server’s file system (static web pages), or may be constructed by server-side software when they are requested (dynamic web pages). Client-side scripting can make web pages more responsive to user input once on the client browser.

Web pages usually include information as to the colors of text and backgrounds and very often also contain links to images and sometimes other types of media to be included in the final view. Layout, typographic and color-scheme information is provided by Cascading Style Sheet (CSS) instructions, which can either be embedded in the HTML or can be provided by a separate file, which is referenced from within the HTML. The latter case is especially relevant where one lengthy style sheet is relevant to a whole website: due to the way HTTP works, the browser will only download it once from the web server and use the cached copy for the whole site. Images are stored on the web server as separate files, but again HTTP allows for the fact that once a web page is downloaded to a browser, it is quite likely that related files such as images and style sheets will be requested as it is processed. Web browsers usually render images along with the text and other material on the displayed web page.

A web page, as an information set, can contain numerous types of information, which is able to be seen, heard or interact by the end user.
Information provided:

      • Textual information: with diverse render variations.
      • Non-textual information:
        1. Static images may be raster graphics, typically GIF, JPEG or PNG; or vector formats such as SVG or Flash.
        2. Animated images typically Animated GIF and SVG, but also may be Flash, Shockwave, or Java applet.
        3. Audio, typically MP3, or various proprietary formats.
        4. Video, WMV, RM, FLV, MPG, MOV.
      • Interactive information.
        1. Interactive text.
        2. Interactive illustrations: ranging from “click to play” images to games, typically using script orchestration, Flash, Java applets, SVG, or Shockwave.
        3. Buttons: forms providing alternative interface, typically for use with script orchestration and DHTML.
        4. Hyperlinks: standard “change page” reactivity.
        5. Forms: providing more interaction with the server and server-side databases.
      • Internal (hidden) information:
        1. Comments
        2. Linked Files through Hyperlink.
        3. Metadata with semantic meta-information, Charset information, Document Type Definition (DTD), etc.
        4. Diagramation and style information: information about rendered items (like image size attributes) and visual specifications, as Cascading Style Sheets (CSS).
        5. Scripts, usually JavaScript, complement interactivity and functionality.

When creating a web page, it is important to ensure it conforms to the World Wide Web Consortium (W3C) standards for HTML, CSS, XML and other standards. The W3C standards are in place to ensure all browsers which conform to their standards can display identical content without any special consideration for proprietary rendering techniques. A properly coded web page is going to be accessible to many different browsers old and new alike, display resolutions, as well as those users with audio or visual impairments.

SHARED WEB HOSTING


A shared web hosting service or virtual hosting service or derive host refers to a web hosting service where many websites reside on one web server connected to the Internet. Each site has its own section/place on the server, to keep it separate from other sites. This is generally the most economical option for hosting, as many people share the overall cost of server maintenance.
In general shared hosting will be inappropriate for users who require extensive software development outside what the hosting provider supports. Almost all applications intended to be on a standard web server work fine with a shared web hosting service. But on the other hand, shared hosting is cheaper than other types of hosting such as dedicated server hosting. Shared hosting usually has usage limits and hosting providers should have extensive reliability features in place.
Shared hosting typically uses a web-based control panel system, such as cPanel, Plesk, H-Sphere or one of many other control panel products. Most of the large hosting companies use their own custom developed control panel.
In shared hosting, the provider is generally responsible for managing servers, installing server software, security updates, technical support, and other aspects of the service. Most servers are based on the Linux operating system and LAMP (software bundle), which is driven by the reliability and security of open source software such as Linux and Apache. Some providers offer Microsoft Windows-based or FreeBSD-based solutions but both have same functionality.
There are thousands of shared hosting providers. They range from small design firms to multi-million-dollar providers with hundreds of thousands of customers. A large portion of the shared web hosting market is driven through pay per click advertising or Affiliate programs.
Shared web hosting can also be done privately by sharing the cost of running a server in a colocation centre; this is called cooperative hosting.

Shared hosting is of two types name-based and IP-based

In IP-based virtual hosting, also called dedicated IP hosting, each virtual host has a different IP address. The web server is configured with multiple physical network interfaces, or virtual network interfaces on the same physical interface. The web server software uses the IP address the client connects to in order to determine which web site to show the user.
In name-based virtual hosting, also called shared IP hosting, the virtual hosts serve multiple hostnames on a single machine with a single IP address. This is possible because when a web browser requests a resource from a web server using HTTP/1.1 it includes the requested hostname as part of the request. The server uses this information to determine which web site to show the user.
One of the most obvious setbacks of shared hosting is the price factor. Since it is very cheap, many people will not care about the disadvantages on their websites and they will want to bandwagon into these services. Due to large number of people using the services, the amount of resources that may be made available to individual users is usually limited. If one of the peer sites is using excessive amounts of the server resources, you will be facing trouble in terms of usage of your own website.
Another problem that is associated with shared hosting is the sharing of IP addresses. If you share an IP address with a company that has experienced some trouble with internet search providers, your website will also be automatically disqualified from the services of the search providers. The customer service that is provided by the companies providing the shared hosting services will also be wanton. This is because most of the companies will place greater emphasis on clients who opt for managed or individual hosting. This is because most of these clients bring in larger amounts of money and will naturally have priority.
Shared hosting plans are generally the easiest and most economical for personal and small business websites. A lot of e-commerce sites, blogs, professional portfolios, and other small sites are hosted on shared hosting.