Support
- Advanced Backup
- Client Side
- Cloud Enterprise
- ColdFusion
- Control Panel
- cPanel
- Addon
- Apachebuild
- Changerootpassword
- Configure
- Cpmysqldb
- Createemailuser
- Createftpuser
- Hostname
- Mainipwebsite
- Newaccount
- Packages
- Parkdomain
- Phpmyadminaccess
- Restartservices
- Services
- Timezone
- Whitelistpremiumspamservers
- Cpanelvps
- Configuring cPanel wide email filters
- Managing your suspended page in WHM
- Creating an add-on domain or pointer
- Creating an auto responder
- Creating Cron Jobs
- Using the database wizard
- Forward Domain Emails to Another Domain
- Forward Emails
- Reset Email User Passwords
- Install FrontPage Extensions
- Manage FTP Sessions
- Provide Hotlink Protection
- Use Image Manager
- Change cPanel Language
- Create a Mailing List
- Manage MIME Types
- Park a Domain
- Reset/Modify cPanel Account Password in WHM
- Using PHPMyAdmin in cPanel
- Set Up Remote Access Key
- Create Subdomains
- Change Control Panel Theme
- Manage Bandwidth Limits
- Update Contact Information
- Deny IPs
- Trace an Email Address
- Disable Reset Password Option
- Redirect URLs
- Suspend Accounts
- Configure Email User Filters
- Add a MySQL Database in cPanel
- Fix a WHM DNS Error
- Fix Suspended Page in WHM
- How to Modify the Number of Processes for SpamAssassin in cPanel
- Enabling Domain Keys In cPanel
- Install SSL in cPanel
- Using Winscp To Upload Files To A cPanel Server
- Migrating From cPanel To Plesk
- Preview Website on a Linux Server via cPanel
- Fix Expired License Error with WHM
- Installing ImageMagick For cPanel
- Changing the Mail Routing Settings in cPanel
- MySQL Disk Usage Tracking
- Set Up a Password Protected Directory in Cpanel
- Restart Services in WHM
- PCI Compliance in Cpanel
- Advanced Policy Firewall
- Customer Portal
- DNS Information
- Dedicated Servers
- DirectAdmin
- Domain Name
- dotDefender
- Dreamweaver
- FileCatalyst
- Front Page
- FTP
- General Information
- Hosted Exchange & SharePoint
- IIS6
- IIS7
- Juniper Netscreen Firewalls
- Linux
- List Server
- MIVA Merchant
- MySQL
- Patching / Server Updates
- phpMyAdmin
- Plesk
- Policies and Procedures
- Premium Spam Filtering
- Programming
- Ruby on Rails
- Search Engine Submission
- SharePoint 3
- SharePoint 2010
- SiteDesigner
- SmarterMail 3
- SmarterMail 4
- SmarterMail 5
- SmarterMail 6
- SmarterMail 7
- SmarterStats
- SmarterTrack
- SQL Server
- Secure Socket Layer (SSL)
- Uploading Your Website
- Video Tutorials
- Windows Server 2003
- Windows Server 2008
- Web Design
- WordPress
- Advanced Monitoring
- MediaWiki
- Enkompass
- Microsoft Outlook 2010
- Android
- Outlook Web Access
- Critical Availability Service
- NAS Data Transfer
- Customer Portal Demos
- Joomla
- Moodle
- Cloud Dedicated
- Gallery CMS
- phpBB
- Standard Monitoring
- Righteous Restore
- NAS (Network Attached Storage)
- Networking
- SmarterMail 8
- PCI Security Scan
- LinkTiger
- Windows Cloud VPS
- Linux Cloud VPS
- Linux VPS
- Windows VPS
- Hyper V
- ENSIM
- Alert Logic
- Webmin
- e107
- Vbulletin
- VPN
- Visual Vault
- Mozilla Thunderbird
- PyroCMS
- Active Directory
- Vmware Related
- Drupal
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/<username_of_suspended_site>/www/ (where <username_of_suspended_site> is the username of the account that is suspended) with the following information:
RedirectMatch .* http://<hostname>/suspended.page/
Options -Includes -Indexes -ExecCGI
If <hostname> 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/<username_of_hostname>/www/ (where the 'username_of_hostname' is the username of the domain which is now the hostname) by running the command below via SSH:
Chown the files to the correct user. Be CAREFUL doing this.
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.
