servisys / ispconfig_setup

ISPConfig autoinstaller and setup
GNU General Public License v3.0
507 stars 257 forks source link

nTLD is not accepted as FQDN #261

Closed vitushoesl closed 5 years ago

vitushoesl commented 5 years ago

The system does not allow to use a new gTLD as the FQDN.

I have tried using

tdulcet commented 5 years ago

It looks like this line: https://github.com/servisys/ispconfig_setup/blob/ddbb4a4264e12be1489fd5f3180d789ba92dab7f/install.sh#L97 should be this:

RE2='^([[:alnum:]][[:alnum:]\-]{0,61}[[:alnum:]]\.)+[a-zA-Z]{2,63}$'

You can ignore the warning for now. It will not prevent you from installing.

servisys commented 5 years ago

Someone tried if this is working with?

RE2='^([[:alnum:]][[:alnum:]-]{0,61}[[:alnum:]].)+[a-zA-Z]{2,63}$'

tdulcet commented 5 years ago

I tried it with "ispconfig-test.vh.fyi". That change should make it work with all two character subdomains.

BTW, do not forget to escape the - and the . in the regular expression:

RE2='^([[:alnum:]][[:alnum:]\-]{0,61}[[:alnum:]]\.)+[a-zA-Z]{2,63}$'
servisys commented 5 years ago

Fixed, do a try if you can :)