Results 1 to 4 of 4

Thread: Adding cpanel subdomains an cpanel ports to DA

  1. #1
    Join Date
    Jul 2019
    Posts
    8

    Adding cpanel subdomains an cpanel ports to DA

    We'll migrate all cpanel servers to DA. We found out after the first experiences that we've to implement some stuff to avoid customer calls / cancelations.

    To be exact:
    - How to add suddomains (webmail, cpanel) to DA accounts, automatically (and sign the SSL Certs)?
    - How can DA be proxyed or redirected to send the users to the right place if the connect on cp ports like 2086, 2087, 2095 and 2096?

  2. #2
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    8,069
    As mentioned in https://forum.directadmin.com/showthread.php?t=58062:
    Q: How to make webmail.domain.com available, as now only domain.com/webmail works?

    A: https://help.directadmin.com/item.php?id=92

    Q: How to make DirectAdmin listen on port 2082 for HTTP requests and port 2083 for HTTPs?

    A: Just set the following settings in /usr/local/directadmin/conf/directadmin.conf and restart DirectAdmin:
    port=2082
    ssl_port=2083

    If you would like to let customers use just the SSL on port 2083, set:
    ssl=1
    port=2083
    Related: https://help.directadmin.com/item.php?id=2101
    CSF can be used for port redirection, if you'd like to redirect them all. Regarding other subdomains - it can be done in a similar way as webmail. To automatically have them included into Let's Encrypt cert: https://www.directadmin.com/features.php?id=1851

    I hope this answers your questions

    Thank you!
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  3. #3
    Join Date
    Jul 2019
    Posts
    8
    Awesome, thanks a lot!

    I find it really hard to find all this doku stuff

  4. #4
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    8,069
    New documentation system from 0 is planned Stay tuned.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •