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.

Domain always redirecting to /cgi-sys/defaultwebpage.cgi

Discussion in 'General Discussion' started by Spetsnaz, Sep 8, 2012.

  1. Spetsnaz

    Spetsnaz Well-Known Member

    Joined:
    Jun 25, 2011
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    So my domain I put index.html index.php and so on to see if it fixed the problem but still nothing.
    Everytime I visit the domain or tell someone else they go to domain.com/cgi-sys/defaultwebpage.cgi automatically.
    I have update my server to latest version maybe it was a problem but it's still the same version so it's not cpanel version.
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Does the IP in httpd.conf match the IP in the DNS zone on digs for the domain name?

    Code:
    grep -i ip /var/cpanel/userdata/username/domain.com
    dig +short domain.com
    Please change username to match the cPanel username and change domain.com to match the domain name.

    Of note, if the domain is an addon domain, please replace domain.com in the path to /var/cpanel/userdata/username/sub.domain.com instead where sub.domain.com is the subdomain name.
     
  3. Spetsnaz

    Spetsnaz Well-Known Member

    Joined:
    Jun 25, 2011
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    root@server1 [~]# dig +short spetsnazhost.asia
    37.0.124.66

    root@server1 [~]# grep -i ip /var/cpanel/userdata/spetsnaz/spetsnazhost.asia.spetsnazhost.com
    grep: /var/cpanel/userdata/spetsnaz/spetsnazhost.asia.spetsnazhost.com: No such file or directory
    root@server1 [~]#
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    There's no way that spetsnazhost.asia.spetsnazhost.com could possibly be the domain's name for that file name. cd to the /var/cpanel/userdata/spetsnaz folder and check the files there to see the file's name.
     
  5. Spetsnaz

    Spetsnaz Well-Known Member

    Joined:
    Jun 25, 2011
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    Well I mean spetsnazhost.asia is a domain name and I thought you meant as a addon domain type in that.
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    If it is an addon domain, you'd type the subdomain name not the addon domain name on top of the main domain. Cd to the folder, you should be able to figure out what the file is named from there.
     
  7. Spetsnaz

    Spetsnaz Well-Known Member

    Joined:
    Jun 25, 2011
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    root@server1 [~]# grep -i ip /var/cpanel/userdata/spetsnaz/spetsnazhostasia.spetsnazhost.com
    ip: 37.0.124.66
    scriptalias:
    root@server1 [~]#

    - - - Updated - - -

    so basically it is pointed to the IP but just redirecting to /cgi-sys/defaultwebpage.cgi always
     
  8. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    We are going to have to have access to the machine to check the settings further. Please submit a ticket to us using WHM > Support Center > Contact cPanel or using the link in my signature. Please post the ticket number here afterward, so we can check the status for resolving the issue.

    Thanks!
     
Loading...

Share This Page