Is Apache or IIS or a similar service actually required to make web content available to the internet? For example, say I had web content at /var/www/index.html. If a user fired up a browser and navigated to http://www.myaddress.com/var/www/html.index could their browser resolve that web content? Or does http actually require the server to be running a web service that can respond to http?
closed as off-topic by joeqwerty, masegaloeh, mdpc, womble♦, MadHatter Aug 3 '15 at 0:32
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – mdpc, womble, MadHatter
If there is no (web)server installed or running, no service is listening. If there ist no server listening, the client can't connect and will run into a "Connection refused" error.
A very nice explanation how the communication of a client and a server works, can be found here: http://www.thegeekstuff.com/2011/11/tcp-ip-fundamentals/