« mod_rewrite Tutorial | Home | Install Ruby »
How to create Remote login page for cPanel
By bob | June 6, 2008
If your website has HTML codes you can create a remote cPanel login page. Consider your website url is www.yourdomain.com, your cPanel login url will be http://www.yourdomain.com:2082 for non-SSL or https://www.yourdomain:2083 for SSL login.
You need to put the following HTML from in your website HTML codes.
<form action=’http://www.yourdomain.com:2082/login/’ method=’post’>
<table border=’1′ width=’250′ cellpadding=’2′ cellspacing=’0′>
<tr>
<td align=’right’>Username:</td>
<td><input type=’text’ name=’user’></td>
</tr>
<tr>
<td align=’right’>Password:</td>
<td><input type=’password’ name=’pass’></td>
</tr>
<tr>
<td colspan=’2′ align=’center’><input type=’reset’ name=’r1′ value=’Reset’><input type=’submit’ name=’s1′ value=’Login’></td>
</tr>
</table>
</form>
In the code, you should replace “www.yourdomain.com” with your website domain name.
If you want to use SSL login, you should replace “http” with “https” and “2082″ with “2083″.
Replace “Username:” and “Password:” with your own phrase if you like to translate it or such.
Replace “Login” and “Reset” with your own phrase if you like to translate it or such.
Nowyou can putĀ put this code in your website every where you need in the body section.
Topics: Hosting Tutorials, cpanel Hosting |
