Sponsor for just $1/mo and receive access to our private Discord server!

Lightning-fast WordPress on Nginx

SlickStack Config: TLD vs Domain

There are currently two variables in the ss-config file which are SITE_TLD and SITE_DOMAIN. The reason for this is that SlickStack aims to be as verbose as possible so that advanced developers can understand and control what is going on (to avoid unclear behind-the-scenes configuration).

  • SITE_TLD = The top-level domain that you want to install on your server, regardless of being WordPress single-site or Multisite installations. If you choose a Multisite installation then only this variable matters, the domain variable will be ignored (no www prefix allowed on Multisite installations at this time).
  • SITE_DOMAIN = The full domain you want to install WordPress for single site installations, including any prefixes (sub-directories not supported). For example:
    • www.example.com
    • example.com
    • sub.example.com
    • example.com.au
    • www2.example.com.au

As you can see, if we tried to automate too much of the setup and configuration process, we might not consider certain atypical situations or environments. In some cases there are only 1 period in the full domain, and in others there are two, three, or more periods. Make sure to always remove all slashes from both of these variables.

Last modified on September 25, 2019