Razr7315 Posted October 22, 2021 Share Posted October 22, 2021 (edited) So I am able to get SSL via Let's Encrypt for the homepage of my web host but not for cPanel and it does not work right on the register page, can anyone help me to do get it on these other pages. I had it on other pages but it came up with an error saying my browser is not sending the right referrer information or something like that. It also said that the site was not fully secure. Edited October 22, 2021 by Razr7315 Quote Link to comment Share on other sites More sharing options...
Razr7315 Posted October 22, 2021 Author Share Posted October 22, 2021 There was a topic by @Admin about getting SSL for cPanel but that was from 2017 and still I do not believe it was rolled out. Quote Link to comment Share on other sites More sharing options...
Pro Hostinga Posted October 22, 2021 Share Posted October 22, 2021 3 hours ago, Razr7315 said: So I am able to get SSL via Let's Encrypt for the homepage of my web host but not for cPanel You will get ssl for your cpanel in a few days automatically. 3 hours ago, Razr7315 said: it came up with an error saying my browser is not sending the right referrer information You can only place signup page in root folder of reseller site or you will get this error. 3 hours ago, Razr7315 said: It also said that the site was not fully secure. You need to change action of signup form to https://ifastnet.com/register2.php Quote Link to comment Share on other sites More sharing options...
Pro Hostinga Posted October 22, 2021 Share Posted October 22, 2021 Or you can use MOFHY lite or Hustal by @Shen Wei to get custom client area. Quote Link to comment Share on other sites More sharing options...
Razr7315 Posted October 22, 2021 Author Share Posted October 22, 2021 47 minutes ago, Pro Hostinga said: You will get ssl for your cpanel in a few days automatically Okay. Thank you. 47 minutes ago, Pro Hostinga said: You can only place signup page in root folder of reseller site or you will get this error. I have not changed locations of any files, the files are all in the same state as when my MOFH account was activated. 48 minutes ago, Pro Hostinga said: You need to change action of signup form to https://ifastnet.com/register2.php I will try that. 47 minutes ago, Pro Hostinga said: Or you can use MOFHY lite or Hustal by @Shen Wei to get custom client area. I most likely will next week. Quote Link to comment Share on other sites More sharing options...
Razr7315 Posted October 22, 2021 Author Share Posted October 22, 2021 51 minutes ago, Pro Hostinga said: You need to change action of signup form to https://ifastnet.com/register2.php Where should I put this in at? What line? My full code of signup.php: <!DOCTYPE html> <html lang="en"> <head> <title>Web Hosting | Contacts</title> <meta charset="utf-8"> <link rel="stylesheet" href="css/reset.css" type="text/css" media="all"> <link rel="stylesheet" href="css/layout.css" type="text/css" media="all"> <link rel="stylesheet" href="css/style.css" type="text/css" media="all"> <script src="js/jquery-1.6.js" ></script> <script src="js/cufon-yui.js"></script> <script src="js/cufon-replace.js"></script> <script src="js/Shanti_400.font.js"></script> <script src="js/Didact_Gothic_400.font.js"></script> <!--[if lt IE 9]> <script src="js/html5.js"></script> <style type="text/css">.button1{behavior:url("js/PIE.htc");}</style> <![endif]--> </head> <? $yourdomain = $_SERVER['HTTP_HOST']; $yourdomain = preg_replace('/^www\./' , '' , $yourdomain); ?> <body id="page1"> <div class="body1"> <div class="body2"> <div class="main"> <!-- header --> <header> <div class="wrapper"> <h3><strong><? echo "$yourdomain" ;?></strong> Web Hosting Service</h3> </div> <div class="wrapper"> <h1><a href="index.php" id="logo">Web Hosting</a></h1> <nav> <ul id="menu"> <li class="first"><a href="index.php">Home</a></li> <li id="menu_active"><a href="signup.php">Sign up</a></li> <li><a href="hostingnews.php">Hosting News</a></li> <li><a href="about.php">About</a></li> <li ><a href="contacts.php">Contacts</a></li> </ul> </nav> </div> <span id="slogan1">Simple<span>Clever</span><span>Effective</span></span> </header> <!-- / header --> </div> </div> </div> <!-- content --> <div class="body3"> <div class="main"> <section id="content2"> <div class="line2 wrapper"> <article class="col2 pad_right1"> <h3>Sign Up For Free Hosting</h3> <div class="clr"></div> <p class="post-data">Fill out the form below and your free hosting account will be created.</p> <td style="text-align: left;" colspan="21"> <font size="-1"><span style="font-family: Helvetica,Arial,sans-serif;"> <form method=post action="https://order.<? echo "$yourdomain" ;?>/register.php"> <table> <tr><th style="text-align: left;">Username<td><input type=text name=username size=20 value="<?PHP if (isset($_GET['username'])) { echo $_GET['username']; }?>"> <tr><th> <td> <tr><th style="text-align: left;">Password<td><input type=password name=password size=20> <tr><th> <td> <tr><th style="text-align: left;">Email Address<td><input type=text name=email size=20 value="<?PHP if (isset($_GET['email'])) { echo $_GET['email']; }?>"> <tr><th style="text-align: left;">Site Category<td><select size="1" name="website_category"> <option>Choose from Below</option> <option>Personal</option> <option>Business</option> <option>Hobby</option> <option>Forum</option> <option>Adult</option> <option>Dating</option> <option>Software / Download</option> </select> </td> <tr><th style="text-align: left;"><td> </td> <tr><th style="text-align: left;">Site Language<td> <select size="1" name="website_language"> <option>Choose from Below</option> <option>English</option> <option>Non-English</option> </select> </td> <tr><th> <td> <?PHP $id = md5(rand(6000,PHP_INT_MAX)); ?> <input type=hidden name=id value="<?PHP echo $id; ?>"> <tr><th style="text-align: left;">Security Code<td><img width="250px" height="90px" src="https://order.<? echo "$yourdomain" ;?>/image.php?id=<?PHP echo $id; ?>"> <tr><th> <td> <tr><th style="text-align: left;">Enter Security Code<td><input type=text name=number size=20> <tr><th> <td> <tr><th colspan=2><input type=submit value="Register" name=submit> </table> </form> </span> <br style="font-family: Helvetica,Arial,sans-serif;"> </font> <br style="font-family: Helvetica,Arial,sans-serif;"> </span></font> By signing up for our free hosting, you accept and agree to our <a href="https://ifastnet.com/portal/terms.php">Terms of Service</a> </td> </article> <article class="col1"> <h3></h3> <div class="wrapper"> <p></p> </div> <h3 class="pad_top1">Instant activation</h3> <p class="miscellaneous">Free hosting accounts are activated instantly, no need to wait for manual approval, you can start building your pages immediately!</p> <p> You can find our Automatic Script Installer in the Vistapanel. We provide free FTP, PHP 5.3, MySQL and our very popular feature: The Automatic Script Installer (Like Fantastico) You can install many popular scripts such as PHPbb2 and PHPbb3, Wordpress, Zen-Cart, osCommerce, MyBB, UseBB, MyLittle Forum, 4images, Coppermine, SMF, Joomla, e107, XOOPS, PHP Wind, CuteNews, Mambo, WikiWig and many more!</p> </article> </div> </section> <!-- / content --> </div> </div> <div class="main"> <!-- / footer --> <footer>Copyright © <a href="#"><? echo "$yourdomain" ;?></a> All Rights Reserved</footer> <!-- / footer --> </div> <script>Cufon.now();</script> </body> </html> Quote Link to comment Share on other sites More sharing options...
Pro Hostinga Posted October 22, 2021 Share Posted October 22, 2021 7 minutes ago, Razr7315 said: action="https://order.<? echo "$yourdomain" ;?>/register.php" Here replace https://order.<? echo "$yourdomain" ;?>/register.php with https://ifastnet.com/register2.php Quote Link to comment Share on other sites More sharing options...
Razr7315 Posted October 22, 2021 Author Share Posted October 22, 2021 (edited) @Pro Hostinga I am still seeing this on the register page: Edited October 22, 2021 by Razr7315 Quote Link to comment Share on other sites More sharing options...
Razr7315 Posted October 22, 2021 Author Share Posted October 22, 2021 My current signup.php code: <!DOCTYPE html> <html lang="en"> <head> <title>Web Hosting | Contacts</title> <meta charset="utf-8"> <link rel="stylesheet" href="css/reset.css" type="text/css" media="all"> <link rel="stylesheet" href="css/layout.css" type="text/css" media="all"> <link rel="stylesheet" href="css/style.css" type="text/css" media="all"> <script src="js/jquery-1.6.js" ></script> <script src="js/cufon-yui.js"></script> <script src="js/cufon-replace.js"></script> <script src="js/Shanti_400.font.js"></script> <script src="js/Didact_Gothic_400.font.js"></script> <!--[if lt IE 9]> <script src="js/html5.js"></script> <style type="text/css">.button1{behavior:url("js/PIE.htc");}</style> <![endif]--> </head> <? $yourdomain = $_SERVER['HTTP_HOST']; $yourdomain = preg_replace('/^www\./' , '' , $yourdomain); ?> <body id="page1"> <div class="body1"> <div class="body2"> <div class="main"> <!-- header --> <header> <div class="wrapper"> <h3><strong><? echo "$yourdomain" ;?></strong> Web Hosting Service</h3> </div> <div class="wrapper"> <h1><a href="index.php" id="logo">Web Hosting</a></h1> <nav> <ul id="menu"> <li class="first"><a href="index.php">Home</a></li> <li id="menu_active"><a href="signup.php">Sign up</a></li> <li><a href="hostingnews.php">Hosting News</a></li> <li><a href="about.php">About</a></li> <li ><a href="contacts.php">Contacts</a></li> </ul> </nav> </div> <span id="slogan1">Simple<span>Clever</span><span>Effective</span></span> </header> <!-- / header --> </div> </div> </div> <!-- content --> <div class="body3"> <div class="main"> <section id="content2"> <div class="line2 wrapper"> <article class="col2 pad_right1"> <h3>Sign Up For Free Hosting</h3> <div class="clr"></div> <p class="post-data">Fill out the form below and your free hosting account will be created.</p> <td style="text-align: left;" colspan="21"> <font size="-1"><span style="font-family: Helvetica,Arial,sans-serif;"> <form method=post action="https://ifastnet.com/register2.php"> <table> <tr><th style="text-align: left;">Username<td><input type=text name=username size=20 value="<?PHP if (isset($_GET['username'])) { echo $_GET['username']; }?>"> <tr><th> <td> <tr><th style="text-align: left;">Password<td><input type=password name=password size=20> <tr><th> <td> <tr><th style="text-align: left;">Email Address<td><input type=text name=email size=20 value="<?PHP if (isset($_GET['email'])) { echo $_GET['email']; }?>"> <tr><th style="text-align: left;">Site Category<td><select size="1" name="website_category"> <option>Choose from Below</option> <option>Personal</option> <option>Business</option> <option>Hobby</option> <option>Forum</option> <option>Adult</option> <option>Dating</option> <option>Software / Download</option> </select> </td> <tr><th style="text-align: left;"><td> </td> <tr><th style="text-align: left;">Site Language<td> <select size="1" name="website_language"> <option>Choose from Below</option> <option>English</option> <option>Non-English</option> </select> </td> <tr><th> <td> <?PHP $id = md5(rand(6000,PHP_INT_MAX)); ?> <input type=hidden name=id value="<?PHP echo $id; ?>"> <tr><th style="text-align: left;">Security Code<td><img width="250px" height="90px" src="https://order.<? echo "$yourdomain" ;?>/image.php?id=<?PHP echo $id; ?>"> <tr><th> <td> <tr><th style="text-align: left;">Enter Security Code<td><input type=text name=number size=20> <tr><th> <td> <tr><th colspan=2><input type=submit value="Register" name=submit> </table> </form> </span> <br style="font-family: Helvetica,Arial,sans-serif;"> </font> <br style="font-family: Helvetica,Arial,sans-serif;"> </span></font> By signing up for our free hosting, you accept and agree to our <a href="https://ifastnet.com/portal/terms.php">Terms of Service</a> </td> </article> <article class="col1"> <h3></h3> <div class="wrapper"> <p></p> </div> <h3 class="pad_top1">Instant activation</h3> <p class="miscellaneous">Free hosting accounts are activated instantly, no need to wait for manual approval, you can start building your pages immediately!</p> <p> You can find our Automatic Script Installer in the Vistapanel. We provide free FTP, PHP 5.3, MySQL and our very popular feature: The Automatic Script Installer (Like Fantastico) You can install many popular scripts such as PHPbb2 and PHPbb3, Wordpress, Zen-Cart, osCommerce, MyBB, UseBB, MyLittle Forum, 4images, Coppermine, SMF, Joomla, e107, XOOPS, PHP Wind, CuteNews, Mambo, WikiWig and many more!</p> </article> </div> </section> <!-- / content --> </div> </div> <div class="main"> <!-- / footer --> <footer>Copyright © <a href="#"><? echo "$yourdomain" ;?></a> All Rights Reserved</footer> <!-- / footer --> </div> <script>Cufon.now();</script> </body> </html> Is there anything wrong with this? Quote Link to comment Share on other sites More sharing options...
Razr7315 Posted October 22, 2021 Author Share Posted October 22, 2021 My site: https://opshost.gq Quote Link to comment Share on other sites More sharing options...
Pro Hostinga Posted October 23, 2021 Share Posted October 23, 2021 8 hours ago, Razr7315 said: <img width="250px" height="90px" src="https://order.<? echo "$yourdomain" ;?>/image.php?id=<?PHP echo $id; ?>"> Replace https://order.<? echo "$yourdomain" ;?> with https://ifastnet.com That should fix your problem Quote Link to comment Share on other sites More sharing options...
Razr7315 Posted October 23, 2021 Author Share Posted October 23, 2021 11 hours ago, Pro Hostinga said: Replace https://order.<? echo "$yourdomain" ;?> with https://ifastnet.com That should fix your problem It works, thank you Quote Link to comment Share on other sites More sharing options...
Razr7315 Posted October 23, 2021 Author Share Posted October 23, 2021 One more thing, how long does it usually take for SSL certificate to come for cPanel? Quote Link to comment Share on other sites More sharing options...
Pro Hostinga Posted October 24, 2021 Share Posted October 24, 2021 13 hours ago, Razr7315 said: One more thing, how long does it usually take for SSL certificate to come for cPanel? As I can see you've already got ssl on cpanel. Quote Link to comment Share on other sites More sharing options...
Razr7315 Posted October 24, 2021 Author Share Posted October 24, 2021 9 hours ago, Pro Hostinga said: As I can see you've already got ssl on cpanel. Yes, I see that now too but, we need to enter https:// is their anyway to force traffic to https? Quote Link to comment Share on other sites More sharing options...
Pro Hostinga Posted October 24, 2021 Share Posted October 24, 2021 1 hour ago, Razr7315 said: Yes, I see that now too but, we need to enter https:// is their anyway to force traffic to https? I don't think you can do that on login page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.