|1000 pageviews a day, DIY hosting on 512kbps with static IP?|
| 5:55 am on May 5, 2009 (gmt 0)|
1. If I take up a 512kbps connection with static IP, can I use my ubuntu box for 10 small dynamic websites (each one 50-500 pageviews a day) ? Im not worried about the h/w at all.
2. Since my 2 PCs are connected via a router (one wireles and one wired), how can I route the requests to the specific PC having the webserver ?
All this before spending money on a VPS. I cant go for shared because custom setups.
[edited by: tedster at 6:56 am (utc) on May 5, 2009]
[edit reason] no specific webhosts please [/edit]
| 6:42 am on May 5, 2009 (gmt 0)|
it'd force you to keep your websites very small, few, if any, images etc, and you'd have to hope that the visitors don't show up in groups.
with the 1000 pageviews / month you mention in the summary, I'd say it should work fine, allthough slow. But in the post you talk about 10 websites with 50 - 500 pageviews a day, which is another story. That'll probably not work for your visitors.
| 8:43 am on May 5, 2009 (gmt 0)|
|how can I route the requests to the specific PC having the webserver ? |
Give your server a fixed IP address, and set up port forwarding on your router to forward port 80 to the server IP.
| 9:05 am on May 5, 2009 (gmt 0)|
Oh...sorry - I meant 1000 pageviews a day. I dont understand how 1000 pageviews/day wouldnt work on a 512kbps.
With 10 websites @ 50-500 pageviews a day, which would amount to a max of 5000 pageviews a day, which is like 4 pageviews a minute, wouldnt a 1Mpbs be more than enough ?
A 4Mbps connection costs like $200/mo here, so I wouldnt want to go beyond 1Mbps.
| 9:44 am on May 5, 2009 (gmt 0)|
you cannot just calculate the average pageviews per minute. Usually, you have traffic peaks and traffic lows, few people surf at night, for example.
most people will probably visit your pages in a few hours, thus producing overlays of visits. Usually, that's not a problem. If your bandwidth is limited, it becomes one, because the speed goes down and your visitors are more likely to stop browsing your site if it's slow.
| 5:11 pm on May 5, 2009 (gmt 0)|
Before you go too deeply into this, make sure your ISP contract doesn't specifically disallow hosting over their bandwidth. I know of many DSL/bandwidth providers that will pull your plug if they figure out you're using your Internet access to host a web site from home.