Apache is software that accepts HTTP/HTTPS requests on the web. When a browser requests an Internet address, this request lands on the web server via a DNS server. There, an Apache usually listens on ports 80 and 443, passes the request to the responsible software such as PHP for processing, and returns the result to the browser.