Webmaster Forum  

Go Back   Webmaster Forum > Web Hosting Forum - Web Hosting - Web Host - Hosting - Managed Hosting - Shared Hosting > Web Hosting Tutorials
User Name
Password
Register FAQ Members List Calendar Transactions Store Search Today's Posts Mark Forums Read


Resource Saving Tips

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-09-2005, 13:09
admans
Senior Member


Join Date: Jul 2005
Posts: 248
Trader Rating: (0)
Points: 22 (Donate)
5 F$/Referral Refer Friends
admans is on a distinguished road
Default Resource Saving Tips

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.
__________________

http://img76.imageshack.us/img76/6450/sc2but4ng.gif | http://img495.imageshack.us/img495/...ogorwtan0je.gif | <a href="http://webtools.sc2.info"><img src="http://img129.imageshack.us/img129/8682/sc2webtan7ju.gif" border="1" width="100" alt="Free Webtools for all" /></a> | <a href="http://www.indexrated.com"><img src="http://img398.imageshack.us/img398/4813/listed1pb.gif" border="1" width="100" alt="Index Rated Directory - Rating Quality Sites" /></a>

Get all Games,Apps and Wallpapers Nokia, Samsung and Sony Erricson!!

admans is offline
Reply With Quote
  #2  
Old 09-04-2005, 00:30
DJScuba
Senior Member


Join Date: May 2005
Posts: 146
Trader Rating: (0)
Points: 0 (Donate)
5 F$/Referral Refer Friends
DJScuba is on a distinguished road
Default Re: Resource Saving Tips

Great tips, I need to figure out how to rewrite my .htaccess to prevent hotlinking that will save me tons of bandwidth. Either that or I could waterprint my images so people hotlinking will know where the image is from.
DJScuba is offline
Reply With Quote
  #3  
Old 06-17-2006, 03:39
raju79
Junior Member


Join Date: Jun 2006
Posts: 17
Trader Rating: (0)
Points: 15 (Donate)
5 F$/Referral Refer Friends
raju79 is on a distinguished road
Default Re: Resource Saving Tips

Thank you for the tips.It will be very helpful.

Thanks
raju79 is offline
Reply With Quote
  #4  
Old 06-28-2006, 08:10
raziel
Member

raziel's Avatar

Join Date: Jun 2006
Posts: 50
Trader Rating: (0)
Points: 1 (Donate)
5 F$/Referral Refer Friends
raziel is on a distinguished road
Default Re: Resource Saving Tips

Very common yet very helpful tips.

BTW

Here is a link on how to disable hotlinking
http://www.alphafilter.com/?inc=article&aid=67
raziel is offline
Reply With Quote
  #5  
Old 06-28-2006, 08:23
Shib
Junior Member


Join Date: Jun 2006
Location: Kingston, Ontario, Canada
Posts: 23
Trader Rating: (0)
Points: 16 (Donate)
5 F$/Referral Refer Friends
Shib is on a distinguished road
Send a message via AIM to Shib Send a message via MSN to Shib
Default Re: Resource Saving Tips

Yes, Those where some very common tips I didn't know about BW. Thanks very much.
Shib is offline
Reply With Quote
  #6  
Old 06-28-2006, 23:39
jonas
Member


Join Date: Jun 2006
Posts: 41
Trader Rating: (0)
Points: 1 (Donate)
5 F$/Referral Refer Friends
jonas is on a distinguished road
Default Re: Resource Saving Tips

Good tips. Whenever I see someone hotlinking though, I just rename the images and create ads for my site in their place. It is very entertaining and has in the past actually generated some traffic.
jonas is offline
Reply With Quote
  #7  
Old 07-03-2006, 05:49
cocaine
Member


Join Date: Jun 2006
Posts: 61
Trader Rating: (0)
Points: 12 (Donate)
5 F$/Referral Refer Friends
cocaine is on a distinguished road
Default Re: Resource Saving Tips

never used hotlinks since i am newbie on it . thanks for info
__________________
www.nepalbb.com
www.dilipblogs.info
cocaine is offline
Reply With Quote
  #8  
Old 07-08-2006, 17:48
hashen27
Junior Member


Join Date: Jul 2006
Posts: 7
Trader Rating: (0)
Points: 5 (Donate)
5 F$/Referral Refer Friends
hashen27 is on a distinguished road
Default Re: Resource Saving Tips

Some great tips. I am nowhere near my 15gb limit yet though
hashen27 is offline
Reply With Quote
  #9  
Old 08-01-2006, 11:13
Brianmn
Member


Join Date: Jul 2006
Posts: 63
Trader Rating: (0)
Points: 1 (Donate)
5 F$/Referral Refer Friends
Brianmn is on a distinguished road
Default Re: Resource Saving Tips

Some of these tips are great, but others are not true (at least for me).

For instance, when I login to my control panel. At mydomain.com/cpanel

It simply redirects me to myhost.com:2083 as asks me to login...so therefor it isn't using up my bandwidth for the control panel.

A second thing is you have to be carefull with disabling hotlinking. A lot of people use the referrer for that...but a lot of security software and firewalls disable the referrer feature causing the hostlinking script to indicate that they are hotlinking when they really are not.
Brianmn is offline
Reply With Quote
  #10  
Old 12-24-2007, 22:03
M_Oksa
Member


Join Date: Dec 2007
Posts: 30
Trader Rating: (0)
Points: 0 (Donate)
5 F$/Referral Refer Friends
M_Oksa is on a distinguished road
Default

Some nice tips, especially for those with less space to use. Also, for those who have heavy use on their sites.

I was just uploading files and wondering how much of a difference .pdf vs. .zip would make. Luckily, most were of the .zip variety.
M_Oksa is offline
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Resources : | Advertise at FHF | itextLink.com| Reseller Hosting|


All times are GMT -4. The time now is 00:14.


Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.