Fixed: Domain DNS records not properly created / missing records during WHMCS
setup.
This commit is contained in:
parent
a8ff354d43
commit
e6a1120d82
1 changed files with 7 additions and 1 deletions
|
@ -173,7 +173,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
domain.PackageId = createdPackageId;
|
||||
domain.DomainName = domainName;
|
||||
domain.HostingAllowed = false;
|
||||
domainId = ServerController.AddDomain(domain, false, createZoneRecord);
|
||||
domainId = ServerController.AddDomain(domain, false, false);
|
||||
if (domainId < 0)
|
||||
{
|
||||
// rollback wizard
|
||||
|
@ -323,6 +323,12 @@ namespace WebsitePanel.EnterpriseServer
|
|||
return instantAliasId;
|
||||
}
|
||||
}
|
||||
|
||||
// Domain DNS Zone
|
||||
if (createZoneRecord && (domainId > 0))
|
||||
{
|
||||
ServerController.EnableDomainDns(domainId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue