|
||||||||||
|
|
How can i create a website?September 24, 2009 on 11:17 am | In Create me Site. | No CommentsMost of you guys have heard of Websites/Servers/Email servers etc. But how do you own one website is always unclear with the information available in the net. Hence with less number of page lines I will tell you the basic idea behind the internet and HOW TO CREATE(OWN) YOUR OWN WEBSITE. Introduction What are servers? How do they become Internet servers.? —> The server needs an operating system. Let’s say you have Windows I just said the above as an example. In fact 70% of internet servers runs on Linux, 25% on Windows and rest 5% on other OS. To get you a general Idea about server, I will tell you another example. If you have a static IP address from your Internet Service provider, connected to a PC at your home with Linux Operating System, . You can run the website in your machine at home….. which can be accessed from any where around the world. So we can summarize that the above same setup with a lot of servers housed and networked is called a Datacenter(DC) or Network Operation Center (NOC). ALL SERVICES ARE FOLLOWING THE CLIENT SERVER MECHANISM Let me tell you about the Webserver First (Apache)WebServer:-The working When you type in to the browser, say “www.google.com”. (Lot of process are involved to find the IP address of the name “www.google.com” which is ignored here. we suspect that the browser has found the IP address of the name “www.google.com”). The browser gets the IP address of the name “www.google.com”, lets say eg: 212.544.121.2. Now the request is sent to the server “212.544.121.2″ along with domain name “www.google.com”. In the server “212.544.121.2″ , the Webserver is listening for request. So the request sent from our browser is serviced by the Webserver at “212.544.121.2″ . The information send back by the remote server is received by the browser. Here BROWSER is the client and WEBSERVER in the remote server is the server. Bind(DNS server) :- Before going to the next session. Lets navigate… how a browser works in finding the IP address of the domain name. If you need a domain name, say www.this-isagoodplace.com, you need it to get it registered from ICANN(ICANN – Internet Corporation for Assigned Names and Numbers). You cannot directly contact them and register a domain. However, there are authorized resellers for domain names called domain registrars (birdfirehosting.com). There is a annual fee for registration. Assume that you have a domain registered www.this-isagoodplace.com. Now you just have the domain name with you. You need to get webhosting space (the space where you site’s file resides) from some provider. Now theses hosts will give their nameservers. (ns1.domains.com and ns2.domains.com). Login to you portal at you domain registrar(you will be provided the login for your clients area when you register domain name). You will have the option to enter the nameservers there. Enter the nameserver which your webhost provides. Here we will enter NOW HOW THE BROWSER WORKS. Browser now has the domain name and IP address. Hence browser now asks the Webserver(Apache software) at the remote server giving it the relevant question (domain name and IP address) and fetches the site. (The DNS working is not exactly the same. I have mentioned this for better understanding. Latest technology involves caching the IP addresses for domain names at local ISP. So browser asks local ISP for IP address rather than the remote server. This saves a lot of time.) Exim (Mail Server) FTP Database server. Now to manage all these softwares easly and handy, the main control panel softwares are installed. HENCE VIA THE CONTROL PANEL SOFTWARE, YOU CAN MANAGE SERVICES LIKE Now you have a basic Idea of what a server has. NOW WE MOVE ON THE PART ON HOW TO OWN A WEBSITE. Under Plans, select a suitable plan for you. You will be asked for domain name which you need an hosting package you require. Once you have purchased the domain name and the package, wait for the welcome mail from the administrator. Assuming that you have registered “www.this-isagoodplace.com”
Copy this code to your notepad and save it as index.html when you take you domain “www.this-isagoodplace.com” in the browser, it will show the page. Now rename the file index.html to test.html using rename. If you take “www.this-isagoodplace.com” Suppose if both index.html and test.html exists, then the result would be index.html page when you call “www.this-isagoodplace.com” via browser and test.html “www.this-isagoodplace.com/test.html” File manger can be used to upload when the number of files which needs to uploaded is less. However, if you need to upload a website with hundreds of pages, it is better to us FTP. Conclusion |
![]() Powered and designed by Presoon.com. |