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.

Redirecting To /cgi-sys/defaultwebpage.cgi Page

Discussion in 'Bind / DNS / Nameserver Issues' started by Ricardo Rodrigues, Jun 20, 2016.

  1. Ricardo Rodrigues

    Ricardo Rodrigues Registered

    Joined:
    Jun 20, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Aveiro
    cPanel Access Level:
    Website Owner
    Hi everyone and greetings from Portugal!
    I'm having an hard problem after an server upgrade.
    After the server upgrade our clients have this problem: Domain Redirecting To /cgi-sys/defaultwebpage.cgi.

    - Removed -

    I tried to solve the problem with w3 total cache doing "empty cache" or put some code in the .htacces :

    Code:
    # Optimize cache-control
    <IfModule mod_expires.c>
        ExpiresActive on
        ExpiresDefault "access plus 1 month"
        ExpiresByType image/gif "access plus 1 month"
        ExpiresByType image/png "access plus 1 month"
        ExpiresByType image/jpg "access plus 1 month"
        ExpiresByType image/jpeg "access plus 1 month"
        ExpiresByType text/html "access plus 3 days"
        ExpiresByType text/xml "access plus 1 seconds"
        ExpiresByType text/plain "access plus 1 seconds"
        ExpiresByType application/xml "access plus 1 seconds"
        ExpiresByType application/rss+xml "access plus 1 seconds"
        ExpiresByType application/json "access plus 1 seconds"
        ExpiresByType text/css "access plus 1 week"
        ExpiresByType text/javascript "access plus 1 week"
        ExpiresByType application/javascript "access plus 1 week"
        ExpiresByType application/x-javascript "access plus 1 week"
        ExpiresByType image/x-ico "access plus 1 year"
        ExpiresByType image/x-icon "access plus 1 year"
        ExpiresByType application/pdf "access plus 1 month"
      <IfModule mod_headers.c>
           Header unset ETag
           Header unset Pragma
           Header unset Last-Modified
           Header append Cache-Control "public, no-transform, must-revalidate"
           Header set Last-modified "Thu, 21 Oct 2015 10:10:10 GMT"
      </IfModule>
    </IfModule>
    
    <IfModule mod_deflate.c>
      # Compress HTML, CSS, JavaScript, Text, XML and fonts
      AddOutputFilterByType DEFLATE application/javascript
      AddOutputFilterByType DEFLATE application/rss+xml
      AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
      AddOutputFilterByType DEFLATE application/x-font
      AddOutputFilterByType DEFLATE application/x-font-opentype
      AddOutputFilterByType DEFLATE application/x-font-otf
      AddOutputFilterByType DEFLATE application/x-font-truetype
      AddOutputFilterByType DEFLATE application/x-font-ttf
      AddOutputFilterByType DEFLATE application/x-javascript
      AddOutputFilterByType DEFLATE application/xhtml+xml
      AddOutputFilterByType DEFLATE application/xml
      AddOutputFilterByType DEFLATE font/opentype
      AddOutputFilterByType DEFLATE font/otf
      AddOutputFilterByType DEFLATE font/ttf
      AddOutputFilterByType DEFLATE image/svg+xml
      AddOutputFilterByType DEFLATE image/x-icon
      AddOutputFilterByType DEFLATE text/css
      AddOutputFilterByType DEFLATE text/html
      AddOutputFilterByType DEFLATE text/javascript
      AddOutputFilterByType DEFLATE text/plain
      AddOutputFilterByType DEFLATE text/xml
    
      # Remove browser bugs (only needed for really old browsers)
      BrowserMatch ^Mozilla/4 gzip-only-text/html
      BrowserMatch ^Mozilla/4\.0[678] no-gzip
      BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
      Header append Vary User-Agent
    </IfModule>
    
    # BEGIN Cache-Control Headers
    <IfModule mod_headers.c>
    <filesMatch "\.(ico|jpe?g|png|gif|swf)$">
    Header set Cache-Control "public"
    </filesMatch>
    <filesMatch "\.(css)$">
    Header set Cache-Control "public"
    </filesMatch>
    <filesMatch "\.(js)$">
    Header set Cache-Control "private"
    </filesMatch>
    <filesMatch "\.(x?html?|php)$">
    Header set Cache-Control "private, must-revalidate"
    </filesMatch>
    </IfModule>
    # END Cache-Control Headers
    
    # keep alive headers
    <ifModule mod_headers.c>
        Header set Connection keep-alive
    </ifModule>
    
    But witout success.
    Anyone can give me some feedback any solution?

    Thanks a lot!
     
    #1 Ricardo Rodrigues, Jun 20, 2016
    Last edited by a moderator: Jun 20, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,807
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you verify the IP address assigned to the domain name on the cPanel server matches the IP address the domain names resolve to? Also, let us know if you notice any error messages when running the following command:

    Code:
    /scripts/rebuildhttpdconf
    Thank you.
     
Loading...

Share This Page