Sub-Domain DB


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, now its just creating demo DB.




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.

Yes, $DOM will be the full domain name.