Submitted by danfix on Wed, 12/19/2018 - 04:18 Pro Licensee
Hi,
I wanted to find out, in the Server Template - Default Setting - MySQL database - Default database name - it has ${PREFIX}. This means it is taking the first part of the domain?
If so, could i use for the sub domain ${DOM} so it can create the whole sub-domain name in the DB?, like this Server Template - Settings For Sub-Servers - MySQL database - Default database name - Template - ${DOM}
In the DB it will be like demo.domain.com, now its just creating demo DB.
Thanks
Status:
Active
Comments
Submitted by andreychek on Wed, 12/19/2018 - 09:31 Comment #1
Howdy -- thanks for contacting us!
Yeah the $DOM variable is available in that particular field, and that may end up doing what you need.
Jamie would know with certainty, but I think $DOM would include the full sub.domain.tld in that situation.
Submitted by JamieCameron on Wed, 12/19/2018 - 23:38 Comment #2
Yes, $DOM will be the full domain name.