How do websites work?
--Before you begin creating your own website and launch it to the Internet, it’s important to know how websites work. Here are some basic terms:-
? A website is simply a collection of web pages of codes – codes that describes the layout, format and content on a page. ? The web server is a internet-connected computer that receives the request for a web page sent by your browser. ? The browser connects your computer to the server through an IP address. The IP address is obtained by translating the domain name. (Don’t worry, this part is all done automatically by your browser so you don’t have to look up the IP addresses yourself.?
领英推荐
--*How it all comes together?
Say you open your web browser and type in a domain name, your browser will display the web pages of the domain name you’ve entered. But have you wondered how your web browser knows what information to display? Each website will have a website address, or a domain name, and each domain name is tied to the IP address of the web server it resides on. IP addresses are managed and tracked via the Domain Name Server (or DNS for short). DNS works very similarly to the Contacts app on your mobile phone – you open up the Contacts app, type in a person’s name and your mobile phone returns with the person’s phone number and other contact information you might have entered. You can then decide if you want to call, email or text that person. When you type in a domain name in your web browser, your web browser is actually conducting a series of inquiries that include looking up the IP address of the domain name, locating the web server that hosts the web pages of the domain name, submitting a request to that server for a copy of the web page(s), receiving the web page(s) from the server and finally translating the codes on the web page to present the information on your screen.?