JustScott Posted March 1, 2020 Share Posted March 1, 2020 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. Thanks, Scott 0 Quote Link to comment Share on other sites More sharing options...
Remitur Posted March 2, 2020 Share Posted March 2, 2020 Many different ways to do it... Create a single wildcard DNS record:. *.example.com A. 111.111.111.111 (it will work for any subdomain, without the need to create a new DNS record for each site) Use the cpanel DNS service as primary (he will create the required records on its own) Script a custom code (it depends on what kind of DNS service you're using) 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.