Skip to main content

Catch-All / Wildcard Domain

Comments

9 comments

  • Jcats
    Hello, This would be the default cPanel page, you can change it here: WHM " Account Functions " Web Template Editor Template: Default Website Page
    0
  • cPanelMichael
    Hello, The previous post is correct. You can use "WHM >> Web Template Editor" to modify the template used for the default website page. Thank you.
    0
  • tui
    Hello @Jcats and @cPanelMichael thanks for your reply, but my question does not refer to that, its about domains (any domain) that is pointing to our dns's (cluster) but does not have a active account in any of our servers; i want to catch-all those domains (hundreds) to show a landing website...
    0
  • Jcats
    Yeah off the top of my head I'm not really sure how that would be possible, but the default cPanel page is basically a catchall since you will only ever see that page if someone visits a domain that doesn't have a virtual host in Apache which is exactly what you are looking for.
    0
  • tui
    Well, yes and not @Jcats that works if you have a dns server for each hosting server (ns1 and ns2 in server 1, ns3 and ns4 in server 2 etc..) but that does not work if you have a dns cluster (dns server 1, dns server 2, dns server 3, etc..) and all hosting servers without a dns server, if you visit a domain that is pointing to your dns's cluster and it does not have a cPanel account configured in your dns cluster you get a "ERR_NAME_RESOLUTION_FAILED" error. There should be a way to catch-all domains on dns cluster and configure them to a cPanel account in a server if they does not have a cPanel account in cluster, the problem is that you could not know the domain names, its impossible to park one by one and then unpark them in order to create an account in case that the client wants to create an account again..
    0
  • Jcats
    Yeah I gotcha now, I did find: How to configure a BIND server to catch all but how do you terminate the accounts? What if you used the option to 'keep dns zone' while terminating the account, this way the zone remains in the cluster.
    0
  • tui
    Thanks Jcats, lets try the suggestion you found :D The "Keep dns zone" option would work, but the accounts are terminated automatically (or by our agents) via whmcs, another problem i see using "keep dns zone" is that if a client decide to buy a new hosting package, the account could not be created because it already exists on dns cluster which implies that an server admin manually deletes the zone in cluster so that an agent can create the account from whmcs
    0
  • tui
    Hello again, unfortunatelly the @Jcats suggestion does not work because you need to configure zones on a zone file and there is no way to configure all domains, there should be a way to do this... In resume, what we want to achieve its to set a landing page to any (any literally) domain that points to our dns cluster and does not have a cpanel account (or a dns zone does not exist for that domain). Lets say that in this moment you buy domain dj2893dj2893djaslkdj.com and immediately point it to our dns's there should be a way to show a landing page, then when you buy a cPanel account from us the server create a zone for dj2893dj2893djaslkdj.com and you could put your website on the assigned server. What we want to win with this is to recover old clients that have an active domain pointing to our dns's but they do not have a cPanel account active with us, so we can put a landing page "this domain does not have a active hosting account, grab one for it here"
    0
  • cPanelMichael
    Hello @tui, You can find a list of system administration service providers on the following URL should you not receive user-feedback to your question regarding this custom setup: System Administration Services | cPanel Forums Thank you.
    0

Please sign in to leave a comment.