Bug when creating very long domains

Discussion in 'Developers' Forum' started by magenbrot, Oct 27, 2009.

  1. magenbrot

    magenbrot HowtoForge Supporter

    I recently registered the following domain:
    141592653589793238462643383279502884197169399375105820974944592.de

    Setting it up under sites was no problem, but if I want to add a subdomain like 3.141592653589793238462643383279502884197169399375105820974944592.de it shows "Domain name invalid".

    The regex used to check these domainnames isn't working correctly. I manually changed it, now it is working. Maybe the limit to 63 signs should be removed. I think that this limit is already clear to everybody.

    regards,
    Oliver
     
  2. falko

    falko Super Moderator

    Can you post the regex that you're uisng now?
     
  3. till

    till Super Moderator

  4. edge

    edge HowtoForge Supporter

    off topic, but you should have registered www.π.de (xn--1xa.de)
    Try it.. www.π.de will showup as xn--1xa.de
     
  5. magenbrot

    magenbrot HowtoForge Supporter

    I just extended it to 70 chars as this was enough to configure the url with ispconfig:

    Code:
    /^[\w\.\-]{2,70}\.[a-zA-Z]{2,10}$/
    @edge: nice idea, but with the german registry DENIC not possible, see http://www.denic.de/en/faq-single/341/246.html?cHash=dee610e72e
     

Share This Page