Fixed: HostHeaders are not registered as domainpointer when importing
This commit is contained in:
parent
007b8eb45e
commit
41ab5f4346
1 changed files with 1 additions and 1 deletions
|
@ -3716,6 +3716,7 @@ Please ensure the space has been allocated {0} IP address as a dedicated one and
|
||||||
DomainInfo newDomain = new DomainInfo();
|
DomainInfo newDomain = new DomainInfo();
|
||||||
newDomain.DomainName = b.Host.ToLower();
|
newDomain.DomainName = b.Host.ToLower();
|
||||||
newDomain.PackageId = domain.PackageId;
|
newDomain.PackageId = domain.PackageId;
|
||||||
|
newDomain.IsDomainPointer = true;
|
||||||
|
|
||||||
int newDomainID = ServerController.AddDomain(newDomain, domain.IsInstantAlias, false);
|
int newDomainID = ServerController.AddDomain(newDomain, domain.IsInstantAlias, false);
|
||||||
if (newDomainID > 0)
|
if (newDomainID > 0)
|
||||||
|
@ -3726,7 +3727,6 @@ Please ensure the space has been allocated {0} IP address as a dedicated one and
|
||||||
newDomain.WebSiteId = siteId;
|
newDomain.WebSiteId = siteId;
|
||||||
newDomain.ZoneItemId = domain.ZoneItemId;
|
newDomain.ZoneItemId = domain.ZoneItemId;
|
||||||
newDomain.DomainItemId = domain.DomainId;
|
newDomain.DomainItemId = domain.DomainId;
|
||||||
newDomain.IsDomainPointer = true;
|
|
||||||
ServerController.UpdateDomain(newDomain);
|
ServerController.UpdateDomain(newDomain);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue