Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2849

cPanel: Add support for sub-domains under pre-determined domain

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.8.0-b1
    • Component/s: Modules
    • Labels:
      None

      Description

      Hosting providers often sell or give away hosting under one of their own domains. This started long ago in the old Freeserver days. A company may own a domain, like domain.com, and allow people to purchase whatevertheywant.domain.com

      The domain should be specified under the Package with a new module field called: Subdomains where a comma separated list of domains can be added, e.g. domain.com, anothername.com. During checkout, the client can enter what they want before the domain and then select the domain in a drop down menu. This complete FQDN would be passed to cPanel module for provisioning as if it were entered as before.domain.com during checkout, and stored as a service field in the same way as it is now.

      This feature should be something you enable on the Package, a check box that says "Enable Sub-Domains", which then expands and has a text field for a comma separated list of domains that will be available. Display in the drop down in the order entered. If this box isn't checked, the module should work just as it does now.

      One possible problem is validating whether the sub-domain has already been taken. If possible we should check this before the order is accepted. The simplest way would be to check if an A record exists for the subdomain, but I'm not sure if that is ideal.

      Adding this to other shared hosting modules also would be a good idea.

        Activity

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              23/Dec/19

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 6 hours, 51 minutes
              6h 51m

                Agile