KNOWNHOST WIKI

User Tools

Site Tools


control-panels:directadmin:how-to-customize-directadmin-login-url

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
control-panels:directadmin:how-to-customize-directadmin-login-url [2020/05/13 07:14]
Karson N.
control-panels:directadmin:how-to-customize-directadmin-login-url [2020/06/01 11:02] (current)
Karson N.
Line 1: Line 1:
 ====== How To Customize the DirectAdmin Login URL ====== ====== How To Customize the DirectAdmin Login URL ======
- 
 \\ \\
  
Line 11: Line 10:
   * etc.,    * etc., 
  
-That can be accomplished with the following steps.  +That can be accomplished with the following steps. 
 +<code>
   cd /usr/local/directadmin/data/templates/custom   cd /usr/local/directadmin/data/templates/custom
   cp ../virtual_host2*.conf .   cp ../virtual_host2*.conf .
 +</code>
  
 Add the following near the bottom of the file /usr/local/directadmin/data/templates/custom/virtual_host2.conf beneath |CUSTOM4| Add the following near the bottom of the file /usr/local/directadmin/data/templates/custom/virtual_host2.conf beneath |CUSTOM4|
 +<code>
   Alias /super /var/www/html/redirect.php   Alias /super /var/www/html/redirect.php
  
Line 23: Line 23:
   /usr/local/directadmin/dataskq d   /usr/local/directadmin/dataskq d
   service httpd restart   service httpd restart
 +</code>
  
-Note that you may need to edit the file /var/www/html/redirect.php so that it uses https instead of http if you have only DirectAdmin listening only for https connections, otherwise the request will be redirected to the server IP [[https://ip.ip.ip.ip:2222]]. +**Note:** that you may need to edit the file /var/www/html/redirect.php so that it uses https instead of http if you have only DirectAdmin listening only for https connections, otherwise the request will be redirected to the server IP [[https://ip.ip.ip.ip:2222|https://ip.ip.ip.ip:2222]]. 
  
control-panels/directadmin/how-to-customize-directadmin-login-url.txt · Last modified: 2020/06/01 11:02 by Karson N.