The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Index's not working

Discussion in 'General Discussion' started by hosttosucceed, Oct 22, 2006.

  1. hosttosucceed

    hosttosucceed Member

    Joined:
    Oct 22, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    I have set up hosttosucceed.com and boeckmanbodyshop.com and when I go to them I see the cpanel placeholders, however when i put a new index.html file into the public_html directory of either of these domains the placeholder still comes up, and when i try to navigate to any other type of file i put in the direct a 404 file not found error comes up, although i can see the file in the directory using ftp, and file manager. How do I fix this?

    Output of apache server status

    1-0 22305 0/16/16 _ 0.02 563 0 0.0 0.04 0.04 65.126.161.171 localhost.localdomain GET /banner.gif HTTP/1.1

    This doesnt look right, shouldnt it be trying to get it from hosttosucceed.com?, not localhost.localdomain
     
    #1 hosttosucceed, Oct 22, 2006
    Last edited: Oct 22, 2006
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    You have some errors in your dns record with name servers and other things but the A records match fine.

    It seems like the error is probably in your httpd.conf Look in there and be sure the entry is pointing to the correct location and double check the IP address as well. If you changed things such as user name or anything like that once or twice, then httpd.conf may be pointing to the previous user directory and not the new one.
     
  3. hosttosucceed

    hosttosucceed Member

    Joined:
    Oct 22, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    NameVirtualHost 66.191.78.82:80

    <VirtualHost 66.191.78.82>
    ServerAlias boeckmanbodyshop.com
    ServerAdmin webmaster@boeckmanbodyshop.com
    DocumentRoot /home/boeckman/public_html
    BytesLog domlogs/boeckmanbodyshop.com-bytes_log
    ServerName www.boeckmanbodyshop.com

    User boeckman
    Group boeckman
    CustomLog /usr/local/apache/domlogs/boeckmanbodyshop.com combined
    ScriptAlias /cgi-bin/ /home/boeckman/public_html/cgi-bin/
    </VirtualHost>


    Hrmm I looked in the httpd.conf file but this looks correct.

    This is the 404 error that comes up
    The requested URL /banner.gif was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/1.3.37 Server at server.hosttosucceed.com Port 80

    !!!Just figured something out, if you go to the ip address of the server 66.191.78.82 and type in the username of whatever site you want to go to example 66.191.78.82/~boeckman it works however going to www.boeckmanbodyshop.com doesnt? why is that?
     
    #3 hosttosucceed, Oct 22, 2006
    Last edited: Oct 22, 2006
  4. mohit

    mohit Well-Known Member

    Joined:
    Jul 12, 2005
    Messages:
    553
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sticky On Internet
    comes up fine from India

    hi,
    yoru site boeckmanbodyshop.com comes up fine from my end.

    it may be your DNS was not fully propogated when you tried to access it earlier.

    see ya,
    mohit
     
Loading...

Share This Page