« Creating Your Own Server Stat Script | Home | Create Remote login page for cPanel »
Create Remote login page for DirectAdmin
By bob | July 16, 2008
To create a remote DirectAdmin login page, your website should have some HTML codes.
Assuming your website has HTML codes and considering your website url is www.yourdomain.com, your DirectAdmin login url will be http://www.yourdomain.com:2222 for non-SSL or https://www.yourdomain.com:2222 for SSL login.
You need to put the following HTML from in your website HTML codes.
<form action=’http://www.yourdomain.com:2222/CMD_LOGIN/’ method=’post’>
<table border=’1′ width=’250′ cellpadding=’2′ cellspacing=’0′>
<tr>
<td align=’right’>Username:</td>
<td><input type=’text’ name=’username’></td>
</tr>
<tr>
<td align=’right’>Password:</td>
<td><input type=’password’ name=’password’></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”.
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.
It has just finished, now just put this code in your website where ever you need.
Topics: cpanel hosting |
