When creating an instant alias on a domain, all websites get updated with an
pointer based on instant alias and site name
This commit is contained in:
parent
3047279632
commit
555fb75d5d
6 changed files with 26 additions and 23 deletions
|
@ -178,7 +178,7 @@ namespace WebsitePanel.Portal
|
|||
try
|
||||
{
|
||||
domainId = ES.Services.Servers.AddDomainWithProvisioning(PanelSecurity.PackageId,
|
||||
domainName, type, CreateWebSite.Checked, pointWebSiteId, pointMailDomainId,
|
||||
domainName.ToLower(), type, CreateWebSite.Checked, pointWebSiteId, pointMailDomainId,
|
||||
EnableDns.Checked, CreateInstantAlias.Checked, AllowSubDomains.Checked, "");
|
||||
|
||||
if (domainId < 0)
|
||||
|
|
|
@ -52,7 +52,7 @@ namespace WebsitePanel.Portal.ExchangeServer
|
|||
{
|
||||
|
||||
int itemId = ES.Services.Organizations.CreateOrganization(PanelSecurity.PackageId,
|
||||
txtOrganizationID.Text.Trim(), txtOrganizationName.Text.Trim());
|
||||
txtOrganizationID.Text.Trim().ToLower(), txtOrganizationName.Text.Trim().ToLower());
|
||||
|
||||
if (itemId < 0)
|
||||
{
|
||||
|
|
|
@ -67,14 +67,6 @@ namespace WebsitePanel.Portal
|
|||
|
||||
private void BindIgnoreZoneTemplate()
|
||||
{
|
||||
/*
|
||||
PackageContext cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);
|
||||
if (cntx.Quotas[Quotas.WEB_SITES].QuotaUsedValue > 0)
|
||||
chkIgnoreGlobalDNSRecords.Visible = chkIgnoreGlobalDNSRecords.Checked = lblIgnoreGlobalDNSRecords.Visible = true;
|
||||
else
|
||||
chkIgnoreGlobalDNSRecords.Visible = chkIgnoreGlobalDNSRecords.Checked = lblIgnoreGlobalDNSRecords.Visible= false;
|
||||
*/
|
||||
|
||||
chkIgnoreGlobalDNSRecords.Checked = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue