Interview Questions

How to access Apache server from another machine ?

Follow the steps below to access Apache server from another machine

1.) Open httpd.conf file
2.) Make the below changes

    #your complete root directory address
    <Directory "var/*/www">
     Order allow, deny
     Allow from all
    </Directory>
     

3.) After changing, you need to restart your apache server.
    Then you can access from out side your own machine

Note: If you need to access from internet (i.e.) from anywhere on earth.
      you would have to have real(public) IP address.

5
Average: 5 (2 votes)
Your rating: None