Results 1 to 6 of 6
  1. #1

    How do have your customers login to cpanel?

    I'm also setting up my site, and was wondering how do most resellers allow there customers to login to their cpanel. Do you just give them the address theirsite.com/cpanel? Or let them login through your home page (set up some type of interface) by the way does anybody mine showing me how to do that?

    Thanks

  2. #2
    Join Date
    May 2004
    Location
    Baltimore, MD
    Posts
    1,203
    I usually tell them theirsite.com/cpanel or if it hasn't resolved yet, serverhostname.com/cpanel/. This way they don't go to my site every day and use my transfer just to login

    Hope this helps.
    Automated Tendencies - Brand Management Agency from Baltimore, Maryland.
    Reputation Management Search Engine Optimization Pay Per Click Email Marketing

  3. #3
    Join Date
    Dec 2004
    Location
    New York, NY
    Posts
    10,574
    For a branded login page use:

    PHP Code:
    <?php
    #Login Configuration

    #cPanel
    $protocol 'http';
    $port 2082;

    #Secure cPanel
    #$protocol = 'https';
    #$port = 2083;

    #WHM
    #$protocol = 'http';
    #$port = 2086;

    #Secure WHM
    #$protocol = 'https';
    #$port = 2087;

    #Webmail
    #$protocol = 'http';
    #$port = 2095;

    #Secure Webmail
    #$protocol = 'https';
    #$port = 2096;
    ?>

    <html>
    <h1>[Web Hosting Company Name Here]</h1>

    <b>cPanel Login</b><br>

    <?php
    if ($_GET['failed'] == "1") {
    ?>
    <font color=#FF0000>Your login attempt failed!</font>
    <?php
    }
    print 
    "<form action=\"" $protocol "://" $_SERVER['HTTP_HOST'] . ":" $port "/login/\"
    method=POST>"
    ;
    ?>
    User: <input type=text name=user><br>
    Pass: <input type=password name=pass><br>
    <?php
    print "<input type=hidden name=failurl value=\"http://" .  $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . "?failed=1\">";
    ?>
    <input type=submit value=Login>
    </form><br>
    <a href="cpanel-login.phps">Source</a><br>
    Note: This examples requires cPanel 9.4.1 or later!
    </html>
    Thanks,
    MediaLayer, LLC - www.medialayer.com Learn how we can make your website load faster, translating to better conversion rates for your business!
    The pioneers of optimized web hosting, featuring LiteSpeed Web Server & SSD Storage - Celebrating 10 Years in Business

  4. #4
    Join Date
    Jun 2005
    Location
    USA
    Posts
    31

    *

    Hi
    thanks for this code .
    thanks elix

  5. #5
    I just use cpanel.mydomain.com

    I've been thinking of making my own branded skin for cPanel, but most clients are wanting cPanel, and do not care wether it is skinned or not. I do not know if a skinned cPanel will give a more professionalism feeling

  6. #6
    Join Date
    Dec 2004
    Location
    New York, NY
    Posts
    10,574
    maverick.uae,

    Your welcome!

    Basiq,

    That depends on a few things, if it's a professional design skin, then it will give a more professional feeling.

    GSV
    MediaLayer, LLC - www.medialayer.com Learn how we can make your website load faster, translating to better conversion rates for your business!
    The pioneers of optimized web hosting, featuring LiteSpeed Web Server & SSD Storage - Celebrating 10 Years in Business

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •