Donate

Nov 15, 2011

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.

No comments:

Post a Comment