Site redirecting to /cgi-sys/defaultwebpage.cgi

rezman

Well-Known Member
Feb 3, 2011
45
0
56
USA
cPanel Access Level
Root Administrator
Just started today and only for one account on a Cpanel server that has around 90 accounts and 200 domains.

Going to http://www.domain.com/ will always get redirected to http://www.domain.com/cgi-sys/defaultwebpage.cgi however if I go to http://www.domain.com/index.php or any other file it works just fine. There is no .htaccess file. I even tared up the public_html folder, deleted the account, set an new account up on the same server and untared the files back. Still same problem. I even did the same but put the account on another Cpanel server and same problem.
 

Kristian0911

Member
Jan 17, 2011
22
0
51
Hello,

You will need to check httpd.conf file and check the entry for the domain name. Confirm the server IP address for the domain name. Restart Httpd server once the changes are been made.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Please Which Place............... check httpd.conf pls Explain ............ Setp By Step................
This was an older thread. To clarify, are you having the exact same issue? If so, please make sure your domain name points to the same IP address it's assigned on the cPanel server. You can rebuild the Apache configuration file via:

Code:
# /scripts/rebuildhttpdconf
This can sometimes resolve these types of issues, however, typically it's the result of browser or DNS cache.

Thank you.
 

pwhjenny

Well-Known Member
Aug 31, 2012
138
0
91
cPanel Access Level
Root Administrator
If it works when you access site with index.php then make sure you have configured directoryindex.

WHM -> Service Configuration -> Apache Setup -> DirectoryIndex Priority
 

000

Well-Known Member
Jun 3, 2008
535
29
78
I have IDENTIC problem.

And my WHM no have this menu:

WHM -> Service Configuration -> Apache Setup -> DirectoryIndex Priority

ONLY:
WHM -> Service Configuration

Please help.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
I have IDENTIC problem.
Please explain the specific issue you are encountering. Please make sure your domain name points to the same IP address it's assigned on the cPanel server.

Thank you.