Warning: session_start(): open(/var/cpanel/php/sessions/alt-php74/sess_e540d23c1c693cccf2d1204445677c8a, O_RDWR) failed: No such file or directory (2) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/alt-php74) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358
Fixing Domain Subdomains Redirecting To /Cgi-Sys/Defaultwebpage.Cgi

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

cpanel redirecting 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.

    WHM Change a Site’s IP Address

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

    WHM Change a Site’s IP Address To New IP

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

Share on facebook
Share on twitter
Share on linkedin
Share on telegram
Share on whatsapp

Related Posts