Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, my name is Matt, I'm a college student at Cal Poly and I am desperately in need of some advice. Background: I am working on a school project to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    1

    Web Page Hosting; Unable to Connect/Host


    Hi, my name is Matt, I'm a college student at Cal Poly and I am desperately in need of some advice.

    Background:
    I am working on a school project to demonstrate multivendor OS connectivity. I have been assigned a Fedora 5 linux computer on a local area network to host a basic html web page to another computer running windows server 2003. The web page does not need to be seen by the ouside world, just the other computer on the lan.

    Problem:
    I set both computers with static IP addreses on a local area network. From the windows server 2003 computer I am able to ping the IP address of the linux box with a reply, and likewise from the Linux computer to Server 2003 i can ping with a reply. Although, when I directly type the ip address "http://192.168.0.102" into firefox, it gives me an unable to connect error from either the linux or windows machine. I then tried copying the html files into "var/www/html/" and I tried inputting the root of the website into the "Virtual Hosts" section and specifiying the server name to host the website. I then tried starting the httpd service, but it simply gave me the spinning mouse symbol. I also tried typing "http://localhost" into firefox which was also unable to connect.

    Any help would be greatly appreciated.

  2. #2
    Just Joined!
    Join Date
    Jun 2006
    Posts
    1

    webpage hosting

    hi, my name is mohan

    try this..

    in the file httpd.conf, there will be 2 lines such as,

    .....
    #listen serverip :80
    #listen 80
    ......

    uncomment only the first line and enter your linux box's ip address.
    Sometimes leaving the second line uncomment, may create problems.
    Also if you have mentioned the name of the linux box in the servername line in this file, make sure that you have set the DNS.

Posting Permissions

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