hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : Web Hosting Tutorials : Resource Saving Tips - for shared accounts
Reply

Web Hosting Tutorials Tutorials related to shared hosting.
Forum Jump

Resource Saving Tips - for shared accounts

Reply Post New Thread In Web Hosting Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-05-2004, 09:07 PM
Hlince Hlince is offline
Newbie
 
Join Date: Oct 2004
Posts: 17
Lightbulb

Resource Saving Tips - for shared accounts


Resource Saving Tips

This tutorial is focused mainly at cPanel users but is for everybody who would like to get a little extra bang for their buck. Resources are what it is all about in the webmaster world and conserving some resources is crucial in money management. Even if you think you may have pulled all measures to save resources this may be a helpful tutorial. Yet again you may already know everything here. Read on to find out.


Conserving Bandwidth

Bandwidth is what is all about, do you have enough to get your visitors what they need with sufficient overhead? Too much overhead is a waste but too little overhead will make you lose customers, so how do you determine how much bandwidth you will use? How do you save bandwidth?
  • A little known method of bandwidth saving tips (mostly because hosts do not want you to know) is a very simple one... using the control panel from your domain contributes to your overall bandwidth. Use your hosts domain instead
    For example: instead of going to http://yourdomain.com/cpanel for cPanel go to http://yourhost.com/cpanel (switching "yourhost" with your hosts website)
  • Disable HotLinking - HotLinking is where people will link from another website to your images or downloads and not give your website any credit. Basically the images are on your website and this website just links image tags to your website, Basically they are stealing your bandwidth. There is a tutorial on how to go about this if you are not sure how to accomplish this.
  • Enable caching on your website if its not dynamic. Caching will allow the end users computer to read from your server once in a while, the rest of the times it will read from its own backup copies until they expire.
  • Optimize your images for the internet and shrink their size, never use bitmap files (.bmp) and stick to jpeg (.jpg) or gif (.gif) files for images, these are optimized for the internet. There are conversion programs out there and there are optimization programs, be sure to get an optimization program that will be able to retain the images quality while drastically reducing its size. More than 50% of the bandwidth on most websites comes from images.
  • If you run any forums or submission scripts on your website ensure that they are secured (require a validation code for submission or login) this will reduce the possibilities of people making bots to spam your website and will reduce bandwidth usage.
  • Websites that have Large images, Videos, MP3's, and large files will use a lot of bandwidth. Some websites may need these but if you are sure your website doesn't need them then don't use them. It will save A lot of bandwidth
  • Limiting robot scanning can help greatly, this includes bots by google, msn, and yahoo alike. All you have to do is create a robots.txt and tell the bots what and what not to index. You can also do this with .htaccess if you are experienced enough.
  • Look at your logs of visitors, if you see any suspicious activity of what you may believe to be a bandwidth hog you can block these users from accessing your website via .htaccess or cPanel
Taking these measures Will save bandwidth but will not ensure you not to go over your limit. If you have a popular website be equipped with a lot of bandwidth respectively. Typically you should have 15% - 45% extra overhead on your bandwidth. You can calculate used bandwidth by how many hits you will be expecting by the average size of all of your files.

Conserving Storage

Storage is the second most important factor in web hosting with bandwidth in the lead. Storage is the amount of space you have to put files on the web server. Most websites generally do not use much storage, the most of what they use is bandwidth. However some sites make the exception and provide a multitude of things or just some big files. Either way here are some conservation tips on storage.
  • Zip up all files meant to be downloaded - if you want to have a database of downloads or just offer a couple of downloads this will greatly reduce the amount of space and bandwidth you use. If you are offering big documents for download as well (over 250kb) you should zip these up as well.
  • Optimize images - as said in bandwidth conservation, images play a majority in resources on the typical website. Optimizing images for the web is a rather crucial step in resource conservation.
  • Avoid Duplicate files - Duplicate files do you no good, make your hyperlinks point to the same file rather than the same file in 2 places on your account. This also makes updating much easier as you only have to update only one file.
  • Manage Backups - While backups are helpful they will pile up, Keep no more than 3 backups on your web hosting account simultaneously. Consider the fact that the backups are almost the size of your entire account, so 2 backups more than doubles your accounts disk usage in the typical scenario. Usually you should make the backup, download it, then delete it from FTP. However having a backup of the backup on the webserver will not hurt.
  • File Management - Remove unneeded, unlinked files. These files will be serving you no good anyway.
  • Use Dynamic Pages if you can, Dynamic pages do not require every page to be stored and can prove helpful. Instead of having multiple pages you can have one main file with a bunch of files that are included or generated via a language such as PHP. MySQL also helps in this as well, it is a further extent of space saving.
Saving space on a webserver is very easy and webspace isn't in as much demand as bandwidth, however the storage can be a deciding factor in your web hosting price. Be sure to not use any excess to save yourself hassle and bills. Whether you are a website offering many downloads or a website with no downloads conserving space is a very helpful practice.


Other Conservation Tips

Although the main conservation tips have been stated there are some you should know about...
  • MySQL/PostgreSQL Management - Be sure that you do not use too many, you can put different scripts in the same database for compacting. This will allow for you to meet your limit without having to go over. MySQL databases are almost always limited due to the fact they may be resource strenuous, as a countermeasure webhosts limit these to provide a cleaner service.
  • If you have severly limited e-mails use them wisely, instead of using a different e-mail for a different service or function try to mix them together and have a generalization mix. So instead of having support@yourdomain.com and billing@yourdomain.com and request@yourdomain.com you could sum them all down to websitename@yourdomain.com
Resource saving is helpful, especially when you are tight for money. Follow these tips and you should be better off for a cleaner, more effecient web hosting experience.
- Howard

Reply With Quote


Sponsored Links
  #2  
Old 12-27-2004, 02:51 PM
Tojan3 Tojan3 is offline
Newbie
 
Join Date: Dec 2004
Posts: 25
Those are really cool tips. I didn't know that you can disable hotlinking. If you have a site with lots of pictures it's definetly good idea to disable hotlinking.

Reply With Quote
  #3  
Old 12-27-2004, 03:17 PM
Hlince Hlince is offline
Newbie
 
Join Date: Oct 2004
Posts: 17
Thank you, I wrote a tutorial on .htaccess and how to disable hotlinking among several other things you can accomplish with .htaccess.. i will post it in these forums.. i can't post links though so it will be a little before i post it

Reply With Quote
Sponsored Links
  #4  
Old 01-02-2005, 01:10 AM
icatchonline icatchonline is offline
Newbie
 
Join Date: Jan 2005
Posts: 13
it might help my shared hosting customers.
anyway thanks.I'll forward it to my customers.

Reply With Quote
  #5  
Old 01-03-2005, 11:10 PM
Castle-H Castle-H is offline
Newbie
 
Join Date: Jan 2005
Location: Peterborough
Posts: 5
that was informative, thanks

Reply With Quote
  #6  
Old 01-04-2005, 07:13 AM
Hlince Hlince is offline
Newbie
 
Join Date: Oct 2004
Posts: 17
Anytime guys.. I just hope its put to good use

Reply With Quote
  #7  
Old 09-04-2005, 11:29 PM
Ekhwan Ekhwan is offline
Junior Guru Wannabe
 
Join Date: Dec 2004
Location: United Arab Emirates
Posts: 92
Can you point me to the * Disable HotLinking* tutorial?

Thanks for the tips.

Reply With Quote
  #8  
Old 09-11-2005, 11:14 AM
yagster yagster is offline
Newbie
 
Join Date: Aug 2005
Posts: 5
You may want to simply do a search on google for "disable hotlinking". When I ran a search, the first result was a generator for the code required in your .htaccess file.

http://www.htmlbasix.com/disablehotlinking.shtml

If all of this seems too complicated, your web hosting provider may allow you to set this up through their control panel. You may want to contact them to find out.

Reply With Quote
  #9  
Old 09-28-2005, 11:35 AM
LimpBagel LimpBagel is offline
Junior Guru Wannabe
 
Join Date: Sep 2005
Location: Glendale, AZ
Posts: 84
If you are limited on email accounts, couldn't you create forwarders in cpanel without making them into accounts?

ie. customerservice@domain.com, webmaster@domain.com both forward to limpbagel@domain.com

limpbagel@domain.com is the only one actually made as an account though.

Reply With Quote
  #10  
Old 09-28-2005, 11:53 AM
Nullified Nullified is offline
Web Hosting Master
 
Join Date: Jan 2004
Posts: 1,272
Howard, may I use these tips on my forum?

Reply With Quote
  #11  
Old 09-28-2005, 02:47 PM
Hlince Hlince is offline
Newbie
 
Join Date: Oct 2004
Posts: 17
Answer located in pm

LimpBagel:
In response, yes you could. However hosts do limit on forwarders too.
Additionally people may want several e-mail accounts for seperate staff members or just members.

Howard

Reply With Quote
  #12  
Old 05-07-2006, 10:39 PM
reddy reddy is offline
New Member
 
Join Date: May 2006
Posts: 0
thanks for the tips

Reply With Quote
  #13  
Old 05-08-2006, 12:42 PM
ArtieFishill ArtieFishill is offline
Network Engineer
 
Join Date: Jul 2002
Posts: 1,519
Not sure that telling people to use the hosts domain instead of theirs for CP access is ethical (nor am I sure that would actually work...not hard to redirect that bw back to the login id).

Reply With Quote
  #14  
Old 05-08-2006, 02:21 PM
ldcdc ldcdc is offline
Retired Moderator
 
Join Date: Oct 2002
Location: EU - east side
Posts: 21,920
Quote:
Not sure that telling people to use the hosts domain instead of theirs for CP access is ethical
Good point. Kind of interesting no one noticed it before you. Not to mention the "savings" would be rather limited. How much time can one spend using the control panel?

Reply With Quote
  #15  
Old 05-08-2006, 04:13 PM
Hlince Hlince is offline
Newbie
 
Join Date: Oct 2004
Posts: 17
Some people actually do use the Control Panel for full management (uploading/downloading included)

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
VIDEO: CloudLinux CEO Igor Seletskiy on Hosting Platform Software Whir Tv 2012-11-09 09:36:01
CloudLinux Releases New LVE Manager Control Panel Plugin Web Hosting News 2012-09-04 10:36:10
CloudLinux Adds Features to Define Resource Limits for Shared Hosting Plans Web Hosting News 2012-06-27 15:04:24
Cloud Solutions for cPanel, with Mariano Maluf of GNAX Web Hosting News 2011-10-11 23:15:11
Web Host SingleHop Offers 1H.com Automation Software to Tandem Resellers Web Hosting News 2011-07-25 15:12:57


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?