Class AddSubdomain
- Namespace
- KASserver
- Assembly
- KASserver.Client.dll
Parameters for creating a subdomain (add_subdomain). The new host is
{SubdomainName}.{DomainName}. Only the two name parts are required; every other property is
optional and only sent when set, leaving the KAS defaults in place
(redirect_status = no redirect, statistic_version = 5, statistic_language = de,
php_version = 7.1).
public sealed class AddSubdomain
- Inheritance
-
AddSubdomain
- Inherited Members
Properties
DomainName
The domain the label is added to (domain_name), e.g. example.com. Required.
public required string DomainName { get; set; }
Property Value
PhpVersion
The PHP version (php_version), a raw KAS version string such as 8.3; defaults to
7.1 on the server. The documented 5.X|7.X format is outdated — current accounts
also accept 8.x. Optional.
public string? PhpVersion { get; set; }
Property Value
Redirect
The redirect behaviour (redirect_status); defaults to no redirect on the server. Optional.
public RedirectStatus? Redirect { get; set; }
Property Value
StatisticLanguage
The webalizer statistics language (statistic_language); defaults to de on the server. Optional.
public WebalizerLanguage? StatisticLanguage { get; set; }
Property Value
StatisticVersion
The webalizer statistics version (statistic_version); defaults to 5 on the server. Optional.
public WebalizerVersion? StatisticVersion { get; set; }
Property Value
SubdomainName
The subdomain label (subdomain_name), e.g. shop for shop.example.com. Required.
public required string SubdomainName { get; set; }
Property Value
SubdomainPath
The host path within the account, or — when a redirect is set — a target FQDN or WBK
(subdomain_path). Examples: /path/, http://domain.tld, wbk:wbk000001.
Optional.
public string? SubdomainPath { get; set; }