Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
okay, I've gone off and confused myself. When I set my router to recieve calls on port 80, do I tell it the ip of the linux machine or the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    Posts
    14

    Apache Mess


    okay, I've gone off and confused myself. When I set my router to recieve calls on port 80, do I tell it the ip of the linux machine or the actuall virtual server which is http://127.0.0.1

    ????

    Oh yeah, i keep putting a html file in the /var/www/html folder and the test page keeps popping up? its called index.html

    RedFox

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    Have you checked what's in /var/www/htdocs?
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

  3. #3
    Just Joined!
    Join Date
    Jul 2005
    Posts
    14
    apache doesn't set up that folder when its installed. Plus all the docs say your suppose to put in it var/www/html folder ???

  4. #4
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    Do a ls -l /var/www/html and post the output..

    Well, the place where you put the files depends on the distro

    So :P
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

  5. #5
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    For the ip you should use the external ip for the machine not the localhost(127.0.0.1) only your machine can connect to the loop back.

  6. #6
    Just Joined!
    Join Date
    Jul 2005
    Posts
    14
    I now the router open up on 80 88 8080 1080 going to the ip of the linux machine. I can open the test page from the lan computer but not from the internet.

    Does anybody know where a good tutorial is about webmin, i can't find a "good" one.

  7. #7
    Just Joined!
    Join Date
    Jul 2005
    Posts
    14
    the default for red hat is var/www/html the ls for that folder is

    index.html

    weird huh?

  8. #8
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    Tried cleaning your browser cache? You should be able to see that index.html you put there and not the Apache default page..
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

  9. #9
    Just Joined!
    Join Date
    Jul 2005
    Posts
    14
    i reformatted, and installed something called webmin, and the var/www/html folder works now? I gues i just needed to start over new,

    if you anybody knows how to use webmin to set up an html web server let me know

  10. #10
    Linux Newbie
    Join Date
    Jun 2005
    Location
    Whitstable, Kent, England
    Posts
    136
    You wont be able to test your external IP unless you are accessing it from an external host or VPNing to an external network. Ask a friend to test it for you when you are on a IRC server of using a messenger service, this is what I do anyway.

    Webmin is pretty easy to set-up and there should be some install instructions on their site. Have a look at this:
    http://www.webmin.com/download.html
    I tend to use the .tar.gz version as it lets you tweak the settings a bit more but is still quite easy to do. If the instructions there arn't making much sense then just post for help, I know the install quite well :P
    The biggest security threat is the user.

Page 1 of 2 1 2 LastLast

Posting Permissions

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