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

For a client, in whm – cpanel after uploading all files to the root I got a confusing redirection which goes to /cgi-sys/defaultwebpage.cgi when I go to the domain name.

The page showed the message “Cpanel is successfully installed” etc…

Here is the solution to resolve the issue of redirection.

Edit httpd.conf . In the server there is Apache Configuration –> Include Editor –> post virtual host include

There write

<VirtualHost XXX.XX.XXX.XXX:80>
DocumentRoot /home/yourdom/public_html
UserDir disable

XXX.XX.XXX.XXX – should be replaced by your ip address.

yourdom – has to be replaced by your domain name.

Then restart Apache.

It should remove the redirection.

Leave a Reply