Wednesday, 4 July 2012

How to acess the webpage

When we have to acess the webpage then firstly we have to start the web browser and then enter the the address into the address bar i.e. http://localhost/
Whenever we connect to a remote computer using it's URL then we call it by its hostname. For e.g. http://www.google.com/
When we type the above URL then we ask the network to connect to a computer named www.google.com . This is called as the "hostname" of that computer. Localhost is a special hostname. It always references its own machine.  For testing all its pages, we will need to use localhost as the hostname. This is also a special IP address that is associated with its localhost i.e. 127.0.0.1
We can also write as http://127.0.0.1/
And we will receive the same page.

No comments:

Post a Comment