Jump to content

WHMCS wrongly fill domain host if the DNS record hostname is empty

Recommended Posts



when managing custom DNS records for the domain at /clientarea.php?action=domaindns

I create new type A record with "Host Name" set as empty (since that is how that works in Namesilo), then after submitting the records and page reload WHMCS 6.x (see my signature please) wrongly fills the "Host Name" field with domain name. I mean if domain i am editing is domain.com, then it fills "domain" into "Host Name" field, even i have submitted empty value. It is problem, because after i submit next DNS record while not noticing it prefilled wrong value in previous record, it saves non empty value and everyone is confused why DNS is not resolving.

The /home/me/public_html/templates/default/clientareadomaindns.tpl contains this code. Can anyone please kindly suggest me what to replace by what so the empty hostname field stays empty?

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