Archive

Archive for August, 2009

How to disable Horde, or other webmail applications.

August 30th, 2009 harry No comments

**** Use coupon whukharry to avail a great discount of 10% on every order you placed at http://www.webhosting.uk.com/

For some reason if you want to disable Horde, or other webmail applications for user accounts who don’t want to use them.
You can follow the steps given below :

For eg.. if you want to disable Horde, neomail and want to enable just Squirrelmail for a user with username is mark, then you will have to SSH into your linux dedicated server as root, use your favorite editor vi, and edit the file:  /var/cpanel/users/mark

As we want to disable all webmail applications and just want to enable squirrelmail, you will have to add following lines:


skiphorde=1
skipsqmail=0
skipneomail=1

save the file and restart cPanel, using following command :
/etc/init.d/cpanel restart

Once you fire above command only squirrelmail would be enable for that particular user.
Now, when the user mark logs into webmail, he will get Squirrelmail as default webmail application and other two option would be disable for him.
You should have root access to your server if you want to set such feature for your users.

diable-webmail How to disable Horde, or other webmail applications.


Enable cPanel backups in WHM

August 27th, 2009 harry No comments

**** Use coupon whukharry to avail a great discount of 10% on every order you placed at http://www.webhosting.uk.com/

WHM/cPanel control panel is god gift for webmaster who use linux based dedicated servers.
cPanel seems to be the most popular and widely used control panel. You can easily manage all your hosting accounts you have setup on your server. It also have some built in functions to assist in creating and managing account backups. These backups are done on an account level basis. You can follow the steps to enable such account level backups :-

- Log into WHM for your server
- Click on the Backup icon

whm-backup Enable cPanel backups in WHM

whm-backup1 Enable cPanel backups in WHM

On this page the frequency that backups run can be configured. For dedicated servers its better to keep all three available intervals.

whm-backup-configuration1 Enable cPanel backups in WHM

UK Dedicated Server Hosting

*It is important to note that each time backups run they remove the older instance of that backups interval. Simply put, if backups are running nightly, every night the prior days backups will be removed after that days backups are created.**

Solving Fantastico error “You cannot install more than one script in root directory”

August 26th, 2009 harry No comments

**** Use coupon whukharry to avail a great discount of 10% on every order you placed at http://www.webhosting.uk.com/

Fantastico is widely used auto installer which comes within cPanel control panel. If you are using Linux dedicated server and use cpanel for managing your hosting package then you would be getting Fantastico addon which is very helpful for install few Blogs, CMS, Discussion Boards, E-Commerce carts and Image Galleries which are available under Fantastico.

When installing few script using Fantastico for your main domain or any addon domain you may get following error ” You cannot install more than one script in the root directory of a domain ”

This error occurs mainly due to following two reasons.
1) Previous installation of script in the root folder (main domain or any addon domain) was removed manually.
2) Fantastico itself haven’t removed the previous installation properly.

fantastico1 Solving Fantastico error You cannot install more than one script in root directory

Solution :
cPanel >> File Manager >> .fantasticodata ( folder icon ) >> installed_in_root.php ( Open / edit )

All you have to do is to Login into your cPanel and select the File-manager feature it will gives folder icon list next to .fantasticodata then select the file name installed_in_root.php and remove the following code.

PHP Code:
<?
$installed_in_root["yourdomain.com"] = 1;
?>

After removing the above content you will be able to install require script in the root of the primary domain or any addon domains.

UK Dedicated Server Hosting

Restarting Apache on server

August 24th, 2009 harry No comments

**** Use coupon whukharry to avail a great discount of 10% on every order you placed at http://www.webhosting.uk.com/

restart-apache Restarting Apache on server Apache is widely used and most popular webserver which is having many unique features helpful for our websites. For some reason if you want to restart Apache server you should have root access to your server.
If you want to restart Apache server without affecting or killing other existing processes then you can use graceful restart command use following command :

service httpd graceful ( Using Graceful restart you don;t kill any existing apache processes which are running on your server.

For some reason If you wish to kill the existing http processes and want to restart apache server then use the following command :-
service httpd stop
service httpd startssl

You can also restart Apache and other related services from WHM control panel. Simply login, and select the service you wish to restart under the “restart services” section.

240x60a Restarting Apache on server

Installing Ioncube loader for a hosting account on dedicated server

August 20th, 2009 harry No comments

IonCube loader is the PHP extension that decodes encrypted PHP files on runtime. All wehosting service provider do it installed on their servers. If you are using Linux Dedicated server and want to install it for a particular hosting account then you just need to follow the steps below :-

Installing-ioncube-loader
Login to your server as a root then go to the users account
#cd /home/username/
Download ioncube from the source.
#wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
Now you will have to extract the source file.
# tar -zxvf ioncube_loaders_lin_x86.tar.gz
Now just change the ownership of ioncube to the user for which you are installing it
# chown username.username ioncube
[/home/username/ioncube]# chown username.username *
copy ioncube files under user’s doccument root
[/home/username/ioncube]# cp ioncube-encoded-file.php ../public_html/
[/home/username/ioncube]# cp ioncube-loader-helper.php ../public_html/
[/home/username]# cd public_html/
[/home/username/public_html]# chown username.username ioncube*

Thats all Ioncube is loaded and is installed for required domain and you can access ioncube by http://yourdomain.com/ioncube-loader-helper.php

Setting up Single user database connection on MSSQL Server

August 13th, 2009 harry 1 comment

**** Use coupon whukharry to avail a great discount of 10% on every order you placed at http://www.webhosting.uk.com/

mssql_hosting Setting up Single user database connection on MSSQL Server

Using single user database connection mode will help you to manage and maintain databases. Single User mode allows only one single user to connect a database hence if there are other users connected to the database and you  switched the database to single user mode then their connections to database will be closed without any warning message basically single user mode is used when you are doing maintenance activities.

Follow the steps to start MSSQL server in Single User mode :-

On your server in RDP :
Start >> Run >> type in CMD and hit Ok
>> it will open Command Prompt
>> execute the following command := net stop MSSqlServer ( this will stop the SQL service )
>> now to start SQL in Single User mode execute following command := sqlservr -m

Setting up a single database into Single User Mode !!!!

You can even set a single database in ’single user mode’ using an alternative procedure but this process can not be used to set the MASTER database into single user mode.

# Connect to the SQL Server using SQL Query Analyzer with SA user

Execute the following command :-
alter database database-name set SINGLE_USER ( where “database-name” is actual name of the database. )
This can not be used to place the databases MASTER, MSDB or TEMPDB in single user mode.
# To set the database back into normal multi-user mode execute the following command :-
alter database db-name set MULTI_USER

UK Dedicated Server Hosting

Start Stop IIS services on Windwos Dedicated Server

August 10th, 2009 harry 1 comment

**** Use coupon whukharry to avail a great discount of 10% on every order you placed at http://www.webhosting.uk.com/

If you are using Windows dedicated Server then managing IIS services is very important task you have to take care of. As a server administrator you will have to start / stop different services as and when required. If you want to manage such services using your command prompt then you can use following commands.
Firstly open command prompt from start option.
If you want to start few IIS related services you can use following :-
iis_hosting1 Start Stop IIS services on Windwos Dedicated Server
1) To start world wide web services c:\>net start w3svc
2) To start the ftp service c:\>net start msftpsvc
3) To start the smtp service c:\>net start smtpsvc
4) To start the plesk control panel service c:\>net start PleskControlPanel
5) To start the HTTP SSL service c:\>net Start HTTPFilter
6) To restart IIS services c:\>iisreset /restart
7) To check the status of the IIS services c:\>iisreset /status

similarly if you want to stop any IIS related command then you just need to replace start with STOP command.

As a security measure you should backup IIS before you fire any of the above command. You may lose your data if IIS is terminated before the services have stopped normally. Follow the steps for getting IIS backup.
Open IIS manager , right click on local computer => All tasks =>
Backup /Restore Configuration => Create backup and give the configuration backup name .  Your IIS backup is stored at C:\WINDOWS\system32\inetsrv\MetaBack location.

UK Dedicated Server Hosting

VPS Dedicated server Hosting checklist.

August 7th, 2009 harry No comments

**** Use coupon whukharry to avail a great discount of 10% on every order you placed at http://www.webhosting.uk.com/

manage_vps_hosting VPS Dedicated server Hosting checklist.When you are planning to place order for a VPS or a dedicated server hosting pacakges you should check few things before you go with any host. Firstly you will have to check if your preferred webhost offer you managed or unmanaged website hosting services. If you are good at server management and have all required server management skills then you can go with Unmanaged VPS server hosting packages else if you are noob or don’t want to waste your time in server management then you should go with managed server hosting packages. Usually managed hosting packages are bit expensive as compare to unmanaged. Depending on your skill set & requirements you can choos the one. Make sure if you opt for managed server hosting do check if they operate 24×7 and tech support is for free. You can go with unmanaged server hosting package if you want to manage your server and want to play with it as you have enough knowledge of server management and want to test things yourself,. As you have full root access with your LInux VPS / dedicated server & Administrative RDP access with your Windows VPS / Dedicated server hence you can install all required applications / softwares on your server and can use them. also you can configure firewall setting, can tweak server settings as and when required. If you opt for unmanaged server hosting services you would be responsible for you rerver security, software upgrades and managing security patches. Your webhost won’t help you for any technical issue you may have with your server. Once initial server setup is completed you willl have to manage your vps dedicated server if you opt for unmanaged server hosting serivces.
VPS hosting packages do comes with limited server resources like RAM, CPU , bandwidth, backspace etc…. hence you should check what hosting package would be the best as per your website hosting requirements. If you are planning to host some resource hog application on your VPS then you should check the minimum and maximum RAM offered with VPS hosting packages. All webhost offers you fixed amount of Guaranteed and Burstable RAM with each hosting package.

servers_hosting1 VPS Dedicated server Hosting checklist.

You can term Guaranteed Ram as the lowest amount of RAM that you will have with your VPS. This is the minimum amount of RAM your server will have at any point of time whereas a Burstable RAM is the amount of maximum amount of RAM your VPS can have which can be used in extreme cases.  It’s your hosting requirements and budget to go with managed or unmanaged hosting services.

240x60a VPS Dedicated server Hosting checklist.

Dedicated Server RPM diskspace management

August 5th, 2009 harry No comments

**** Use coupon whukharry to avail a great discount of 10% on every order you placed at http://www.webhosting.uk.com/

dedicated_server_HostingWebsite hosting server space has its unique importance, we should waste it by uploading unnecessary data or applications onto our server which may consume good diskspace. Hence if you are operating a VPS or a dedicated server then need to check how much disk space your installed rpm pacakges have used up so that you can free them as and when required thus you can save your server disk space and ofcourse some precious bandwidth. You can use following command to check diskspace which is required by all installed rpms on your server using following command :

rpm -qa –qf “%10{SIZE}\t%{NAME}\n” | sort -k1,1n

Using above command you will get all information about the disk drive usage by all RPMs installed on your VPS or cPanel dedicated server.

240x60a Dedicated Server RPM diskspace management

UK Dedicated Server location for better ranking and performance.

August 5th, 2009 harry No comments

**** Use coupon whukharry to avail a great discount of 10% on every order you placed at http://www.webhosting.uk.com/

Making your website SEO friendly and trying to attract more and more visitors Dedicated Server location is an important point which we should consider so as to get excellent hosting experience and network performance. It also plays an important role in SEO and will help you to rank your website better. If you are planning to rank high in UK search engines then it would be better if you go with UK website hosting service provider having their dedicated servers in UK rather then choosing US or other Server hosting services. Technically speaking… it will also help you for faster access of your website for the location you are planning to grab visitors from.
You can take eg… If a person in Texas requesting a site hosted in Japan is being send data from around the world and thus the page will load slower whcih may affect your online presence and thus business !!! As you go closer to Texas such delay in page load will not be even noticeable also if you are targetting Texas visitors they will get excellent website performance which can impress them customers for placing order for your services and products. Thus if you are hosting your website at some other location for getting cheaper hosting plans you will have to Sacrifice website performance and thus could be loosing sales and prospective customers if your pages are not loading fast enough.
Thus, we need to keep in mind that :  Choose your server location wisely and keep in mind that go with a webhost who have their server located in same or nearby area from where you are expecting good traffic or targertting your visitors.  Thus if you are targeting the entire United States you can go with a dedicated server hosting provider from Chicago or Texas which would work great for you and If you are trying to grab attention of UK residents then you should look for a UK server hosting service provider.

240x60a UK Dedicated Server location for better ranking and performance.