Importance of Webhosting

Web Hosting 1 Comment »

In todays world, each and every single person whether it is a businessman or a college student everybody wants to have a place in cyberspace, not just for their comfort  but to survive in todays world. Web hosting companies is the name that meets your hosting requirement and provides the massive growth to the society, it is  a kind of surrounding where people have their own cyberspace on the internet 24/7×365 days. Web hosting companies has developed a infrastructure where they could divide the location and lease this space, cutting the costs across many people sharing the so called “Server” and connection to the internet.

In this Web hosting business customers are offered a specific Disk space on their server where they can upload the files, folders and and a hosting account which they can access with their web browser.

Now the important part is to get a part of this Web hosting environment,  you will need to follow few terms and conditions for the rented space, just as we pay to a rented house once you get member of the hosting company you get access to the account using the login details that is user name and the password it is known as the key to access your account which permits you to connect the server and use all the function through so called Control panel “cpanel”.

Free Domain Registration and Transfer:: Webhosting.uk.com

Webhosting Uk 2 Comments »

Just now I have gone through webhosting.uk.com  & noticed that they are offering free domain as well as free domain transfer with their Shared and Reseller Hosting Plans.  There are many other features available with their hosting plans like:-

100% Network and power uptime guarantee.
24×7 support via Live chat, Helpdesk and Phone.
30 Days Money back guarantee
Free Migration (if applicable)
Assistance with Scripts Installation.
And many more features….

Apache Installation on Linux

Web Hosting Tutorials No Comments »

Apacahe is a very unique and the most popular web server which is used by different types of websites which is also called as Apache httpd .

Below are the installation steps for Apache. The user who is familiar with changing directories, using tar and gunzip, compiling and has root account of the server can easily install Apache

Installing Apache version 1.3.37

1) SSH to your server as root & download Apache 1.3.37 source from Apache httpd server website, http://httpd.apache.org/

# cd /usr/local/src
# wget http://httpd.apache.org/download.cgi

2) Extract the tar file.

# tar -zxvf apache1.3.tar.gz
# cd apache1.3

3) Now configure the source tree. We are installing apache at /usr/local/apache. Following will create a make file.

# ./configure –prefix=/usr/local/apache \
–enable-so \
–enable-cgi \
–enable-info \
–enable-rewrite \
–enable-speling \
–enable-usertrack \
–enable-deflate \
–enable-ssl \
–enable-mime-magic

You may only enable ‘-so‘. More information regarding the other options, you can try ./configure –help

Setting up Apache server.

1) With the above installation of apache the apache conf file is created at /usr/local/apache/conf/httpd.conf

1) If you want to run Apache on a different port to the default (80) then then change the number on line 280. Ports less than 1023 will require Apache to be started as root. Port 80 is probably the easiest to use since all other ports have to be specified explicitly in the web browser, eg: http://localhost:81.

Port 80

2) You may want to change the server admin email address on line 313:

ServerAdmin admin@example.com

3) Specify your machine name on line 331, you may just have to remove the # comment marker. If you configure virtual hosts as outlined below then Apache will use the virtual server you name here as the default documents for the site.

ServerName www.example.com

4) You should set the document root on line 338:

DocumentRoot /usr/local/apache/htdocs

5) And on line 363:

This should be changed to whatever you set DocumentRoot to.

6) The default file to serve in directories is index.html. You can change this or add new file names (in order or importance) on line 414.

DirectoryIndex index.html index.htm index.php

7) If you don’t get a large number of hits and you want to know where your visitors are from then turn host name look ups on at line 511. Turning this on does place extra load on your server as it has to look up the host name corresponding to the IP address of all your visitors.

HostnameLookups On

8) Apache Errorlog on line 520:

ErrorLog /usr/local/apache/logs/error_log

Setting Up Virtual Hosts:

1) Virtual Hosts in Apache enables the single Apache server to serve different web pages for different domains. Through Virtual Hosts we can configure how Apache should handle requests to each domain.

When any site or domain is browsed in a web browser, the browser sends the hostname of the server that it is connecting to, to the web server. All the HTTP request that come to the server (on the ports it was told to listen to) are caught by Apache. It checks the host name included in the request and uses that to determine the virtual host configuration it should utilize.

2) Whena request is received by Apache, it get following details:

Hostname: The domain name (eg. hostingcomments.com)
IP address: (eg. 10.10.10.1)
Port: (eg. 80)

During Apache configuration, we should mention each IP address and port combination for which we will be specifying virtual host domains, in the configuration file. So we should add the NameVirtualHost entry in the httpd.conf file:

NameVirtualHost 10.10.10.1:80

Please make sure the ipaddress that you use is configured on your machine.

3) Each virtual host will have its own directory for the web pages to be stored. This can be anywhere that the Apache web server has permission to read. For example, on a cPanel server the web pages are located at /home/username/public_html.
Now If we set a domain hostingcomments.com on the, its VirtualHost entry will be:

NameVirtualHost 10.10.10.1:80

ServerAlias www.hostingcomments.com
ServerAdmin webmaster@hostingcomments.com
DocumentRoot /home/hosting/public_html/
ServerName tmcnetwork.bayker.com
BytesLog domlogs/hostingcomments.com-bytes_log
CustomLog /usr/local/apache/domlogs/tmcnetwork.bayker.com combined

Running Apache:

1) apachectl is the easiest way to start and stop your server manually.

# cd /usr/local/apache/bin
# ./apachectl start

2) You can also copy the file /usr/local/apache/bin/httpd to /etc/init.d/ from where your can stop & start apache.

# /etc/init.d/httpd stop
# /etc/init.d/httpd start

4) Now make Apache from the above make file.

# make

5) If make is successful & goes without any error , install Apache

# make install

How to install roundcube on cPanel Server?

Cpanel Hosting, Web Hosting, Web Hosting Tutorials No Comments »

To install roundcube on a cPanel or Linux Server, you should know your MySQL root password. Replace your MySQL root password with Database Password.

If you have already used RoundCube installation before then make sure you have removed traces of it.

Follow the steps given below and remove any traces of it with,

cd /usr/local/cpanel/base
rm -rf roundcube*
mysql -p -e ‘drop database roundcube’;
chattr -i /usr/local/cpanel/base/frontend/x/webmaillogin.html
chattr -i /usr/local/cpanel/base/webmaillogin.cgi
/scripts/upcp

You will have to specify your root password when prompted.

Let us begin with installation

A) Download roundcube first from the given sourse and apply the proper permission to directories

cd /usr/local/cpanel/base
wget -O roundcube.tar.gz http://heanet.dl.sourceforge.net/sourceforge/roundcubemail/roundcubemail-0.1-rc1.tar.gz
tar -zxvf roundcube.tar.gz
rm -rf roundcube.tar.gz
mv -f roundcubemail-0.1-rc1 roundcube
cd roundcube
chmod -R 777 temp
chmod -R 777 logs

B) Create the database and install the intial sql file. The following commands will do this for you.
replace the mysql password in place of DATABASEPASSWORD

mysql -e “CREATE DATABASE roundcube;” -pDATABASEPASSWORD
mysql -e “use roundcube; source SQL/mysql.initial.sql;” -pDATABASEPASSWORD

C)Set the configuration as given below

cd config
mv db.inc.php.dist db.inc.php
mv main.inc.php.dist main.inc.php

Now open db.inc.php

nano db.inc.php

Find

$rcmail_config[’db_dsnw’] = ‘mysql://roundcube:pass@localhost/roundcubemail’;

Replace with

$rcmail_config[’db_dsnw’] = ‘mysql://root:DATABASEPASSWORD@localhost/roundcube’;

Now Open main.inc.php

nano main.inc.php

Find

$rcmail_config[’default_host’] = ‘’;

Replace with

$rcmail_config[’default_host’] = ‘localhost’;

D) Configure cPanel to show roundcube in the theme. Please note this is for the X theme(default) only!! If you use another theme please skip the next part and see below.

cd /usr/local/cpanel/base/roundcube/skins/default/images/
cp –reply=yes roundcube_logo.png /usr/local/cpanel/base/frontend/x/images/roundcube_logo.png
cp –reply=yes roundcube_logo.png /usr/local/cpanel/base/webmail/x/images/roundcube_logo.png
cd /usr/local/cpanel/base
wget http://www.hostgeekz.com/files/hostgeekz/HGpatch-roundcube-0.1-rc1
patch -p0


RoundCube——

***UPDATE***
Remember to chattr +i the files or add the patch to your /scripts/upcp.

chattr +i /usr/local/cpanel/base/frontend/x/webmaillogin.html
chattr +i /usr/local/cpanel/base/webmaillogin.cgi

That’s it! You may now access roundcube via http://domainname/webmail

By hostingcomments.com

MySQL Admin Commands and MySQl Administration

Web Hosting, Web Hosting Tutorials No Comments »
MySQL Admin Commands:* Statistics: [prompt]$ mysqladmin version
* List database environment: [prompt]$ mysqladmin variables
* Show if database is running: [prompt]$ mysqladmin ping
* Show databases available:[prompt]$ mysqlshow

OR

mysql> SHOW DATABASES;

* Delete database: mysql> drop database databasename;
* Show list of active threads in server:

[prompt]$ mysqladmin -h localhost -u root -p processlist

* Delete a database: [prompt]$ mysqladmin drop database-name
* Execute SQL from Linux command line interface:
[prompt]$ mysql -h localhost -u root -p -e “select host,db,user from db” mysql
* Execute SQL command file from Linux command line interface:

[prompt]$ mysql -h localhost -u root -p database-name

By hostingcomments.com

Setting UP Hostname For The Web Server….

Web Hosting, Web Hosting Tutorials No Comments »

This is for those who want to set up a hostname on their VPS or Dedicated Server. The Hostname should be FQDN- Fully Qualified Domain Name. The hostname is your server’s name that you want to set. Always set the hostname with the domain name that you own. Follow these steps:-

a.http://IP/whm edit dns zone .. select your domain

server IN A YourSeverIPHere
www.server IN A YourSeverIPHere
OR
if you are using shell then you can simply append following lines there in
# vi /var/named/domain.com.db

server IN A YourSeverIPHere
www.server IN A YourSeverIPHere

Save the file
#service named reload
#rndc reload domain.com

b.WHM >> Basic cPanel/WHM Setup >> Hostname

or
Login to shell /server as a root and fire this command the second parameter will the hostname that you want to set.
hostname server.domain.com

c.Check /etc/hosts file that it is set properly.

You need to add there

87.117.200.71(ex.IP) server.mydomain.com server

server.mydomain.com is the hostname for this VPS then must add above live there, modify there as per your requirement.

Just confirm that you have set that properly because changing the hostname will affect few services on your server if you have not done that properly or have done any spelling mistake while setting hostname of your server.

d.Fire hostname on your server if it shows the hostname then you have set it properly. Its done now.

by hostingcomments.com

How to Disable Telnet on Web Server?

Web Hosting, Web Hosting Tutorials No Comments »

Enabling telnet is of great security risk to web server. It should be turned off to avoid further problems. Telnet sends clear text passwords and user names trough logins and therefore it should be disabled on servers and replaced with SSH. TELNET server listens for incoming messages on port 23, and sends outgoing messages to port 23

Follow the steps given below to disable the telnet on server.

a. Login to your server through SSH and su to root.

b. Type pico /etc/xinetd.d/telnet

c. Look for the line: disable = no and replace with disable = yes

d. Now restart the inetd service: /etc/rc.d/init.d/xinetd restart

e. Turn off it through chkconfig as well because it can still start through that.
/sbin/chkconfig telnet off

f. Scan your server to ensure port 23 is closed.
nmap -sT -O localhost
Also run ps -aux | grep telnet and if you find anything other than “grep telnet” as result kill the process.

by hostingcomments.com

Ways to list the content of a tar file

Web Hosting, Web Hosting Tutorials No Comments »

You need to list the contents of a tar or tar.gz file on screen before extracting the all files.

Task: List the contents of a tar file

Use the following command:
$ tar -tvf file.tar
Task: List the contents of a tar.gz file

Use the following command:
$ tar -ztvf file.tar.gz
Task: List the contents of a tar.bz2 file

Use the following command:
$ tar -jtvf file.tar.bz2

by hostingcomments.com

Importace of RAID..

Web Hosting, Web Hosting Tutorials No Comments »

What is RAID?

RAID stands for Redundant Array of Inexpensive Disks. It was developed to link a large number of low cost hard drives to form a single large capacity storage device which can overcome old storage solutions in case of reliablity , storage capacity and performance. This is most widely used service for storage in enterprise and server markets.

Three main advantages of RAID

* Redundancy
* Increased Performance
* Lower Costs

The most vital factor in the development of RAID for server environment is Redundancy. This offers backup of data in storage array in the event of failure. If their is a failure in one of the hard drives,it can be swapped for a new hard drive without turning the systems off or even the redundant drive could be used. Redundancy mainly depends on the version of RAID used.

The performance can be noticed mainly when the specific versions of the RAID are used. Performance will also depend upon the number of hard drive used in the array and the controller.

Low cost is the main concern in all major IT departments. Cost was also the key issue when the RAID standards were developed. As compared to individual capacity hard drives ,RAID array is used to provide greater storage capacity for a system. Price differences between the highest capacity hard drives and lower capacity drivesare are the good examples of it.
Three drives of smaller capacity costs less than an individual high-capacity drive but provide more capacity.

Three typical forms of RAID use for desktop computer systems are RAID 0, RAID1 and RAID5. RAID 0, RAID 1 versions are available and one of the two technically is not a form of RAID.

RAID provides variety of benefits for systems which depends upon the version implemented. Most users like to use RAID0 to increase the performance and to avoid loss of storage space. This is mainly because redundancy is not an issue for the average user. Most computer systems will only offer either RAID 0 or 1. The costs of implementing a RAID 0+1 or RAID 5 system generally are too expensive for the average user and are only found in high-end workstation or server level systems.

Business Hosting plan :: 100% Uptime Guarantee !

eUkhost No Comments »

eUKhost has implemented Mirroring Solution to offer a hosting plan with 100% uptime Guarantee. This new Shared Hosting plan for Corporate customers has started from 1st July 2007.

Specifications of this plan :-
Space = 3GB
Bandwidth = 100 GB
Addon Domains = 5
Parked domains = 10
MySQL Databases = Unlimited
Allowed Mailboxes = 100
Allowed Subdomains = 100
Uptime Guarantee = 100%
Monthly Cost = £19.99
Visit here for more info-

http://www.eukhost.com/business-web-hosting.php


WordPress Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in