Jump to content
  • 0

Prevent subdomain to be registered for hosting plan


Question

Posted

Hi, 

 

I have one quick question, is it possible to prevent clients to register subdomains as hosting plan? I'm using Blesta 4.1 and DirectAdmin module and I notice that many clients are using subdomain for registration and that is causing me problems so I want to prevent this.

Any hint where this option is located or how I can prevent this in Blesta?

3 answers to this question

Recommended Posts

  • 0
Posted

They are ordering a Directadmin hosting account for say sub.domain.com? It's difficult to distinguish between a domain and a subdomain with all of the multi-level TLDs out there. For example, a regular expression that prevented sub.domain.com may also prevent domain.co.uk

  • 0
Posted

Yes clients are ordering 99$ hosting plan for subdomain :(

I just want to stop this can you tell me any hint where do I need to code this future in order form or with module?

I think that this is easy to check with regular expression and I can exclude .co.uk domain name as I sell only that domain name for hosting plans, all other domains like com.in I'm not selling so I can add if statement and process it :) 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...