1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Domain redirecting to /cgi-sys/defaultwebpage.cgi

Discussion in 'General Discussion' started by section31, Dec 1, 2009.

  1. robhf

    robhf New Member

    Joined:
    Dec 20, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I think this is a cache thing. I just did the last part of Eric's fix and it worked fine without all the preceding difficult stuff). So this is the bit that worked "If not, try going directly to a page on your server (i.e. index.html for example), and that will usually force your browser to refresh the content its pulling from the site."
     
  2. sp1k3ster

    sp1k3ster New Member

    Joined:
    Jun 29, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    The issue for me was IPv6 related. Here is the ticket response I got from cPanel:

    This appears to be an issue with IPv6. Since the system has an IPv6 address assigned to it Apache will listen for incoming IPv6 connections. However, since none of the sites or accounts are configured to use IPv6 Apache will just route the request to the default file - /cgi-sys/defaultwebpage.cgi. I tested this further by disabling Apache from listening on IPv6 by commenting out the following from the /usr/local/apache/conf/httpd.conf file:

    Listen[::]:80

    I then restarted Apache, and viewed the page in my web browser as well as through a few proxy connections and I no longer experienced the default page issue. One piece of evidence that brought IPv6 to my attention was this message in the Apache error log:

    [Sun Jun 29 09:03:43 2014] [error] [client 2607:5300:100::502] File does not exist: /usr/local/apache/htdocs/DOMAIN-DIRECTORY

    As you can see the client appears to be accessing or trying to access the site using an IPv6 address and as well we can see it's being directed into the /usr/local/apache/htdocs folder.

    The solution here, will be to either comment out the Listen directive in the Apache configuration for IPv6 or setup IPv6 for the accounts on the system. Setting this up can be done from within WHM >> IP Functions >> IPv6 Ranges and WHM >> IP Functions >> Enable IPv6. If you'd rather stick with IPv4 now, which is what most people are doing I would recommend just commenting out the Listen directive in the httpd.conf file and restarting Apache for the change to take effect.

    If you have any other questions or issues please let me know.
     

Share This Page