Plesk 11.x / Linux :: Creating Site With Subdomain

Jun 20, 2014

I am planning to create site with sub domains like smth.domain.pl and there will be around 10 sub domains now my question is how to handle sub domain creation trough plesk or by htaccess ?

View 1 Replies


ADVERTISEMENT

Plesk 11.x / Windows :: Script PHP For Creating Subdomain

Apr 24, 2014

I am trying to write a script PHP creating a subdomain on a server when executed (as well as doing other stuff, but that part work). But, when I send my request to the server, the script, while it does create the subdomain, doesn't display anything upon execution (I have put a few echo in the script to check the advancement, and nothing appears).

The error message : Echec du chargement de la page Aucune donnée reçue.

Here is my code :

/**
* Returns DOM object representing request for creation of new subdomain named after the parameter
* @return DOMDocument
*/
function createSubdomain($nom)
{
$xmldoc = new DomDocument('1.0', 'UTF-8');
$xmldoc->formatOutput = true;
$packet = $xmldoc->createElement('packet');

[Code] ....

The function curlInit and sendRequest are those used in the examples provided on this site, but I put them here just in case :

/**
* Prepares CURL to perform Plesk API request
* @return resource
*/
function curlInit($host, $login, $password)

[Code] ....

Why it doesn't send anything back ? When I modify the property line in the request, the script displays something, but it also fails at creating the subdomain (because the parameters are incorrect).

View 3 Replies View Related

Plesk 12.x / Windows :: Error Creating A Subdomain?

Jul 8, 2014

In the attached image, the following error details to create a new subdomain

View 3 Replies View Related

Plesk 11.x / Windows :: Fatal Error In Creating Subdomain?

May 1, 2013

recently i created a domain subscription with 3 alias domains. Thanafter i created a sub domain to a folder in the main domain. At first all went fine but after deleting the alias domains subdomains ans domain supscrption to register all the 4 domains each seperately a problem accured and i cant add any subdomain to none of the 4 domains. registering the domains themselves as individual domain works for each one perfect. But as soon as i try to add a subdomain on any of that 4 domains i get an error that the dns data could not be updated. As it looks like there is still some codes in the plesk database that links to 4 domains in any kind together and prevents me to creste a subdomain.

How can i manually remove all the domains subdomains and alias domain garbage from the plesk database. I use windows version of plesk panel 11.0.9 on windows 2008 server datacenter edition. I have good skils in IT but im not familiar with mysql and plesk. how to remove the records from plesk Mysql database. Command line commands internal commands locations that have to be altered and all other needed steps.

View 1 Replies View Related

Plesk 12.x / Windows :: Create Subdomain Without Creating Main Domain

Mar 21, 2015

I am using Web admin edition .I need to create two subdomains namely sub1.example.com and sub2.example.com with different IP address. So i need to create two webspaces since a webspace cannot have two domians pointing to two different IP. So now to I can create two webspaces set to different IP. But to create sub1.example.com in one webspace and sub2.example.com in another webspace , i need main domain example.com in both the workspace. But if try to create example.com in second webspace it already exists.Because it exists in another webspace. Actually i dont want to create example.com in both webspace. i need to its subdomain in different webspace.

So one solution is to create example.com and sub1.example.com in one webspace and create another webspace using Adding new webspace and specifying domain name as sub2.example.com. But i don't know does the second subdomain will work properly without creating main domain.

View 1 Replies View Related

Plesk 11.x / Windows :: Creating Subdomain - Access Is Denied Due To Invalid Credentials

Sep 22, 2012

I have a problem with my plesk v11, when i create a new subdomain and upload my asp.net application to that and make a request to view my web page it get Server Error 401 :

401 - Unauthorized: Access is denied due to invalid credentials.

You do not have permission to view this directory or page using the credentials that you supplied.

But my main web site have not any problem and works fine, my changes that didn't work :

1) change in web.config file :

<authentication mode="None">
</authentication>

2) change in web config file :

<authorization>
<allow users="?"/>
</authorization>

Another question that i have is this happens because the Plesk's default permission assigning to the main domain so the users can view content without problem, but the permission isnt assign to the created subdomains ?

If this is the problem, how can i fix it so my users can see the content with our Windows Authentication or Forms authentication or anything else?

this is my domain name : www.senatex.ir
and this is my sub domain : nerkh.senatex.ir

Also parallels default host files not have any problems, for example : content.senatex.ir

View 1 Replies View Related

Plesk 11.x / Windows :: Error - Invalid Webmail Type When Creating Subdomain

Jun 30, 2012

I recently upgraded to version 11.0. Since the upgrade, I am not longer able to to create Sub-Domains. I did this all the time with version 10x with NO issues whatsover, but now I get the following error when trying to create a subdomain:

Error: Invalid webmail type

SCREENSHOT OF ERROR IS ATTACHED.

View 9 Replies View Related

Plesk 11.x / Windows :: All Possible Subdomain Will Go To Main Site?

Apr 7, 2014

I need to make it so that all possible subdomains will go to my main site

How do I do that?

View 4 Replies View Related

Creating Subdomain To Point To A Different URL

Jul 29, 2009

I have some URLs like:
[url]

[url]

Now,I would like to create an alias/sub-domain for this URL. For example:
[url]-> [url]

[url]-> [url]

how this can be done? Do I have to create a subdomain for this? But when I try to create a subdomain throught the OLM control panel, it asks me for the real path i.e. '/var/www/html/subdomain_folder' which I don't have in this case. Secondly, can this be done without modifying any information in the DNS? Changing DNS costs be $5/change from OLM

View 2 Replies View Related

Creating Same Subdomain Name/directory On Add-on

Aug 20, 2007

I have a problem here.

I have 2 domain on 1 account, which one is called domainA.com & domainB.com is an add-on.

I created 2 same subdomain name which are assigned to same subfolder!

subdomain.domainA.com (/public_html/subdomain)
subdomain.domainB.com (/public_html/subdomain)

The question is: How do i change domainB subdomain folder to something else? (eg. /public_html/domainb/subdomain)

View 1 Replies View Related

Automatically Creating A Subdomain For Each User

Jun 19, 2007

Here is a summary:

One) allow users to register at the homepage. Then give them automatically a URL such as username mydomain com

Two) A catch-all subdomain so that if someone browses to xxxx mydomain d0t com and xxxx is not registered by any user; then it is redirected to www mydomain com

Three) All registered subusers details to be maintained in Mysql database (this seems to be easy)

Four) If possible, impose individual quota on each registered user (not really critical).

Which hosting plan should I go with for this? VPS? Shared hosting? Something else?

any particular company? what's the best approach for automatically creating the subdomain for each user upon registering at the site?

View 1 Replies View Related

Plesk 12.x / Linux :: Creating Name Server

May 18, 2015

I have two servers, a plesk 11 installation and a plesk 12. Running Centos.

On the plesk 11, set up by others, I have a nameserver running NS1.xxxx.net & ns2.xxxx.net point to the IP of the server.

I want to create a nameserver on the plesk 12 -- can't see how to do this. Is there a nameserver setup function in plesk 12?

More advanced question:

The domain name xxx.net is hosted at 1&1 where I have put the IP of the plesk 11 server in the A records for ns1.xxxx.net and ns2.xxxx.net. I have pointed ns3.xxxx.net and ns4.xxx.net at the IP of the Plesk 12 server -- as I would like to use these addresses for consistency. If necessary, I'll use ns1/ns2.yyyy.net.

View 1 Replies View Related

Plesk 11.x / Linux :: Creating DNS Records Via API RPC?

May 25, 2014

I'm looking for a way to create DNS records on a Plesk Panel account at the 'customer' level.

View 5 Replies View Related

Plesk 12.x / Linux :: Error When Creating Domains?

May 15, 2015

since yesterday I'm receiving this errors on some website: see attachment

View 2 Replies View Related

Plesk 12.x / Linux :: Error When Creating New Subscription

Jun 18, 2015

We get this same error on every subscription we create. It doesn't seem to affect anything but it's more of an annoyance than anything. It did it on plesk 11.5 and now with plesk 12.

[2015-06-18 08:35:13] ERR [util_exec] proc_close() failed
PHP Fatal error: Uncaught exception 'PleskUtilException' with message 'glmng failed: ' in /usr/local/psa/admin/plib/Service/Agent.php:243
Stack trace:

[Code] .....

View 7 Replies View Related

Plesk 11.x / Linux :: Creating Mail Accounts From The CLI

Aug 7, 2014

When I use the /usr/local/psa/admin/bin/mailmng script to update the password for a mail account, the account is removed:

Code:
[root@www postfix]# /usr/local/psa/admin/bin/mail_auth_view
Authentication database contents:
+--------------------------------------+-----+--------------------------------------+
| address |flags| password |
+--------------------------------------+-----+--------------------------------------+
| ...<SNIP>... | | |
| eric@example.com | | ********* |
| ...<SNIP>... | | |
+--------------------------------------+-----+--------------------------------------+
Flags

[Code].....

View 5 Replies View Related

Multiple Servers Managment Creating Subdomain On 2nd Server

Jan 22, 2007

I currently own a few web hosting company's.

Where i seem to be having trouble is that i have allways used Reseller accounts to run my business. But recently this month i have purchased My own Servers.
I currently Own 9 Servers in total. So when it comes to Actual Server Managment im running into a brick wall lol

One of my business's invlolves Free web hosting.
And and I have been using one server for the free web hosting clients.

The problem is that sigle server is Maxed out I cannot add any more accounts to it withought jeperdising its stability.

This service Not only inlcudes Free domain hosting but sub domain hosting as well.

So now that you know a little background on what im doing heres the question

We use Client Exec as our billing and Auto Account Creation and we know its possible to Add multiple server to Client Exec and we can tell it to creat new accounts on anouther server But what hapends when someone wants a subdomain?

Its my understanding that subdomains can only reside on the server that the actual domain is being hosted. Is this right ? or is there a way to creat subdomains of a .com on anouther server where is not located...

Also i was wondering if it was possible to join servers together in one whm?
So under Ip Adresses we could just specify a new Ip & server would this work ?

I really need help fast since i get an average of 90 sighnups a day. and im sorry if theres a simple solution to this.. Im just new to actually owning my own hardware instead of using someone elses.

to me it just doesnt make any sence and i know it needs to be possible somehow ..

View 2 Replies View Related

Plesk 11.x / Linux :: Creating New Subscription - 502 Bad Gateway Error

Dec 10, 2013

I have a problem with "502 Bad Gateway" errore when I'm trying to create a new subscription.

Here my logfile:

/var/log/sw-cp-server/error_log:

2013/12/10 12:47:03 [error] 11827#0: *100 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: XX.XXX.XX.XXX, server: , request: "POST /admin/subscription/create HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "xxxxxxxxxxxxx.xx:8443", referrer: "https://xxxxxxxxxxxxx.xx:8443/admin/subscription/create"Click to expand...

View 8 Replies View Related

Plesk 11.x / Linux :: Creating Mail Through SSH Error Message

Jul 4, 2014

When I try to create an email address with this command

./mail --create test@domain.com -passwd dommage -mailbox false -manage-spamfilter true -redirect true -rediraddr stevefigueras@yahoo.fr

i get this message error and i don't understand why

-bash: ./mail: No such file or directory

View 4 Replies View Related

Plesk 12.x / Linux :: Creating New Customer With New Subscription - No Notification Received

Jul 26, 2014

Not sure if all notifications are working or not but I do know that when I create a new customer with a new subscription no notification is received. I have tested with several email addresses.

View 1 Replies View Related

Plesk 12.x / Linux :: Error Creating Database From Client Account

Jul 14, 2015

My panel suddenly stop works to create databases from client account.This error shows:

Internal error.
PHP Notice: Undefined variable: dbType

From admin account there is no problem to create databases.I`ve run bootstrap.sh repair successfully but still not working.Plesk 12.0.18 #55 Ubuntu Linux 10.04

View 2 Replies View Related

Plesk 11.x / Linux :: How To Stop Creating FTP Accounts And Remove Existing Ones

Dec 26, 2013

I have noticed that for each new subscription I create Plesk automatically creates an FTP account. Further; I cannot delete this. (It seems the Remove button would allow me to delete additional FTP accounts but not the one added when the subscription was created).

I would like:

1) To delete these system created FTP accounts

2) To prevent it doing this in future. I would like to create subscriptions without FTP accounts.

I'd prefer to do it this way and leave the FTP server running. However; I am wondering about disabling FTP access altogether if I have to. I do use SFTP. I'm afraid my Linux knowledge is so limited I don't know if SFTP uses the FTP server; so if I turned off the ftp server whether that would prevent sftp access?

The motivation for doing this is that while I have 'customers' and subscribers in fact I am the only user and will transfer files to the server by SFTP and then move them around the server logged on via SSH. Since I'm not using FTP it seems sensible not to have all these accounts floating about.

View 19 Replies View Related

Plesk 12.x / Linux :: Changing Custom Port And Creating Full Backups

Jan 22, 2015

Have some very important questions regarding changing plesk ports and creating full backups.

1. When changing plesks port number, what exactly will it effect? Will it effect auto updates, etc.?

2. When creating a backup, I'd like to backup the entire server to rollback at anytime when changes are made to core files, is this possible?

3. With backups, somehow I'd like to schedule backups to possibly make nightly copies to an external hard drive on my computer for a fail safe method just in case the server happens to crash and I'd need to restore to another server/service. How would this be possible?

View 4 Replies View Related

Plesk 12.x / Linux :: Creating Webspace For Main Account Holder (web Host)?

Jul 30, 2014

When I create a webspace for the main account holder (web host) , I get the following error when I click on "Manage Hosting" ?

ERROR: Call to a member function getDomainId() on a non-object (AccountController.php:77)

View 3 Replies View Related

Plesk 12.x / Linux :: Creating Lot Of Email Address With Redirect And Send Copy To

Nov 28, 2014

Under plesk 12.0.18, I would like to create thousand email address with redirect and send copy to. Its a long work to do.

Is there a solution to create all these email via an import csv, xls or else ?

View 2 Replies View Related

Plesk 12.x / Linux :: Page Not Found / Timeout / 502 Bad Gateway Error Creating Accounts

Jun 22, 2015

As I read, when Plesk and WHMCS are in the same server, you may have 502 bad gateway errors when creating an account through WHMCS..Page not Found/Timeout/502 Bad Gateway error creating accounts with Plesk 10+..By default Plesk 10 and above performs a forced restart of apache when an account is created or suspended which causes WHMCS to lose connection to the server, and if your WHMCS is on the same server, you will also lose connection to WHMCS at the same time.

In order to resolve this please refer to the following knowledgebase article for instructions on configuring Plesk to perform a graceful restart instead: URL..

But when I activate nginx in Plesk the 502 bad Gateway problem comes back.Is there an option to activate Nginx graceful restart in Plesk?

View 4 Replies View Related

Plesk 12.x / Linux :: Webmail Without Subdomain?

Jul 10, 2015

I'm planning on hosting some websites for customers. I am using Plesk 12. So far so good.

Now here's the problem. For some reason my host by default doesn't offer subdomains (unless I buy a more expensive package). Will this cause any problems? For example webmail.mydomain.com won't work because it uses a subdomain.

Will there be another way for customers to access their webmail?

View 3 Replies View Related

Plesk 11.x / Linux :: Cannot Add New SubDomain - No Such Option

Feb 21, 2015

After I post my desired subdomain as mysubdomain.domain.com on /mysubdomain.domain.com/

I get "Error: phpinimng failed: Usage: phpinimng [options] [php_ini_file] phpinimng: error: no such option: --global-config" on main window.

Tried to search how to fix this error, i managed to find that there is also " missing or incorrect /usr/local/sb/include/init.php ". As for this error this doesn't work [URL] .... It's already correct permission 755.

The subdomain appears only in DNS records on my domain. But not in the main plesk panel window.

OS is Debian 7.6 and Plesk 11.5, mysql runs over sock

Maybe I could create manual configuration over ssh in /var/www/vhost/ dir ..?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved