Jump to content

Insert DNS Record for Free Subdomain?


Recommended Posts

Hi -

We offer use the Free Sub Domain option for customers who do not have their own domain.

Once provisioned, we manually add the IP for the new sub domain to the primary domain DNS zone via WHM.

Can a Hook be used to automate this?

I know quite a few hosts offer free sub domains, so I was hoping it is something that is fairly common.





Link to comment
Share on other sites

Many different ways to do it...

  1. Create a single wildcard DNS record:.    *.example.com    A. (it will work for any subdomain, without the need to create a new DNS record for each site)
  2. Use the cpanel DNS service as primary (he will create the required records on its own)
  3. Script a custom code (it depends on what kind of DNS service you're using)
Link to comment
Share on other sites

Join the conversation

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

Reply to this topic...

×   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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated