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

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Description Hosting providers often sell or give away holding 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 *before* 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.
        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 *before* 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.
        admin Paul Phillips made changes -
        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 *before* 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.
        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 *before* 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.

        Adding this to other shared hosting modules also would be a good idea.
        admin Paul Phillips made changes -
        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 *before* 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.

        Adding this to other shared hosting modules also would be a good idea.
        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 *before* 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.

        *Alternative Better Option:* This could exist as 2 configurable options. A text field for the sub-domain portion, and a dropdown to select the domain. Together these become a FQDN. If it is set up this way, the Domain field needs to be suppressed during order, so we may want to add an option to the Package that disables the display of that field. If the config options exist, we will combine those to create the FQDN to send to cPanel, and to store in the Domain field for the service.

        Adding this to other shared hosting modules also would be a good idea.
        admin Paul Phillips made changes -
        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 *before* 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.

        *Alternative Better Option:* This could exist as 2 configurable options. A text field for the sub-domain portion, and a dropdown to select the domain. Together these become a FQDN. If it is set up this way, the Domain field needs to be suppressed during order, so we may want to add an option to the Package that disables the display of that field. If the config options exist, we will combine those to create the FQDN to send to cPanel, and to store in the Domain field for the service.

        Adding this to other shared hosting modules also would be a good idea.
        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 *before* 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.

        Adding this to other shared hosting modules also would be a good idea.
        admin Paul Phillips made changes -
        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 *before* 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.

        Adding this to other shared hosting modules also would be a good idea.
        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.

        Adding this to other shared hosting modules also would be a good idea.
        admin Paul Phillips made changes -
        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.

        Adding this to other shared hosting modules also would be a good idea.
        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.

        Adding this to other shared hosting modules also would be a good idea.
        admin Paul Phillips made changes -
        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.

        Adding this to other shared hosting modules also would be a good idea.
        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.
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Assignee Jonathan Reissmueller [ jonathan ]
        jonathan Jonathan Reissmueller made changes -
        Assignee Jonathan Reissmueller [ jonathan ] Abdy Franco [ abdy ]
        jonathan Jonathan Reissmueller made changes -
        Story Points 5
        Automated transition triggered when Abdy Franco created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        Automated transition triggered when Abdy Franco created pull request #22 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 3 hours, 45 minutes [ 13500 ]
        Worklog Id 12773 [ 12773 ]
        tyson Tyson Phillips (Inactive) made changes -
        Fix Version/s 4.8.0-b1 [ 11127 ]
        Fix Version/s Short Term [ 10800 ]
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.8.0 Sprint 5 [ 96 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Time Spent 3 hours, 45 minutes [ 13500 ] 6 hours, 51 minutes [ 24660 ]
        Worklog Id 12805 [ 12805 ]
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #22 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]

          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