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

Spetsnaz

Well-Known Member
Jun 25, 2011
78
0
56
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.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
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.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
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.
 

Spetsnaz

Well-Known Member
Jun 25, 2011
78
0
56
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.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
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.
 

Spetsnaz

Well-Known Member
Jun 25, 2011
78
0
56
cPanel Access Level
Website Owner
[email protected] [~]# grep -i ip /var/cpanel/userdata/spetsnaz/spetsnazhostasia.spetsnazhost.com
ip: 37.0.124.66
scriptalias:
[email protected] [~]#

- - - Updated - - -

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

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
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!