You can manage your DirectAdmin server from PowerPanel. This way your customers can manage their own sitesettings like subdomains, email addresses and aliasses.
Note: The admin can have disable this plugin for his resellers. So if the plugin is not available if you have Reseller permissions, please contact you admin / vendor for support.
1. Login to PowerPanel
First you need to login to PowerPanel. If you don't have an account you can create an account (use the menu in the header and choose register). If you need help to login to PowerPanel, please read here how to logon.
2. Go to the Plugin Marketplace
To connect your DirectAdmin server to PowerPanel you’ll have to follow the next steps.
First you will have to enable the DirectAdmin plugin. To do this go to System -> Plugins -> look for the DirectAdmin plugin, install it and enable it in the settings.
3. Enable Single Sign On
Another feature for your customers is single sign on, they can logon to the server with a simple click of a button. For this, the Login Keys should be activated in DirectAdmin. If you're not quite sure if your Login Keys are activated, please go to https://(yourdirectadminip)/2222/CMD_LOGIN_KEYS to check the current state. If they are disabled, the serveradmin needs to enable it.
In the file
/usr/local/directadmin/conf/directadmin.conf
you will have to set login_keys=1 (not ON, but 1). A reseller has 2 files that have this settings:
user.conf (the settings for this acount)
reseller.conf(this will give the rights through to lower accounts and is needed for this option to work)
Here the settings for login_keys should be ON or OFF (A bit confusing, but thats how it works, please send complains to Directadmin :-) ) An existing account with this settings disabled will not work and will have to work through all the config files to enable this settings. You can use the following lines to change all config files at once (please make suer you have a backup of your config files):
find /usr/local/directadmin/data/users -type f -print0 | xargs -0 sed -i ‘s/login_keys=OFF/login_keys=ON/g’
find /usr/local/directadmin/data/admin -type f -print0 | xargs -0 sed -i ‘s/login_keys=OFF/login_keys=ON/g’
3. Connecting DirectAdmin to PowerPanel
After you have done this you can add a server with the directAdmin plugin by going to Hosting -> My servers -> Add server
After this the sites on the server will appear in the site conflicts where you can assign them to a customer. Make sure that you use the hostname as the following example: https://hostname.io
Comments
0 comments
Please sign in to leave a comment.