DOmain Pointers adjusted:

When creating a new website the GlobalDNSRecord configuration defines the
hostheaders/websitepointer to be created

Various forms updated where the hostname field is set to www

GlobalDNSRecord  allows empty recordData field

To create related dns records when creating a hostheader/website pointer with
the specification of a hostname a 'A' or 'CNAME' globalDNSRecord definition
of '[host_name]' is required to create the the dns record.
This commit is contained in:
robvde 2012-09-13 12:43:42 +04:00
parent b54e810508
commit 9c9337ab94
14 changed files with 217 additions and 237 deletions

View file

@ -2005,7 +2005,8 @@ namespace WebsitePanel.EnterpriseServer
}
// delete zone if required
DnsServerController.DeleteZone(domain.ZoneItemId);
if (!domain.IsDomainPointer)
DnsServerController.DeleteZone(domain.ZoneItemId);
// delete domain
DataProvider.DeleteDomain(SecurityContext.User.UserId, domainId);