Enable SSL for FTP subdomain?

sozuadavi2

Member
Mar 9, 2016
12
0
1
BRasil
cPanel Access Level
Root Administrator
Hello, I would like to know if is it possible to enable autoSSL at new account creating for subdomain .FTP?


All subdomain (cpanel, www, webmail) working in autoSSL but ftp not....


thanks
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
SLC
cPanel Access Level
DataCenter Provider
yes you can
first remove the cname or A recored for the zone ftp
then add it as a subdomain
then auto ssl will install a ssl
 

sozuadavi2

Member
Mar 9, 2016
12
0
1
BRasil
cPanel Access Level
Root Administrator
But I would like it to be automatic, so always when a new account creating script run, the subdomain ftp is already created automatic.... Is it possible? if yes how to do it?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
Hello @sozuadavi2

That is not something that is natively possible but you should be able to remove the ftp A record and create the subdomain. You may be able to write a hook that can do this for you as well as modify the DNS templates to omit the inclusion of the ftp A record.

to edit the zone template you can go to WHM>>DNS Functions>>Edit Zone Templates

Documentation on this can be found here: Edit Zone Templates - Version 72 Documentation - cPanel Documentation

Then the documentation on custom hooks can be found here: Guide to Standardized Hooks - Developer Documentation - cPanel Documentation