Domain management optimized and simplified:
Creation of websites and pointers decoupled from Domains in order to choose freely the hostname of a website or pointer. Quota enforcement around domain pointers disabled, though registration is still in place
This commit is contained in:
parent
ba71e9b29c
commit
92133e2c20
31 changed files with 9005 additions and 10978 deletions
|
@ -389,7 +389,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
public static PackageResult AddPackageWithResources(int userId, int planId, string spaceName,
|
||||
int statusId, bool sendLetter,
|
||||
bool createResources, string domainName, bool createInstantAlias, bool createWebSite,
|
||||
bool createFtpAccount, string ftpAccountName, bool createMailAccount)
|
||||
bool createFtpAccount, string ftpAccountName, bool createMailAccount, string hostName)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
@ -481,8 +481,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
// create web site
|
||||
try
|
||||
{
|
||||
int webSiteId = WebServerController.AddWebSite(
|
||||
packageId, domainId, 0, true);
|
||||
int webSiteId = WebServerController.AddWebSite(packageId, hostName, domainId, 0, true);
|
||||
if (webSiteId < 0)
|
||||
{
|
||||
result.Result = webSiteId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue