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
|
@ -1118,7 +1118,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
if (!string.IsNullOrEmpty(b.Host))
|
||||
{
|
||||
domain.DomainName = b.Host;
|
||||
int domainID = ServerController.AddDomain(domain);
|
||||
int domainID = ServerController.AddDomain(domain, domain.IsInstantAlias, false);
|
||||
DomainInfo domainTmp = ServerController.GetDomain(domainID);
|
||||
if (domainTmp != null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue