Learning about web servers

  • Thread starter Chromium
  • Start date
  • Tags
    Web
In summary, the conversation discusses the use of different ports for different protocols, the purpose of network protocols, and a request for articles on web infrastructure. It also mentions the possibility of running servers on ports other than 80 and the existence of HTTPS as a secure version of HTTP.
  • #1
Chromium
56
0
hey everyone,

i'm starting to learn how to use Apache, and so I've been reading up on web servers in general. I just have a few questions:

1) Different ports are reserved for different protocols, right? For example, HTTP is always done on port 80?

2) Network protocols (e.g. FTP, HTTP, etc.) just describe how two or more computers "communicate", right?

If anyone has any interesting and/or cool articles on web infrastructure in general, could you post the links here?

thanks,

--Jonathan
 
Computer science news on Phys.org
  • #2
Chromium said:
Different ports are reserved for different protocols, right? For example, HTTP is always done on port 80?
Kind of, some mostly by convention. list, and not all ports are reserved. Port assignments and the lack thereof have all sorts of computer security implications.

Network protocols (e.g. FTP, HTTP, etc.) just describe how two or more computers "communicate", right?
Basically, but from a technical standpoint they're specifications for how data is packed,unpacked, sent, and received.


If anyone has any interesting and/or cool articles on web infrastructure in general, could you post the links here?
Some of the original DARPA documents concerning ARAPNET are pretty cool from a historical standpoint. Start at wiki.
 
  • #3
Chromium said:
HTTP is always done on port 80?

No. Apache's httpd.conf file contains a directive that specifies which port that server runs on. Special-purpose servers often run on a different port from 80, one that doesn't conflict with anything else that server runs, of course. For example, administrative access to the mail server where I work is via a Web interface on port 8080 or 8100 or something like that.
 
  • #4
There is also HTTPS which is the secure version of HTTP. It runs on port 443.

Here is an interesting walk-through:
http://www.isecom.org/hackerhigh school.org/lessons/HHS_en3_Ports_and_Protocols.pdf [Broken]
 
Last edited by a moderator:
  • #5


Hello Jonathan,

It's great to hear that you are learning about web servers and specifically Apache. To answer your questions:

1) Yes, different ports are reserved for different protocols. These ports allow for different types of data to be transmitted between computers. For example, HTTP is typically done on port 80, while FTP is done on port 21.

2) You are correct, network protocols describe how computers communicate with each other. They provide a set of rules and guidelines for the exchange of data between devices.

As for interesting articles on web infrastructure, I would recommend checking out the documentation and resources provided by Apache itself. Additionally, there are many online resources and tutorials available that can help you deepen your understanding of web servers and their role in the internet. I encourage you to continue your learning and exploration of this topic. Best of luck in your studies!

Sincerely,
 

What is a web server?

A web server is a computer or program that stores and distributes web pages to clients over the internet.

What is the role of a web server?

The main role of a web server is to deliver web content, such as HTML pages, images, and other files, to clients that request them through a web browser.

What are the different types of web servers?

There are several types of web servers, including Apache, Nginx, Microsoft IIS, and Google Web Server. Each has its own features and capabilities, but they all serve web content to clients over the internet.

How does a web server work?

When a client requests a web page, the web server receives the request and retrieves the necessary files from the server's storage. It then sends these files back to the client's web browser, which then renders the web page for the user to view.

What are some common features of web servers?

Some common features of web servers include security measures such as SSL encryption, server-side scripting support, and the ability to handle multiple requests at once. They also often have logging capabilities to track and analyze website traffic.

Similar threads

  • Programming and Computer Science
Replies
17
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
10
Views
1K
Replies
5
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
700
  • Programming and Computer Science
Replies
1
Views
600
Replies
23
Views
50K
  • Computing and Technology
Replies
4
Views
3K
  • Computing and Technology
Replies
4
Views
2K
Replies
1
Views
728
Replies
2
Views
794
Back
Top