Fix Suspended Page in WHM

 

Fix Suspended Page in WHM

This article goes over a problem some customers have when using the Suspended Page option of WHM. When suspending a domain in WHM, the domain that was suspended may redirect to the WHM login screen.  To fix this, the steps below should be followed.

Each time an account is suspended, WHM creates an .htaccess file in /home//www/ (where is the username of the account that is suspended) with the following information:

RedirectMatch .* http:///suspended.page/

Options -Includes -Indexes -ExecCGI

If is not actually hosted on the server WHM is installed on, then the hostname needs to be updated on the server. For example, if server.domain.com points to the IP of WHM but domain.com points off of the server WHM is on, this is a problem. As such, the hostname needs to be updated  within cPanel to something such as server.domainhostedonserver.com and then add the A record in WHM or our DNS.

After doing so,log into the server via SSH and copy the files in /usr/local/apache/htdocs/suspended.page/ to /home//www/ (where the 'username_of_hostname' is the username of the domain which is now the hostname) by running the command below via SSH:

cp -R /usr/local/apache/htdocs/suspended.page/ /home/username_of_hostname/www/

Chown the files to the correct user. Be CAREFUL doing this.

cd /home//www/ (where is the user on the server noted above)
chown -R username.username . (where username is the actual username)

Then you should un-suspend the site that was incorrectly resolving to the WHM login page and then re-suspend it. What this does is creates a new .htaccess file with the correct information in it now (i.e. the correctly updated hostname for the server). Then you can go to the suspended domain in a browser and it will show the suspended page rather than the WHM/cPanel login screen.

  • 0 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

Can I create my own plan sizes and pricing on my reseller account?

Yes, you can! A Cpanel/WHM reseller account can be set up in a number of different ways....

Can I give SSH to my clients?

No, we don't allow/access you and your clients for server security reasons.

I just added a domain and it doesn't work. Why?

The domains that you add in WHM are still subject to at least 24 to 48 hours propagation time....

What are the POP and SMTP settings for my clients?

The POP and SMTP settings for your clients are mail.domainname.com or the IP address adress...

Can i purchase a dedicated IP for my clients?

Yes. you may place an order for value added features including dedicated IP.