1.	Remove the text on the Create a website tab that says “ignore” really can just delete whole line
2.	Database records for SSL need to be deleted from database when switching from Static to Dynamic (If you make a cert request, switch and switch again it shows the prior request. It should be defaulted again)
3.	Instant alias should ignore global dns rules
This commit is contained in:
robvde 2012-10-04 09:40:21 +04:00
parent d28dc2f1d8
commit aa11b4b202
5 changed files with 22 additions and 10 deletions

View file

@ -642,7 +642,15 @@ namespace WebsitePanel.EnterpriseServer
DomainInfo ZoneInfo = ServerController.GetDomain(domain.ZoneName);
if (ZoneInfo == null)
throw new Exception("failed to retrieve parent zone");
throw new Exception("Parent zone not found");
//cleanup certificates
List<SSLCertificate> certificates = GetCertificatesForSite(siteItemId);
foreach (SSLCertificate c in certificates)
{
DeleteCertificate(siteItemId, c);
}
List<DomainInfo> pointers = GetWebSitePointers(siteItemId);
foreach (DomainInfo pointer in pointers)