Unit 2 Ip
Unit 2 Ip
Internet Programming
Unit - II
World Wide Web (WWW)
In other words, WWW is a client-server based architectural framework that uses the Internet to access linked
webpages stored at various web servers using a web browser via the HTTP protocol.
Web Browser
A browser is a software program that is used to explore, retrieve, and display the information available on the
World Wide Web. This information may be in the form of pictures, web pages, videos, and other files that all
are connected via hyperlinks and categorized with the help of URLs (Uniform Resource Identifiers). The most
commonly used web browsers are Internet-Explorer, Firefox, Google Chrome, etc.
Web Servers
A web server is a computer that runs websites. It's a computer program that distributes web pages as they are
requisitioned. The basic objective of the web server is to store, process and deliver web pages to the users.
This intercommunication is done using Hypertext Transfer Protocol (HTTP). Types of web servers are:
• Apache HTTP Server. This is the most popular web server in the world developed by the Apache
Software Foundation.
URL
A URL is a type of uniform resource identifier and is address of a resource on the World Wide Web and the
protocol used to access it. It is used to indicate the location of a web resource to access the web pages. A URL
(Uniform Resource Locator) contains the information, which is as follows:
For Example:
http://www.yahoo.com
Here, the first part of the URL specifies the protocol that will be used to retrieve the specific file. The various
protocols that can be used are http, ftp, etc.
The second part of the URL specifies the domain name of the server on which the file resides. The domain is
prefixed with :// i.e. colon and two slashes.
URL can also contain a port number of the server which is optional. Web servers normally run on port number
80.
Advantages of FTP:
o Speed: One of the biggest advantages of FTP is speed. The FTP is one of the fastest ways to transfer
the files from one computer to another computer.
o Efficient: It is more efficient as we do not need to complete all the operations to get the entire file.
o Security: To access the FTP server, we need to login with the username and password.
Therefore, we can say that FTP is more secure.
o Back & forth movement: FTP allows us to transfer the files back and forth. Suppose you are a
manager of the company, you send some information to all the employees, and they all send
information back on the same server.
Disadvantages of FTP:
o FTP serves two operations, i.e., to send and receive large files on a network. However, the size
limit of the file is 2GB that can be sent. It also doesn't allow you to run simultaneous transfers to
multiple receivers.
o Passwords and file contents are sent in clear text that allows unwanted eavesdropping. So, it is quite
possible that attackers can carry out the brute force attack by trying to guess the FTP password.
o It is not compatible with every system.
There are two types of HTTP messages, requests and responses, each with its own format
HTTP Request: The http request consists of a series of lines which contains request line, header fields and
optionally contents of the message.
Search Engine:
A search engine is a program that helps the internet users to locate information on the World Wide Web. A
web search engine is actually a massive database that contains references to thousands of Internet resources
such as webpages, usenet news groups, programs, images, etc. The users interact with these databases by
specifying some keywords such as a word, phrase or some other criteria.
There are many search engines available and each is different in their scope, search protocol and appearance.
Generally there are three basic components of a search engine:
1. Web Crawler: It is also known as spider or bots. It is a software component that traverses the web to
gather information.
2. Database: All the information on the web is stored in database. It consists of huge web resources.
3. Search Interfaces: This component is an interface between user and the database. It helps the user to
search through the database.
Google It was originally called BackRub. It is the most popular search engine globally.
Bing It was launched in 2009 by Microsoft. It is the latest web-based search engine that
also delivers Yahoo’s results.
Ask It was launched in 1996 and was originally known as Ask Jeeves. It includes
support for match, dictionary, and conversation question.
Alexa It is subsidiary of Amazon and used for providing website traffic information.
Web Publishing:
Website publishing is the process of uploading content on the internet. It includes:
• uploading files
• updating web pages
• posting blogs
.edu Education
Registering a Domain Name is very simple. The following step is required to get the desired domain name
registered:
• Think of a name that justifies your business need. To find out the available names you can enter a
name at commercial domain name registrar such as GoDaddy.
• If the domain name entered is available, then select that particular domain name.
• Now it will ask for other additional services such as Email inbox, hosting etc. Choose the services that
required.
• Now they will ask for user personal information which is stored in WHOIS database.
• It will then ask for payment information. Pay for the purchase you have made. Make sure you enter
the correct payment information.
• Once all above steps are completed, user is ready to use their tools to upload the stuff to the site.
1. Blue Host
2. Go Daddy
3. Host Gator
4. just Host
5. Wired Tree
7. Wix
Maintain and Updating
Website maintenance is the act of regularly checking the website for issues and mistakes and keeping it
updated and relevant. This should be done on a consistent basis in order to keep the website healthy, encourage
continued traffic growth, and Google rankings.
Keeping a website well maintained and attractive is important to companies in order to engage and retain
customers. Website maintenance can easily become one of those things as it doesn’t always present immediate
issues. Regular monitoring of the website is a must for keeping the business running smoothly.
Few tasks that are helpful for maintaining and updating the websites are:
1. Check that all the web pages are loading without errors.
2. Make updates to website software and plug-ins.
3. Check that all of forms on websites are running properly.
4. Remove any spam comments from pages and posts.
5. Check the load speed of your website and ensure that nothing is bogging it down.
6. Review the security scans and make sure nothing is out of place
7. Ensure that the website domain name is renewed