For running a website on the Internet, you need to buy a domain name and a web hosting account. A domain name is the address of your website on the Internet. And web hosting will be the space on a web server to make your website accessible. To get a domain name, you need to pay to a domain registrar and for web hosting, pay to any web host. Hostgator, Bluehost, Hostinger, DreamHost, Godaddy, and Bigrock are few popular web hosts. GoDaddy and BigRock also deal with Domain name. So, you can buy a domain name here. But what if you want to run a website on the Internet just for learning purposes? For this, you will not think to pay for domain name or hosting. So you can buy a domain and hosting from the free domain and hosting vendors on the internet. There are many hosting companies which offer free subdomain along with limited space for free. The free domain is fine, but free hosts add their banner ads at the bottom or top of the website which looks weird.
Sometimes we use these free hosts for hosting our professional website when we do not want to pay for hosting. So using free hosts with their bottom of ads can ruin the impression of your website on visitors. In this case, you can use blogger or wordpress.com for free hosting of websites. These will only allow you to create your website with their website builders. If you want your own scripts to be run, you will still need a web host that supports your scripts.
If you are looking for a free web host that does not add ads on the website, there are some web hosts that offer free PHP MySQL hosting. They also do not add any type of links and banner or advertisements. Your visitors will never know that you are using a free web hosting service. The webspace depends on the web hosting server you are using.
Also Read: Tips to select a good domain name
Some web hosts only provide web space and allow PHP scripting without a database. But there are many which also provide MySQL database support but with some restriction.
These are the name of some free web hosting servers which provides free PHP hosting.
All these web hostings are free but not reliable. This is the reason I recommend Hostinger.com for web hosting. It is not free but just $0.80 per month. I am sure this small amount is affordable. For paying just a small amount, you will be getting a professional web hosting with access to customer support.
If you want to know good and cheap web hosting services that are reliable. Check the list of best web hosting services.