Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

3. $VAR->subDomain->

 
advanced administration guide linuxappendix b apache configuration variablesdomain namephppython

The content of $VAR->subDomain is defined by the value of the
domainId and subDomainId keys in $metainfo.

  • $VAR->subDomain->id

    Subdomain ID; string

  • $VAR->subDomain->asciiName

    Subdomain name in ASCII format (without the domain name part, i.e.
    “forum” if the full domain name is “forum.example.com”); string

  • $VAR-subDomain->asciiFullName

    Full subdomain name (including the domain name part) in ASCII format;
    string

  • $VAR->subDomain->httpDir

    The absolute path to the website’s httpdocs directory; string

  • $VAR->subDomain->httpsDir

    The absolute path to the website’s httpsdocs directory; string

  • $VAR->subDomain->siteAppsConfigDir

    The absolute path to the website’s directory where configuration
    files of the installed non-SSL/TLS site applications are stored;
    string

  • $VAR->subDomain->siteAppsSslConfigDir

    The absolute path to the website’s directory where configuration
    files of the installed SSL/TLS site applications are stored; string

  • $VAR->subDomain->customConfigFile

    The absolute path to the directory conf/vhost.conf for a
    non-SSL/TLS website; string

  • $VAR->subDomain->customSslConfigFile

    The absolute path to the directory conf/vhost.conf for an SSL/TLS
    website; string

  • $VAR->subDomain->login

    Username of FTP account used to access the website content; string

  • $VAR->subDomain->cgi

    Defines if the CGI support is enabled on the website; boolean

  • $VAR->subDomain->cgiBinDir

    The full path to the cgi-bin directory of the website; string

  • $VAR->subDomain->perl

    Defines if the perl support is enabled on the website; boolean

  • $VAR->subDomain->asp

    Defines if the ASP support is enabled on the website; boolean

  • $VAR->subDomain->php

    Defines if the PHP support is enabled on the website; boolean

  • $VAR->subDomain->phpHandlerType

    Defines PHP handler type; string

  • $VAR->subDomain->python

    Defines if the python support is enabled on the website; boolean

  • $VAR->subDomain->fastcgi

    Defines if the FastCGI support is enabled on the website; boolean

  • $VAR->subDomain->ssi

    Defines if the SSI support is enabled on the website; boolean

  • $VAR->subDomain->ssl

    Defines if the SSL/TLS support is enabled on the website; boolean

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

Ruby on Rails vs PHP: Which one’s right for your needs?

Read More »

Configuring DNS For A Domain With Plesk

Read More »

All About Managing Domain Names in Plesk

Read More »
Knowledge Base

4. $VAR->ipAddress->

Read More »

1. $VAR->server->

Read More »

2. $VAR->domain->

Read More »

Appendix A: Configuration Templates Structure

Read More »

Hosting Wiki

  • PhpMyAdmin
  • phpPgAdmin
  • Linux
  • Python
  • PHP
  • Domain
  • Apache
  • SSL
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family