How to Create Remote login page for DirectAdmin
bob on March 26th, 2008
To create a remote DirectAdmin login page, you will have to put some HTML codes in your website.
Consider 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.
Now just put this code in your website where ever you need.



