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.

very strange issue

Discussion in 'General Discussion' started by chadi, Aug 15, 2004.

  1. chadi

    chadi BANNED

    Joined:
    Apr 20, 2004
    Messages:
    415
    Likes Received:
    0
    Trophy Points:
    0
    I am having a very strange issue with a client's domain.

    The domain is properly pointing to our nameservers and fully propagated. Pinging is just fine. www.hisdomain.com/cpanel works fine as well. I checked named.conf and the info is there as well. Even restarted BIND for the sake of it but yet the problem here is that his domain www.domain.com is showing up as page not found.

    All his data is inside public_html directory and permissions are fine.

    What on earth could cause this?
     
  2. fwwebs

    fwwebs Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    16
    Check his error logs.
     
  3. chadi

    chadi BANNED

    Joined:
    Apr 20, 2004
    Messages:
    415
    Likes Received:
    0
    Trophy Points:
    0
    Where in ssh would I find his own error logs?
     
  4. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Log in to your server as root via your favourate SSH client.

    Tail the apache error log file as such:

    tail -f /usr/local/apache/logs/error_log

    Then try loading the page via your browser and you should see an error message or 2 pop up in the log file in your ssh session.
     
  5. chadi

    chadi BANNED

    Joined:
    Apr 20, 2004
    Messages:
    415
    Likes Received:
    0
    Trophy Points:
    0
    Thank you both for your prompt help. There was nothing in the logs regarding his domain.

    This is very strange. Any other suggestions?
     
  6. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Is there an .htaccess file in his public_html area? Check for that, check the index file to ensure it is not doing a redirect or anything.

    Use a program like webbug to see what the headers for the site loading are like.
     
  7. chadi

    chadi BANNED

    Joined:
    Apr 20, 2004
    Messages:
    415
    Likes Received:
    0
    Trophy Points:
    0
    There is two files in is public_html directory...

    .htaccess 0 k 644
    .htaccess.suspend 0 k 644

    Also, there is no redirect in his index.html file either (which is also on 644 permissions).

    I even tried a "test" index.html file of my own and still doesn't work.
     
  8. chadi

    chadi BANNED

    Joined:
    Apr 20, 2004
    Messages:
    415
    Likes Received:
    0
    Trophy Points:
    0
    Here are the results for webbug:

    HTTP/1.1 200 OK
    Date: Mon, 16 Aug 2004 01:42:35 GMT
    Server: Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.8 FrontPage/5.0.2.2634a mod_ssl/2.8.19 OpenSSL/0.9.7a
    X-Powered-By: PHP/4.3.8
    Connection: close
    Content-Type: text/html
     
Loading...

Share This Page