Fix subdomain DNS messaging for Ladill nameservers and retire pending-setup primaries.
Deploy Ladill Hosting / deploy (push) Successful in 47s
Deploy Ladill Hosting / deploy (push) Successful in 47s
Treat ns_auto domains as managed DNS, publish subdomain A records via PowerDNS without failing the UX when the local DNS registry is missing, and promote real linked domains over pending-setup.local placeholders. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -42,9 +42,13 @@ class AdminHostingAssignmentService
|
||||
}
|
||||
|
||||
$primaryDomain = isset($input['primary_domain']) && $input['primary_domain'] !== ''
|
||||
? (string) $input['primary_domain']
|
||||
? strtolower(trim((string) $input['primary_domain']))
|
||||
: null;
|
||||
|
||||
if ($primaryDomain !== null && PlaceholderPrimaryDomainService::isPlaceholderDomain($primaryDomain)) {
|
||||
$primaryDomain = null;
|
||||
}
|
||||
|
||||
$accountType = match ($product->type) {
|
||||
'single_domain', 'multi_domain', 'wordpress' => HostingAccount::TYPE_SHARED,
|
||||
'vps' => HostingAccount::TYPE_VPS,
|
||||
|
||||
Reference in New Issue
Block a user