A web server is a software to publish content on the web, like Apache or Nginx. And a Proxy server is used to display the content loaded from another server. So with a proxy server, you will not see the IP of the origin server because all connections will be done under the proxy : Client > Proxy > Origin server.
Web server is main server like Apache Tomcat etc , it contain all information which provide on client request
Proxy server is act like main server which store same information or cache to avoid load on web server
Web server acts as the interface between browser and the main physical server. Whenever the information is requested through the browser the data is fetched from the web server, mainly the static content is delivered by the web server.
Proxy server intercepts all requests to the real server to see if it can fulfill the requests itself. If not, it forwards the request to the real server.
A proxy server is a more broad term. A web intermediary is a proxy server for web, yet you can have a proxy server for an alternate kind of administrations like email (SMTP or pop3/imap) where the antivirus can straightforwardly channel the correspondence or MySQL intermediary server or some other intermediary server you have the motivation to assemble or utilize.:clap:
"Web server" can refer to hardware or software, or both of them working together.
On the hardware side, a web server is a computer that stores web server software and a website's component files. It is connected to the Internet and supports physical data interchange with other devices connected to the web.
On the software side, a web server includes several parts that control how web users access hosted files, at the minimum an HTTP server. It can be accessed through the domain names of websites it stores and delivers their content to the end user's device.
If the server is providing web services, then we can call it as werbserver. The webserver responsible for handling the web requests from the web browsers and provide the information to the user. Like webmastersun.com is providing the data by accessing the web server.
Next is proxy server
The proxy server can be different in types
1. forward proxies - internal proxy server, user is restrictred with some websites and monitor the traffic with data filtering and user can connect the internet only via proxy server .
2.Open proxies - They are providing another type proxy for concealing your IP address. They allow you to browse anonymously by protecting your privacy.
3. Reverse proxies - Eg- Nginx - A reverse proxy server is a type of proxy server that typically sits behind the firewall in a private network and directs client requests to the appropriate backend server. A reverse proxy provides an additional level of abstraction and control to ensure the smooth flow of network traffic between clients and servers.