I'm new to web development. I have hosted my website through a free web hosting service providing free subdomain. The free hosting service says that they provide 100 GB bandwidth. I just upload files to the website using ftp (filezilla).
When the website is accessed one user at a time, the website functions properly, but when many users access the website simultaneously, the website slows down considerably.
The details of their server are:
Web server Cowboy
HTTP response code 200
Server Address http://hostingsiteforfree.com
cache-control no-store, no-cache
connection close
content-length 16312
content-type text/html; charset=utf-8
date Fri, 17 Oct 2014 13:36:45 GMT
etag W/"JWDUj6JS+NPPLEYN43WfRQ=="
expires 0
pragma no-cache
server Cowboy
via 1.1 vegur
x-content-type-options nosniff
x-download-options noopen
x-frame-options DENY
x-xss-protection 1; mode=block
Time to contact web server 0.407361 seconds
The following information is shown in the control panel of the free hosting service right now:
Server Load: 12.93
MySQL Server Load: 0.14
Apache Version: Apache/2.2.17
PHP Version: 5.3
MySQL Version: 5.1.58
Data is inserted or retrieved from mysql database using ajax according to user actions on the website.
What could be possible reasons for the website to respond slowly when multiple users access it simultaneously?
Is it problem of the subdomain? Do I have to buy a domain name?
Is it a problem of the free hosting service?
Do many database requests at the same time cause a problem?
What are server or database requirements when around 50 users would be using the website simultaneously?