Accessing a website from a different computer

Discussion in 'Apache' started by Phillip Perry, Mar 2, 2014.

  1. #1
    I have 3 computers on the same network. One running apache2 on Ubuntu 12.04 and the others with Windows7. I want to access the website I set up from a Windows machine. When I type in the URL, domain.com, I get a 404 error. When I type in 127.0.1.1/domain.com I get the directory listing for the website. I have to actually type 127.0.1.1/domain.com/public_html/ before the website can actually be seen. Is there a way to avoid that? I don't mind the 127. part, but I would like to get rid of the public_html part. I am brand new to all this.
     
    Phillip Perry, Mar 2, 2014 IP
  2. cesurasean

    cesurasean Active Member

    Messages:
    269
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #2
    You need to check your apache config virtual hosts, as these seem to be setup improperly.
     
    cesurasean, Mar 6, 2014 IP