Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Apr 2005
    Posts
    142

    Default Suspended account redirecting to http://www.suspended.page/

    Hi,

    I've just recently upgraded to cPanel 11 and when I just suspended an account in WHM, when visiting that account's URL it is redirecting to http://www.suspended.page/ (which is obviously incorrect and can't be found). Why is it doing this and how do I fix it?

    And on a side note, how do I edit the suspended page for one user only?

    Thanks

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by n000b View Post
    Hi,

    I've just recently upgraded to cPanel 11 and when I just suspended an account in WHM, when visiting that account's URL it is redirecting to http://www.suspended.page/ (which is obviously incorrect and can't be found). Why is it doing this and how do I fix it?

    And on a side note, how do I edit the suspended page for one user only?

    Thanks
    The only thing I could think of is some code in your Suspended Page code may be attempting to perform that redirect. You can edit the HTML for the Suspended Page in WHM -> Account Functions -> Modifing Suspension Page.

    Unfortunately, at this time there is no ability to modify a suspension page for an individual user. However, it may make for a good feature request to submit to http://bugzilla.cpanel.net .

  3. #3
    Member
    Join Date
    Apr 2005
    Posts
    142

    Default

    Thanks David, my suspended page is not performing any redirects though:

    Code:
                                  <html>
    
                                     <head>
                                     <style>
    
                                     a:link { font-family: arial, verdana; font-sizw: 11px; color: #000000; text-decoration: none; }
    a:visited { font-family: arial, verdana; font-sizw: 11px; color: #000000; text-decoration: none; }
    a:active { font-family: arial, verdana; font-sizw: 11px; color: #000000; text-decoration: none; }
    a:hover { font-family: arial, verdana; font-sizw: 11px; color: #000000; text-decoration: underline; }
    
      font { font-family: arial, verdana; font-sizw: 11px; color: #000000; text-decoration: none; }
    
      td{ font-family: arial, verdana; font-sizw: 10px; text-decoration: none; }
      table{ font-family: arial, verdana; font-sizw: 11px; text-decoration: none; }
      body { background-color: #F0F0F0; scrollbar-face-color: #6E788C; scrollbar-shadow-color: #696969; scrollbar-highlight-color: #cfcfcf; scrollbar-3dlight-color: #cccccc; scrollbar-darkshadow-color: #808080; scrollbar-track-color: #9B9FA7; scrollbar-arrow-color: #000000 }
    
      .title { font-family: arial, verdana; font-size: 9pt; font-weight: normal; }
      .distributers { font-family: arial, verdana; font-size: 11pt; font-weight: normal; }
      .info { font-family: arial, verdana; font-size: 8pt; font-weight: normal; }
      .design { font-family: arial, verdana; font-size: 8pt; font-weight: normal; }
    
      .menu { border-top: 1px #374646 solid; border-left: 1px #374646 solid; border-right: 1px #374646 solid; border-bottom: 1px #374646 solid; font-family: verdana, arial; font-size: 8pt; font-weight: normal; }
      .cellheader { border-top: 1px #374646 solid; border-left: 1px #374646 solid; border-right: 1px #374646 solid; border-bottom: 1px #374646 solid; font-family: verdana, arial; font-size: 20pt; font-weight: normal; color: #F1F1F1; }
      .scellheader { border-top: 1px #374646 solid; border-left: 1px #374646 solid; border-right: 1px #374646 solid; border-bottom: 1px #374646 solid; font-family: verdana, arial; font-size: 15pt; font-weight: normal; color: #F1F1F1; }
      .bigcellheader { border-top: 1px #374646 solid; border-left: 1px #374646 solid; border-right: 1px #374646 solid; border-bottom: 1px #374646 solid;  font-family: verdana, arial; font-size: 30pt; font-weight: normal; color: #F1F1F1; link: #F1F1F1; vlink: #F1F1F1; }
    
      .tblheader { background-color: #AAAAAA; border-top: 1px #374646 solid; border-left: 1px #374646 solid; border-right: 1px #374646 solid; border-bottom: 1px #374646 solid; font-family: verdana, arial; font-size: 14pt; font-weight: normal; }
      .tdshade1 { background-color: #DDDDDD; border-top: 1px #374646 solid; border-left: 1px #374646 solid; border-right: 1px #374646 solid; border-bottom: 1px #374646 solid; font-family: verdana, arial; font-size: 10pt; font-weight: normal; }
      .tdshade2 { background-color: #EEEEEE; border-top: 1px #374646 solid; border-left: 1px #374646 solid; border-right: 1px #374646 solid; border-bottom: 1px #374646 solid; font-family: verdana, arial; font-size: 10pt; font-weight: normal; }
    
    
      </style>
    
         </head>
    
         <body bgcolor="#ffffff">
    
         <table bgcolor=#ffffff link=#0000ee vlink=#0000ee text=#000000 border=0 align="center" width="100%">
         <tr class=cellheader>
         <td bgcolor=#788298><center><b>This Account Has Been Suspended</b></center></td>
         </tr>
         </table>
         Please contact the billing/support department as soon as possible.
         </html>
    Anything else that you can think of?

  4. #4
    Member
    Join Date
    Aug 2004
    Posts
    200

    Default

    This happens when the suspended account is "owned" by a reseller whom no longer exists on the system.

    For example, I use reseller as a way to have a different "cpanel-skel" directory. Therefor, some customers are set up with a "reseller" account whom has "root access" to whm.

    When I move the site between servers, cpanel is not smart enough to drop the reseller name and give the account back to "root" even if you say "Skip Copying Reseller Privileges" during move. The account will still have it's reseller user set up. So when the account becomes suspended, it is looking for "somenonexistentdomain.com/suspended.page/". Since your reseller account is no longer in the system, WHM doesn't know what the domain name is- so it decides to leave the domain name empty and just make the URL: http:///suspended.page/

    I confirmed this on 3 servers after trying to find the simple answere here. But now the simple answere is here. To fix it, go to "list accounts" in whm. Show "All". Look for any domains that are not owned by root. If you don't have any resellers on the server, they should all be owned by root, so make it so. Start with your broken suspended site. Change the owner to root, then unsuspend the account, and suspend it again. The suspension page will now work.

    I still think that when a site is copied between servers and "Skip Copying Reseller Privileges" is checked, the site should become "owned" by root on the new server...as one would expect.

    Cheers
    Last edited by djmerlyn; 07-24-2007 at 07:36 PM.

  5. #5
    Member
    Join Date
    Apr 2005
    Posts
    142

    Default

    Thanks for the reply, I'll check it out

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by djmerlyn View Post
    This happens when the suspended account is "owned" by a reseller whom no longer exists on the system.

    For example, I use reseller as a way to have a different "cpanel-skel" directory. Therefor, some customers are set up with a "reseller" account whom has "root access" to whm.

    When I move the site between servers, cpanel is not smart enough to drop the reseller name and give the account back to "root" even if you say "Skip Copying Reseller Privileges" during move. The account will still have it's reseller user set up. So when the account becomes suspended, it is looking for "somenonexistentdomain.com/suspended.page/". Since your reseller account is no longer in the system, WHM doesn't know what the domain name is- so it decides to leave the domain name empty and just make the URL: http:///suspended.page/

    I confirmed this on 3 servers after trying to find the simple answere here. But now the simple answere is here. To fix it, go to "list accounts" in whm. Show "All". Look for any domains that are not owned by root. If you don't have any resellers on the server, they should all be owned by root, so make it so. Start with your broken suspended site. Change the owner to root, then unsuspend the account, and suspend it again. The suspension page will now work.

    I still think that when a site is copied between servers and "Skip Copying Reseller Privileges" is checked, the site should become "owned" by root on the new server...as one would expect.

    Cheers
    I would recommend submitting this as a bug report to http://bugzilla.cpanel.net - I tried finding something similar to this but there are no relevant entries thus far.

  7. #7
    Member
    Join Date
    Aug 2004
    Posts
    200

    Default

    Yeah, it definitly needs to be fixed...but I don't have a bugzilla account and don't really want one I don't really understand how it works and I get lost there easily.

    I hope someone with a bugzilla account will add it though

    the bug is easy to reproduce;

    1. Change a hosting account to a reseller user
    2. Remove the reseller user from the server
    3. Suspend the hosting account from step 1
    4. Visit the accounts domain and witness the broken suspended.page URL
    5. Unsuspend the account
    6. Change the account to be owned by root
    7. Suspend the account from step 1
    8. Notice the suspended page works fine now.

    And with copying sites between servers;

    1. Set the flag; "Skip copying reseller priveledges" and start a copy of a site owned by a reseller
    2. When the site is finished copying, view it in the list account page- notice that it is still owned by the previous reseller who does not exist.

    ^ This is what is likely causing the first problem for most users.

    I'm still trying to find a way to quickly and easily change all hosting accounts on a server to be owned by the root user. It is a really long and tedious process manually changing every single one of them. I'm sure I can do it from the command line, but I'm not sure what data is being updated in cpanel when I change the site owner in WHM

    Anyways...ramble ramble...

    Cheers!
    Last edited by djmerlyn; 07-28-2007 at 04:45 AM.

  8. #8
    Member
    Join Date
    Oct 2004
    Posts
    24

    Default

    I was with the same problem and this is simple to fix.

    If you need change all users to be owned by root:

    1. Login to WHM
    2. Go to: Multi-Account Functions -> Modify/Upgrade Multiple Accounts
    3. Select all domains (WHM could have option to select all domains, but TAB + SPACE is your friend )
    4. In the option "Reseller", select "Root"
    5. Click in the button "Change"

    Now all accounts owned by root.

    With all accounts owned by the user root (I don't have reseller accounts in this server), no more problems with http://www.suspended.page/ here.

    Regards.

  9. #9
    Member
    Join Date
    Aug 2004
    Posts
    200

    Default

    Quote Originally Posted by Krisiun View Post
    I was with the same problem and this is simple to fix.

    If you need change all users to be owned by root:

    1. Login to WHM
    2. Go to: Multi-Account Functions -> Modify/Upgrade Multiple Accounts
    3. Select all domains (WHM could have option to select all domains, but TAB + SPACE is your friend )
    4. In the option "Reseller", select "Root"
    5. Click in the button "Change"

    Now all accounts owned by root.

    With all accounts owned by the user root (I don't have reseller accounts in this server), no more problems with http://www.suspended.page/ here.

    Regards.
    Thank you for the tip for the quick change Now I can go fix all my accounts that shouldn't be broke in the first place

    Cheers!

  10. #10
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by djmerlyn View Post
    Yeah, it definitly needs to be fixed...but I don't have a bugzilla account and don't really want one I don't really understand how it works and I get lost there easily.

    I hope someone with a bugzilla account will add it though

    the bug is easy to reproduce;

    1. Change a hosting account to a reseller user
    2. Remove the reseller user from the server
    3. Suspend the hosting account from step 1
    4. Visit the accounts domain and witness the broken suspended.page URL
    5. Unsuspend the account
    6. Change the account to be owned by root
    7. Suspend the account from step 1
    8. Notice the suspended page works fine now.

    And with copying sites between servers;

    1. Set the flag; "Skip copying reseller priveledges" and start a copy of a site owned by a reseller
    2. When the site is finished copying, view it in the list account page- notice that it is still owned by the previous reseller who does not exist.

    ^ This is what is likely causing the first problem for most users.

    I'm still trying to find a way to quickly and easily change all hosting accounts on a server to be owned by the root user. It is a really long and tedious process manually changing every single one of them. I'm sure I can do it from the command line, but I'm not sure what data is being updated in cpanel when I change the site owner in WHM

    Anyways...ramble ramble...

    Cheers!
    Thanks for that nice breakdown, djmerlyn. We've noticed that several things are not happening when a reseller is removed. We'll add this to our list as we want to get the reseller portion as clean as possible before cPanel 11 reaches Stable.

    As for the account transfer scenario, the 'Skip copying reseller privileges' only takes effect when the account being transferred is a reseller. However, if the reseller doesn't exist on the destination server, the transferred account should be 're-owned' to 'root'. We'll double-check that one also.

    Again, thank you.

Similar Threads & Tags
Similar threads

  1. http://venus.nswebhost.com/suspended.page/
    By hysc in forum Database Discussions
    Replies: 8
    Last Post: 12-10-2007, 06:37 PM
  2. Replies: 1
    Last Post: 04-18-2007, 03:16 PM
  3. suspended.page forwards to www.suspended.page ?
    By Serpico in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 10-20-2006, 07:20 AM
  4. How To Allow Users Restore from> http://beverly.micfo.com/suspended.page/
    By sureanot in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-12-2006, 11:29 AM
  5. Modify Suspended Account Page HTTP 404 Not Found
    By talos in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-28-2004, 06:30 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube