Find the answer to your Linux question:
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 30
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11

    I'm not on linux right now

    I'm not on linux right now so the IPs def won't work, even though i know they dont anyway :P
    Anyway... just thought I'd let you know....

  2. #12

    The port 80 on the Public IP Address is opened I just checked that by doing a telnet on port 80. Now, can you confirm to me if you had made a entry in the /etc/hosts file for the Private IP Address i.e with a corresponding hostname and specified the same hostname in the httpd.conf file for the Apache Web Server. It shud work then.

    Can somebody explain that to me? Step by step?

  3. #13


    Sorry about the four posts in a row just I have more information.
    I finally understood what KidCLoudWala said and this is what it says in the hosts file... localhost
    What do I need to write in that file and httpd.conf?

  4. $spacer_open
  5. #14

    In the /etc/hosts file make an entry <hostname of the computer> and in the httpd.conf specify the hostname against the ServerName.


  6. #15


    Sorry this is a bit of a bad question because I knew where it was when I manually installed apache before but now that ive installed it whilst installing linux, I'm not sure where it has put it. Where does mandrake linux 10.1 install the httpd.conf file to?

  7. #16

    Try to locate the file using the command locate httpd.conf and make ane entry to it.


  8. #17

    I tried

    I tried this but it didn't work, it works when I try and go to it but not when others do. Have I done this correctly:

    In the /etc/hosts file: localhost sftrhost
    And in the httpd.conf file:
    ### Main Configuration Section
    ### You really shouldn't change these settings unless you're a guru
    ServerType standalone
    ServerRoot /etc/httpd
    #ServerName sftrhost
    #LockFile /etc/httpd/httpd.lock
    PidFile /var/run/
    ScoreBoardFile /etc/httpd/httpd.scoreboard
    ErrorLog logs/error_log
    LogLevel warn
    ResourceConfig /dev/null
    AccessConfig /dev/null
    DocumentRoot /var/www/html
    Whats wrong?

  9. #18

    Uncomment this entry: #ServerName sftrhost


  10. #19


    I did that... should it work now? I've tried giving people my IP address ( but still it doesn't work. Am I giving them the correct one?
    They say it just says the URL does not exist... though it has connected to my computer. Am I putting my files in the correct folder? /var/www/html/ ?

    Not on linux at the moment... if you need me to be, just post and ask

  11. #20
    did you setup port mapping or something from your router to your linux box?

Posting Permissions

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