Chapter: Internet & World Wide Web HOW TO PROGRAM - Rich Internet Application Server Technologies - Web Servers (IIS and Apache)

| Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail |

Accessing Web Servers

To request documents from web servers, users must know the hostnames on which the web server software resides.

Accessing Web Servers

 

To request documents from web servers, users must know the hostnames on which the web server software resides. Users can request documents from local web servers (i.e., ones residing on users’ machines) or remote web servers (i.e., ones residing on different ma-chines).

 

Local web servers can be accessed through your computer’s name or through the name localhost—a hostname that references the local machine and normally translates to the IP address 127.0.0.1 (known as the loopback address). We sometimes use localhost in this book for demonstration purposes. To display the machine name in Windows XP, Windows Server 2003, Windows Vista, Mac OS X or Linux, run the hostname command in a command prompt or terminal window.

 

A remote web server referenced by a fully qualified hostname or an IP address can also serve documents. In the URL  http://www.deitel.com/books/downloads.html, the middle portion,  www.deitel.com, is the server’s fully qualified hostname.

 

Windows Firewall Settings

If you’d like to test your web server over a network, you may need to change your Win-dows Firewall settings. For security reasons, Windows Firewall does not allow remote ac-cess to a web server on your local computer by default. To change this, open the Windows Firewall utility in the Windows Control Panel. Click the Advanced tab and select your network connection from the Network Connection Settings list, then click Settings…. On the Services tab of the Advanced Settings dialog, ensure that Web Server (HTTP) is checked.

 

Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail


Copyright © 2018-2020 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.