Find the answer to your Linux question:
Results 1 to 3 of 3
How can I make the contents of my public_html folder accessible from other computers given that I know my ip address. I can currently view http://127.0.0.1/filename and I'd like to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    1

    http server through ip address


    How can I make the contents of my public_html folder accessible from other computers given that I know my ip address. I can currently view http://127.0.0.1/filename and I'd like to be able to see http://XXX.X.X.X/filename? Here's some info from the bottom of the localhost screen.
    Apache/2.0.55 (Ubuntu) PHP/5.1.2 Server at 127.0.0.1 Port 80
    Thanks.

  2. #2
    Linux Enthusiast
    Join Date
    Dec 2004
    Posts
    637
    Determine your external (dynamic or static) IP address and forward TCP port:80 to the IP address of your Ubuntu server. Now, from the Internet type http://youripaddress and assuming proper setup - should work. You can also register your dynamic IP address with a Dynamic DNS provider so that you can utilize your own domain name for easier management.

  3. #3
    Just Joined!
    Join Date
    Jun 2006
    Location
    (.)
    Posts
    69
    You care create alias of that directory with

    Options +indexes parameter in your apache server

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •