icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Choosing Surpass » Signed Up? » Control bandwidth Usage

Signed Up? If you're new with a question, ask here!

Reply
 
LinkBack Thread Tools Search this Thread
Old January 20th, 2005, 6:18 PM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Dec 2004
9 posts
Gave thanks: 0
Thanked 0 times
Control bandwidth Usage

Hi, im not sure if this is the right place to post this question, so sorry if it isnt, but i was wondering if there is a way with cpanel that you can controll the amount of bandwidth a subdomain uses. Like only allow X GB's of transfer for this subdomain.

I have the power package.
__________________
Site: www.morphistation.com
Server: Pilot
morphistation is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 20th, 2005, 7:01 PM   #2 (permalink)
Rai
Senior Member
Super #1
 
Rai's Avatar
 
Joined in Nov 2003
Lives in Canada
Hosted on Pass14
3,770 posts
Gave thanks: 4
Thanked 20 times
There is no really wrong place to post a question.

As for an answer, I don't believe there is. It'd be a really nice feature though, for sure.
__________________
Rai is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 20th, 2005, 7:20 PM   #3 (permalink)
Registered User
Comfy Contributor
 
Einstein's Avatar
 
Joined in May 2004
Lives in Finland
Hosted on Centi
281 posts
Gave thanks: 0
Thanked 0 times
You have to check it manually by viewing the stats. And if you are a real guru you can try fetch out the bandwidth from stats files. They are located somewhere in your home folder ... But the easiest way is to do it manually and check the stats.
__________________

The secret to creativity is knowing how to hide your sources. - Alber Einstein
Centi: ykkosrasti.net
My sites on Pass38, reseller: kimslotte.net|mtb-o.net|perhekuvat.net|nettikuvat.net|tiedostotila.net
About me
Einstein is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 20th, 2005, 7:26 PM   #4 (permalink)
L'Awesome Advocate
Super #1
 
Ancyru's Avatar
 
Joined in May 2004
Lives in .au
Hosted on Mango
2,423 posts
Gave thanks: 1
Thanked 5 times
I know you can write a script for it, but it'll be a tedious job to do.
__________________
When I get sad, I stop being sad, and be AWESOME instead. True story.
Ancyru is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 20th, 2005, 7:34 PM   #5 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
Short answer - NO.
Cpanel does not support it.

Could you write a script? Perhaps, but very potentially much more trouble than it's worth.

IF YOU ARE A RESELLER the answer is different...

You can create "cpanel" accounts in WHM that are simply subdomains of any domain you own and host. THey'll have separate space and limits, but be related in DNS to the master domain.

John
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 21st, 2005, 9:30 AM   #6 (permalink)
newb
Comfy Contributor
 
Joined in Jun 2004
257 posts
Gave thanks: 0
Thanked 0 times
You can make a script that is activated regularly with cron jobs but because cpanel may update and change the directory, may become a pain. but then you'd have to tell it to re-name the subdomain folder, and make a new one under it's name with index.html saying somthing like sorry bandwitdth exceded; to actually stop the bandwidth/use of the site (ofcouse the new index will use about 1kb per view)

checking the subdomain manually is the best idea, unless ofcourse you gonna be hosting about 100 of them. reseller of course is the easest route + you can sale it in an offical way.
lukus001 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 21st, 2005, 11:48 AM   #7 (permalink)
Registered User
Fresh Surpasser
 
Joined in Dec 2004
9 posts
Gave thanks: 0
Thanked 0 times
what im trying to accomplish is i have a subdomain that i host media files that i have created (music videos made from video games), i want to be able to restrict like how many people can download a day, or how much bandwidth it is allowed to use...

In the past ive gotten alot of bandwidth taken up and my whole site has shut down, i will upgrade my package for more bandwidth but it would be nice to have some way of protecting the whole site from going down because of downloads.

Thank you for the answers so far.
__________________
Site: www.morphistation.com
Server: Pilot
morphistation is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 21st, 2005, 1:06 PM   #8 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
Ahh, well that makes it a bit easier....

you could create a set of scripts that required login to download. Then you could have some sort of script that tracked what the user had downloaded, and deny them if they exceed the limits you've specified.

Something like this might exist on hotscripts or something...
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 23rd, 2005, 12:29 PM   #9 (permalink)
Registered User
Comfy Contributor
 
Einstein's Avatar
 
Joined in May 2004
Lives in Finland
Hosted on Centi
281 posts
Gave thanks: 0
Thanked 0 times
I found this one today when I was surfing around: http://www.phpscriptcenter.com/downloadprotector.php
I think it's something similair you are looking for.
__________________

The secret to creativity is knowing how to hide your sources. - Alber Einstein
Centi: ykkosrasti.net
My sites on Pass38, reseller: kimslotte.net|mtb-o.net|perhekuvat.net|nettikuvat.net|tiedostotila.net
About me
Einstein is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are On
Pingbacks are On
Refbacks are On