How to Fix /cgi-sys/defaultwebpage.cgi in Cpanel

First, check the domain’s A record, check dns zone and use commands like host, dig A to get this.

Then search the virtualhost entry of that domain apache conf (/usr/local/apache/conf/httpd.conf)

If he domain in question is “domain.com”, Search for domain.com in your apache conf. You can see some entries as follows.

——

<VirtualHost 10.10.10.10:80>
ServerName domain.com
ServerAlias http://www.domian.com
DocumentRoot /home/domain/public_html

——

The domain is set to on 10.10.10.10 in apache conf, so the domain should have A record set to 10.10.10.10 and the domain should resolve to 10.10.10.10 from all around the world to get the wesbite, otherwise it will give cPanel default page.

There is another fix on this issue :

First find the error with google.
After googling few times finally here is the fixed.

- Update Cpanel to Bleeding EDGE
– Run upcp to retrieve Cpanel Bleeding EDGE tree

IMPORTANT : Bleeding EDGE is not recommended, Bleeding EDGE is just to retrieve a bug fixed. STABLE release is recommended for all cpanel production server.

Here is the steps to fixed

Login into WHM
http://domain.com:2086
user : root
pass : [root password]

Click “update preferences” on the left menu under Server Configuration
Click “Manual Updates Only (bleeding EDGE tree)”
Click SAVE

Login into the server with root access Running update script
$/scripts/upcp –force

Rebuild httpd.conf
$/scripts/rebuildhttpdconf

Restart cpanel dan httpd
$/etc/init.d/cpanel restart
$/etc/init.d/httpd restart

Final step is try to access the trouble site with your web browser.
If the problem persist try to CLEAR your Browser CACHE

About these ads
    • Sam
    • August 14th, 2010

    Thanks, you just saved my life!

  1. Thanks for this great article. /cgi-sys/defaultwebpage.cgi has eaten my two days. Now I will try to follow your steps to get rid off.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: