Donate

Nov 15, 2011

Introduction

Welcome to PHP & MySQL Web Development.
First let me introduce myself. My name in Filip , in advance I’d like to apologize for my grammar mistakes, and not so fluent English, because it’s not my native language. I won’t use severe expressions,  all the explanations will be simple and the code correct written. Due to  insufficient funds, I am starting my tutorials as a blog, but later on, if the audience will be interested  in my topics, I will make webpage. If you would like to donate, just click on adfly link (picture donate), it’ll cost you just 5 sec, and enable me to make real webpage with forum, more interactions etc. Enough about me let’s see what this is all about.
Here You will learn, how to create interactive Web sites, from simple Web forms to creating  e-commerce sites, forums, Email Service, CMS, gaming sites, and social network from scratch.

Setting up hosting and domain name

There are few types of hosting :   - Paid hosting
                                                      - Free hosting
                                                      - Hosting on your computer


While developing your webpage you can use free hosting, or host  page on your computer. But later on when you gain huge amount of traffic, you should consider buying hosting services from big companies. I'll cover this section later after finishing all tutorials about web development.

So lets start with hosting your page on computer. Here are the steps :

   1. We need to install  server on our computer. Many people know from their own experience that it's not easy to install an Apache web server and it gets harder if you want to add MySQL, PHP and Perl.
XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. The link to XAMPP : http://www.apachefriends.org/en/xampp.html , just download, extract and start. In control panel star Apache and MySQL.

  2. All files that your web page consist of needs to be hosted at XAMPP, under HTDOCS folder. First go and delete all files in HTDOCS folder, create a basic HTML page, and save it as index.html inside HTDOCS folder.

  3. Now open your browser and type http://localhost/ and there it is your webpage.

  4. Setting up domain name: Visit this link : http://dyn.com/dns/ register. After logging in go to my host, click on your host and just update IP address. After that you can visit your webpage just by typing your domain name into browser, and you can access it worldwide.

Free hosting :

1.  Go to this link and register http://www.freehostia.com/
2.  After registration you have to create domain name so visit: http://register.cu.cc/ here you can register domain name. On my domain tab click manage your domain, than nameserver it should be inactive, so click on that and input nameserver1, and nameserver2, with informations you got from freehostia.

If you have any problems registrating your free hosting, leave a comment and I'll make a video thoroughly explaing all the steps above. Point of this tutorial is just to set up a webhosting and domain name so you can follow incomming lessons. If you have any suggestions also leave a comment.