/    Sign up×
Community /Pin to ProfileBookmark

What are the requirements to host a games webpage?

Well, I’m planning to start a webpage where people can play flash games. It will not be soon, unless it’s really cheap. I know where to find the swf files.
I know the server has to be on all the time. I know I have to be partner with some advertising service.

My questions are:

Let’s call n to the number of people that needs to be playing and looking at ads all the time in order for me to get enough money to pay the energy costs of hosting the server.

What are the hardware requirements to host a server that allows n people to play at the same time? Let’s say they are playing simple flash games like a tower defense game or a 2D version of minecraft.

What is the energy consumption of that server?

And what is the aproximate value of n? (the number of people that has to be playing so that I can pay the energy costs)

In order to actually get money I would want to be able host 2n people.

One friend told me it is not too hard, and not too expensive to do but I wasn’t listening so I don’t remember the numbers.

Plus, if I need any theoretical knowledge like a certain programming language or being able to repair hardware, please tell me.

If you write any cost, could you write it in EUR, or state the currency type so that I can convert to the one I use?

Thank you in advance!

(Also, I didn’t really know where to publish this question so I googled web development and posted it here)

to post a comment

3 Comments(s)

Copy linkTweet thisAlerts:
@rootMay 20.2018 — FYI -- Flash is dead.

I doubt that it will be around much longer as it poses a big security risk and HTML5 objects can now do video, real time rendering in canvas.

Maybe you should look at that as your new base for coding your game.
Copy linkTweet thisAlerts:
@Fl4v1u5authorMay 27.2018 — @root#1592181 thx for the information. I'm not coding a game right now, I was planing to host a webpage. I now found like 1TB of Hard disks and they all work, also I found one 2GB ram and some other stuff, and also I have another computer which I don't use that much. Can I use this computer to host that server? I found there is a linux distro made for servers. Is it possible to just set everything up, install all software and host it using a PC? Or I need to buy anything.

Or where can I learn more about all this?
Copy linkTweet thisAlerts:
@rootMay 30.2018 — You want to run your own server.

Having done this myself, there are pitfalls...

What is it you are wanting to do?

Are you looking for a development environment to develop websites or are you actually wanting to serve from home?

I can say that serving from home is going to cost you more in running costs and more importantly, if you intend to use the machine to take credit card payments, then you are in the wrong place. You will need a secured secured server in a banking data farm for really secure services, if you were to have that machine stolen, then you are liable for all that comes your way.

Also, you will find that your network will come under attack as mine did on several occasions, so you will need a firewall on the machine, a software firewall, no use putting your eggs in one basket and relying on windows or the router, a routed port is an open port... So you will need software firewall service on the computer.

You will need to configure your existing computers so that they are not vulnerable or the vulnerability so locking down access by MacID and securing access in to your wifi will prevent localised attacks.

I tried to explain this to my ex who couldn't work out why she was constantly going over her data allowance in a matter of a week. I pointed out that her wifi was the problem and it was in adhoc mode, a mode suggested to her by Virgin Media to get her wifi connection to connect to the internet to access her account.

Fatal mistake, it allowed the neighbour to piggyback on her wifi. I told her how to in 3 simple steps to secure the wifi, her response was to go with BT Internet... Nothing simple with my Ex...

Anyway, you have a whole host of security to consider and taking a cavalier approach of why would or why me or even it won't happen to me is simply foolish. I will happen because it can happen and I have experienced it first hand when I built a full system web server, mysql server, email server, ftp server, had set up various other services (as I was doing a network admins course, I had to practice the craft) and I noted that despite the fact that I was not indexed, on an IP only connection that I was getting scanned and probed and several hack attempts took place.

The reason the system stood up was that each system was firewalled and behind a router, all local connections were priority so I could take back my system virtually and if not, I simply could if absolutely necessary pull the main feed which had had only ever needed to do once after a particularly nasty invasion and found that someone decided that my services should be porn services. It for security reasons ended up with me smashing the drive up just to be 1001% sure that the drive couldn't be recovered.

After that, I decided to run just one box in virtual environment and eventually got tired of all the maintaining, its not something you can just walk away from, unless you have set up alerts and alarms, you will need a terminal and monitor the system from time to time to ensure that it has not been compromised and that backups occur and are burnt off to disc.

To sum it up, for the last 15 years I have paid for hosting, it is far more cheaper, the cost for me is pennies a day in hosting fees, in simpler terms, for the cost in electric for a week, I can get a whole months hosting.

So my suggestion is this, if you have no administration experience, only want to dabble, then set up your box and virtualize the service(s) and then the system is completely isolated from the internet.

If you are looking to serve from home, you may run in to fees from your ISP as one friend had in the USA who found that she had been charged an additional $80 fee for serving from home. That was 10 years ago and I expect that fee to be easily $150 by now. So watch out, you could be making a hole for yourself.

What is cheaper, paying for web hosting, mine costs me £30 a year including a domain name. Thats roughly $40 for A YEAR, now most hosting from US companies have caps and other services that you should get for free but pay for things like email, databases.

A good web host will run all the services, give you all you need at no extra cost and you have no unexpected data charges.
×

Success!

Help @Fl4v1u5 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...