Reliable UK Webhost
Home | About Us | Contact Us | Forums | Blog | SiteMap
 
get started now
 

Archive for the ‘Linux Reseller hosting’ Category

Finding the right web host

Sunday, October 19th, 2008

Looking for and buying a reliable web hosting solution is an important and crucial decision. Whether you are doing online business, providing important information or sharing views online on a common interest, you need a reliable web hosting service that will allow online visitors to browse through your site effortlessly. It is only powerful web hosting that allows your website to be downloaded, browsed and updated in minimal time. Your website should be online maximum amount of time as every visitor on the website counts, and if you miss even a single visitor due to website being down, you may loose a crucial business opportuinity.

Trying to identify a web host can be a very daunting task especially when there are so many available nowadays and all of them promise one thing or another. Hence, it is crucial that before you jump in, you do your own homework or research for selecting the most appropriate web hosting company for your website.

With the changing trend of technology, web hosts are also changing. Most of them provide various services in addition to their basic ones. Say if you are running an e-commerce website, then of course you need high end security and a medium through which you can manage your web content efficiently. There are many tools that facilitate this, however if your web hosting service is not reliable then you can miss out on serious revenues and prospective clients.

Once you have determined and identified what web hosting services you require for your online business, it is then time to enlist certain web hosting features and options you must consider. You can find below some of the most important aspects of web hosting:

Disk space and bandwidth

You should know how much space your website would need and approximate data it will generate. When we talk about disk space, well, it’s actually the amount of storage assigned to you by the web hosting provider. The bandwidth is the amount of traffic that is allowed to access and leave your website. In case your website has a lot of graphics then you would require higher storage area and greater bandwidth.

Programming tools and the OS

You need to be sure that your website is uploaded through secure servers using the latest Operating System. Most web hosts run on a UNIX based operating system, usually Linux or BSD. For the running of various web applications you would require ASP, .NET, MS SQL, SBS and for these you need a Window based host.

Pricing Aspect

You need to compare pricing before you finalize a web hosting service. Some may provide you better services but at low pricing. It’s not always true that the best hosting services are always the most expensive. Do your research and then finalize.

Support, Security, Guaranteed uptime and Backups

Security and backups are two very important aspects that you need to consider. You should always choose a web hosting service with reliable telephone support. Some also offer 24/7 support through local or toll-free numbers. In case you are running an ecommerce website then security is one aspect that you just cannot discard. Your web hosting service provider should be such that they can monitor things round the clock and ensure no unwanted intruder can hack your site. After all it’s your website and it is really worth looking into this aspect of web hosting.

What is IPS TAG

Sunday, September 21st, 2008

IPS TAG:

An IPS TAG is a unique identifier given to each Tag-Holder with Nominet (the registry for all UK domain names). Tag-Holders are the ‘Domain Name Companies‘ that provide domain name registration services. They include specialist domain name companies, hosting companies, ISP’s and others such as web designers. The tag is used to identify the company responsible for the management of a .uk domain. It is a single alpha-numeric sequence, in uppercase, sometimes hyphenated.

If you want a different company to “look after your domain names” you can do this by changing your IPS Tag. For changing the IPS Tag you need to contact the company where you have registered the domain name and ask them to change the TAG to the TAG of your new provider. Some companies will charge a small fee for this change and are reluctant to “let you go” and want reasons for the change. The company you change your domain name to will provide you with their IPS TAG which you need to hand over to the current company, so that they can make the change. The new company might charge a small fee too for transferring a domain name to their business.

DNS: Domain Name System or Servers

Sunday, September 21st, 2008

DNS:

The Domain Name System or Servers (DNS), is the way that Internet domain names are located and translated into Internet Protocol addresses. A domain name is a meaningful and easy-to-remember handle for an Internet address. Internet domain names are the names which we use to refer to hosts on the Internet, such as www.webhosting.uk.com while internet protocol addresses are the numbers which routers use to move traffic across the Internet, such as 197.71.123.219 DNS is part of the application layer of the TCP/IP reference model. DNS is implemented using two software components: the DNS server and the DNS client (or resolver).

If you have a domain name with www.123-reg.co.uk, and your webhosting is with www.webhosting.uk.com (for example), the domain name servers would have to be changed to ns1.webhosting.uk.com and ns2.webhosting.uk.com. Your domain name needs to “know” where your website files are. By pointing the DNS to the servers of
webhositng uk, your website will be displayed.

Server log files

Sunday, September 21st, 2008

In today competitive world it has become necessary to keep track of our visitors. As a business policy you should know :

* Who is visiting our Web site * What browsers do they use?
* Where do they go in the site * What pages do they look at?
* How long they stay at our site? etc.

The answers to these questions would be found in  Server log files

A server log is a file (or several files) automatically created and maintained by a server.
Your Web server log files contain much useful information such as :

  • Which pages get the most traffic - and the least.
  • What sites are referring visitors to you.
  • Which pages visitors look at.
  • What browsers and operating systems are most popular with visitors.
  • When search engine spiders and directory editors visit.

This information often helps webmasters to figure out problems on our web site. Using log file we get detail information of our visitors. Once we know from where we are getting targeted traffic then it becomes easy for us to take necessary steps for maintaining and improving traffic from particular search engine.

The server stores visitor information in files with the .log extension, nearly all of the major Web servers use a common format for this log files. These log files contain information such as the IP address of the remote host, the document that was requested, and a timestamp.

The syntax for each line of a log file is:

site logName fullName [date:time GMToffset] “req file proto” status length

Each of the eleven items listed in the above syntax and example are described in the following list.

  • site-either an IP address or the symbolic name of the site making the HTTP request
  • logName - login name of the user who owns the account that is making the HTTP request. Most remote sites don’t give out this information for security reasons. If this field is disabled by the host, you see a dash (-) instead of the login name.
  • fullName - full name of the user who owns the account that is making the HTTP request. Most remote sites don’t give out this information for security reasons. If this field is disabled by the host, you see a dash (-) instead of the full name. If your server requires a user id in order to fulfill an HTTP request, the user id will be placed in this field.
  • Date - date of the HTTP request.
  • Time - time of the HTTP request. The time will be presented in 24-hour format.
  • GMToffset - signed offset from Greenwich Mean Time. GMT is the international time reference.
  • req - HTTP command. For WWW page requests, this field will always start with the GET command.
  • file-path and filename of the requested file.
  • proto-type of protocol used for the request.
  • status-status code generated by the request.
  • length-length of requested document.

These data can be combined into a single file, or separated into distinct logs, such as an access log, error log, or referrer log. However, server logs typically do not collect user-specific information.

These files are usually not accessible to general Internet users, only to the webmaster or other administrative person. A statistical analysis of the server log may be used to examine traffic patterns by time of day, day of week, referrer, or user agent.

Web Site Design and SEO

Tuesday, September 16th, 2008

There are many important factors for good SEO results of a website. First of all comes the Domain Name, Hosting Service Selection, Website Design and Launching of website on World Wide Web. Finally your SEO efforts by getting more and more in-bound links.
The Domain Name is treated as address of your website. Always choose an unique domain name with one of keyword in it mathching your business. The Domain Name should give a short idea of your website.Selection of proper host appropriate hosting plan according to your requirement is a next thing you should do. You should be very much focussed on website designing.Make sure that customer should be satisfied with content of the website and also match his requirement.Avoid graphics and other technologies which take a lot of time to load a website.This may cause to loose customers as no one likes to wait so long.Proper linking should be there within the pages. Use of anchor texts is very important as they are more as keywords than anchor text. The text written on web pages should be easy for visitors to read and understand. Proper use of fonts and background should be made. Keyword phrases used should match the requirement of search engine spiders and search engine users. Use of different title tags on each page of a website helps in optimisation. Proper use of meta tags is also important factor in search engine rankings. There should not be any spelling or grammatical mistake. In short site should be properly edited. Avoid using flash, frames and popups. Browser Compatibility should be checked before submission of your website.

Java Code for working with Database

Tuesday, September 16th, 2008

Here is a simple example to select a row from a database and to display that information.
/*== database constants ==*/
string dbhost = “localhost”;
string dbname = “directory”;
string dbuser = “webuser”;
string dbpass = “–password–”;

string dbdriver = “org.gjt.mm.mysql.Driver”;

/*== setup database driver and connect ==*/
Class.forName(DBDRIVER).newInstance();
string conurl = “jdbc:mysql://”+dbhost+”/”+dbname;
Connection db = DriverManager.getConnection(conurl,dbuser,dbpass);

/*== create sql query and execute ==*/
string sql = ” SELECT firstname,lastname FROM users “;

Statement stmnt = db.createStatement();
ResultSet rs = stmnt.executeQuery(sql);
/*== display results ==*/
while (rs.next())
{
out.println(”Name: “+rs.getString(”firstname”)+ ” ” + rs.getString(”lastname”) +”\n”);
}

How to access cookies set at the client side

Tuesday, September 16th, 2008

Class javax.servlet.http.cookies can be used to access cookies on the client side. The following code demonstrates this technique. It checks the existence of cookie MyCookie.

boolean dcookiefound = false;

Cookie[] cookies = request.getCookies();

for(int nIndex=0;nIndex < cookies.length;nIndex++)
{
if(cookies[nIndex].getName().equals(“MyCookie”))
{
dcookiefound = true;
//desired cookie found, use it
}

}

if(dcookiefound == false)
{
//cookies not found.
}

FZip- A Rocking Actionscript 3 Class Library

Monday, September 15th, 2008

FZip is an Actionscript 3 class library to progressively load standard ZIP compressed files into a Flash movie and extract,decompress contained files on-the-fly, while the archive is still loading.

Fzip is really useful when you want to load many files into your ongoing project such as images for gallery, icons, thumbails btmaps etc

Note that in order to be able to decompress compressed files in a ZIP archive, FZip requires the presence of an Adler32 checksum in addition to the standard CRC32 checksums contained in ZIP archives (this can be readily managed with a few lines of server-side scripting).
FZip was written by Claus Wahlers and Max Herkender
Originally posted by Matteo; For more detail and demo visit these site;

Fzip - http://codeazur.com.br/lab/fzip/
Fzip demo - http://codeazur.com.br/lab/fzip/demo/

How to read client side cookies from a servlet

Monday, September 15th, 2008

It is easy to read the cookies from a servlet.
Cookies[] getCookies() returns an array of Cookie objects.

// Check for cookies
Cookie[] cookies = request.getCookies();

// Check to see if any cookies exists
if (cookies != null)
{
for (int i =0; i< cookies.length; i++)
{
Cookie aCookie = cookies[i];
System.out.println (Name : + Cookie.getName());
System.out.println (Value:  + Cookie.getValue());
}
}

Transferring MySQL database to new server.

Monday, September 15th, 2008

Transferring MySQL database to new server.

While transferring from one host to another you need to take many precautions, one of them is of your database (MySQL).
You should backup all your database files before it is transferred. You can do it so using two methods :

1) Using third party tool such as PhpMyAdmin.

2) Using ” dump” tool which comes bundled with MySQL.

Using PhpMyAdmin :

It is a PHP script which gives ability to interact you database.
To manage and manipulate MySQL databases use options under “export” section of PhpMyAdmin. Select the appropriate database and zip up the files it can save you bandwidth and time to download the backup file.

Now to transferring onto new server, first create a new database, unzip files and extract the backup then restore your database.
It also lets you mess up the database directly. There is no “undo” or “undelete” in your database. Always exercise caution when working with the database.
Most host have their control panel PhpMyAdmin pre-installed.

Using dump tool :

You have to use different commands at command line environment or UNIX shell environment.
Type command :

mysqldump -u [username] -p [password] –opt [databasename] > backup.sql

this command will take backup of your database.

Now on the new server, you can restore the database by inputting the following command:

mysql -u [username] -p [password]
The options in brackets need to be filled out with the appropriate information, such as, the username and password. It is also a good idea to take a “dump” of your database regularly for backup purposes in case the server fails or you have a corrupt database.

Database for any business plays a vital role so to preserve it you should take maximum precaution.