WHM/cPanel

Fixing Domain Redirecting To /cgi-sys/defaultwebpage.cgi

Sometimes when you create or move cPanel account from one server to another or if you change the IP address of the website , you or your clients may experience redirecting to cgi-sys/defaultwebpage.cgi using 301 to default cgi-sys apache as following

    
     yorudomain.com/cgi-sys/defaultwebpage.cgi

    
   

Why cPanel redirecting to /cgi-sys/defaultwebpage.cgi

The problem that this redirect action can be remembered by your ISP, your OS and by your Browser. And in most cases its took long times few hours or few days , and its need clients browsers cache , to quick fix for the problem you can use .htaccess file by disabling CGI .
    
     Options -ExecCGI
    
   

Fix Domain Redirecting to /cgi-sys/defaultwebpage.cgi on changing IP Address

In some scenario you change the IP by editing the DNS zone file for the domain and changing the Nameservers and all A records to the new IP and you still seeing that the domain is rejecting to yourdomain.com/cgi-sys/defaultwebpage.cgi . The reason that its still using the Old IP address on apache configuration file . to work around the problem and fix it , you have to change the IP address from the WHM control panel interface for the that domain by selecting the cPanel account that own the domain, to start fix the problem you need to follow the next simple steps.

How to change website IP address from WHM

  1. Login to WHM control panel.
  2. Navigate to Home »IP Functions »Change a Site’s IP Address
  3. In the search textbox type your domain you want to change its IP address and then select the domain and account from the list, then click Change button.

  4. From the Change a Site’s IP Address choose the new IP address from the drop-down list and click Change button.

Then if the domain Name DNS and Nameserver Already Resolved to the New IP ,  the site should work properly and not redirect to /cgi-sys/defaultwebpage.cgi

XsoftHost Support

Share

Recent Posts

Add Extra IP addresses to server configuration On Ubuntu 17.10 and later

Each failover IP address will need its own line in the configuration file. The configuration…

3 years ago

Create RAID Arrays with mdadm on Ubuntu

What is mdadm? The mdadm utility can be used to create and manage storage arrays…

4 years ago

How to change the maximum upload file size for PHP

There are several scenarios that you might need to increase or decrease your php maximum…

6 years ago

How to install Let’s Encrypt Plugin in WHM/cPanel

What is Let’s Encrypt? Let’s Encrypt is a free certificate authority provided by the Internet…

6 years ago

How to install python in my cPanel and add py extension

Python normally installed on all cPanel hosting server because most of Centos/red hat update system…

6 years ago

How to install and enable GUI GNOME Desktop on centos 7

Usually CentOS 7 comes in a numbers of variants, For most users, there are two…

6 years ago