Plesk 12.x / Linux :: Easy Way To Convert Subdomain Into Domain?
Apr 7, 2015
I've got a customer that has a website at hisdomain.com . He created a subdomain called dev.hisdomain.com for the new version of his website. Now he wants to take it live. Had he created dev.hisdomain.com as a subscription instead of a subdomain, it would have been easy to "rename" the old site to old.hisdomain.com and then rename the new site to the current name.
Am I going to have to move all the files around at the command line or is there an easier way to switch around the sites? The server in use is CentOS 6.6
I thought that those were my options.
Click to expand...
Click for original message
View 6 Replies
ADVERTISEMENT
Jan 20, 2015
When i add a Domain or Subdomain through Plesk Panel, I get the following Warning :
Attention: relink-vhost-logs failed: mkdir: cannot create directory `./vps118861.ovh.net/logs': File exists ERROR: Cannot relink logs. Target directory '/var/www/vhosts/vps118861.ovh.net/logs' is in invalid state.
[URL]
I tried the 2 solutions but I still have the error... here are the results of the two commands :
[root@vps118861 logs]# ls -alh
total 2,3M
drwxr-xr-x 16 administrateur root 4,0K 20 janv. 13:59 .
[Code]....
View 2 Replies
View Related
Nov 28, 2014
Following configuration given:
Abo with "domain.com" - Hosting Type - Webspace (with E-Mail Services)
Subdomain "sub.domain.com" - Hosting Type - Forward
Customer asked us to activate Forward for "domain.com "to other Domain for 2 weeks - but as soon as a Subdomain points on a Domain - I can NOT change the Hosting Type anymore ... WHY???
If I want to change Hosting Type from Hosting to Forward for some weeks - it always deletes the whole Webspace for the Domain ... ?!?
1) Why can't I change Hosting Type when a Sub-Domain is created?
2) Why can't I tell Plesk to change Hosting Type WITHOUT deleting the whole Webspace ...
View 1 Replies
View Related
Apr 23, 2015
I want to add a subdomain foo.bar.com to a master domain bar.com in the subscription bar.com. Normally this works but if I set the hosting type of the master domain to forward, I cannot add subdomains anymore. If I have already added a subdomain, I cannot change the hosting type of the master domain. Also it is not possible to add a second domain to the subscription anymore.
View 6 Replies
View Related
Sep 1, 2014
change the webmail from Plesk over
/usr/local/psa/admin/conf/templates/custom/domainWebmail.php
thats working without a problem if i change the Webmail Subdomain from one to another.
But i want to change the webmail from
webmail.domain.tld
to
domain.tld/webmail
The following change in domainWebmail.php does not work:
ServerAlias "<?php echo $VAR->domain->asciiName ?>/webmail"
<?php foreach ($VAR->domain->mailAliases AS $alias): ?>
ServerAlias "<?php echo $alias->asciiName ?>/webmail"
<?php endforeach; ?>
View 1 Replies
View Related
Apr 13, 2015
I am running a CentOS 6.5, 64-bit server with Plesk 12.0.18, and need to install a wildcard SSL for one of the domains/sub domains hosted on this server.
So you have the csr and private key installed (and domain.crt?), you just need to open..
1. COMODORSAAddTrustCA
2. COMODORSADomainValidationSecureServerCA
On your desktop and combine the two files into a new intermediate.crt file and upload that as the CA File.
But I'm not sure why you can't add it as text.
Click to expand...
Click for original message
View 7 Replies
View Related
Sep 28, 2014
I'm setting up a SAAS service which is built on top of Laravel. To put it simply the service itself knows whether its being called from a sub.example.com or just example.com and serves a correct response accordingly. So going to sub.example.com will use the same index.php file as example.com but the routes and controllers within the application will provide a different response. sub.example.com will show a tenant login page where as example.com will show a new tenant subscription page or something else.
So when someone new subscribes I add a new entry to the database with a subdomain name for them and when a request comes from that subdomain and they are logged in it will show them their information. Easy right.
There is a problem though with setting it up with Plesk. When I add a wildcard subdomain, it will look for /subdomains/sub/ for the files which is a bit problematic since I want it to serve the files from the same place as the domain example.com.
Is there a way to configure that so that regardless of the subdomain it will try and serve the exact same content as my main domain?
View 2 Replies
View Related
Oct 29, 2014
When running the repair function to convert mailboxes to lowercase, I immediately receive the following error:
/usr/local/psa/bin/repair --convert-mailboxes-to-lowercase
2014-10-30T00:11:09+01:00 ERR (3) [util_exec]: proc_close() failed
What does this "[util_exec]: proc_close() failed" means and how can I fix this error?
View 2 Replies
View Related
Feb 19, 2013
I've got a plesk 11 server and I've created a subdomain for a client but I need to have this as a full domain for the SSL certificate. Is there a way to convert a subdomain to a full domain without deleting the subdomain and creating a new hosting subscription?
View 2 Replies
View Related
Sep 18, 2012
I have a client that has a subdomain shop.xxxx.com. This subdomain needs its own SSL and own IP address for it. Right now its listed as a subdomain under xxxx.com. Also, the xxxx.com has another SSL and IP.
Since there doesnt seem to be any way to do this in plesk, I had to create the subdomain as a regular subdomain and then manually manipulate IIS to change the IP and add the ssl mapping.
If I try to add a new domain, it automatically tags it with the WWW.
Is there any way to just create a new domain without the www infront of it, so I can move shop.xxxx.com from a subdomain to a primary domain that stands alone...
I haven't played around much with the new iis 7+, but in older iis, you needed a dedicated IP for each SSL certificate.
View 3 Replies
View Related
Aug 1, 2012
How can I set dedicated IIS Application Pool for each domain/subdomain? I only can found the setting assign one application pool for each subscription. But my subscription have two subdomain (one subdomain have virtual directory to share to other subdomain) and would like have two application pools.
View 7 Replies
View Related
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
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
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
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
View Related
Jul 3, 2014
I have a problem with Nginx on myPlesk 12 with wildcard dns.I want subdomains URl to be like root domain url. Exemple. URL...You can see a live exemple here: URL.... give error 404 instead of showing root domain file (URL....). It's the same for images.What specific rule I must add in plesk panel?
View 5 Replies
View Related
Nov 20, 2014
My config :
CPUAuthenticAMD, AMD Opteron(tm) Processor 4334
VersionParallels Plesk v12.0.18_build1200140606.15 os_CentOS 6
OSCentOS 6.5 (Final)
I install and use a site with wordpress in multisite mode using subdomain > its ok to make it work,
I create vhost.conf in /var/www/vhosts/system/mydomain.com/conf/vhost.conf
And add A key *.mydomain.com in DNS
I try to go to webmail.mydomain.com and it always redirect to my domain.com, I create a subdomain manually and subdomain don't work WHY ?
Question : What must I do to allow manual subdomain and webmail under Plesk v12.0.18_build1200140606.15
View 2 Replies
View Related
Nov 18, 2014
I trying to setup php5.4 on a Plesk 11.0.9 server using this guide:
[URL]
It works without problems but I can't get it to work on a subdomain.
As far as I know, the only difference should be the path in the vhost.conf. I changed that to match the path to the subdomain, restarted apache but it still won't start php5.4
View 1 Replies
View Related
Nov 4, 2014
I created a subdomain, delete all entries except the NS and A Records. I changed the NS records. Now i have to delete the Soa Record for this subdomain. I don't know, whether this was the correct way...
View 1 Replies
View Related
Oct 7, 2009
I mostly work with cPanel/WHM but, I have to work with Plesk for just one client of mine. He's on Plesk becoz I came to know Plesk worked better on 256MB VPS than cPanel in the early days. Hence, on my recommendation, he is on Plesk on a 512 MB Memory VPS till now for all these years.
I wonder how tedious it might be to convert from Plesk to cPanel? The client basically uses Joomala + vBulletin and runs forums as of now.
Also, which CP will perform better on 512 MB VPS - Plesk or cPanel.
View 5 Replies
View Related
Apr 29, 2015
I need to access plesk 11.0 over a subdomain at port 80 rather than port 8443 as my office firewall blocks the port 8443.
I tried KB article [URL] .... but its not working.
E.g.: I would like to access plesk panel @ portal.example.com rather than @ example.com/8443or8880
I have ample of spare IPs to use it...
View 4 Replies
View Related
Jun 25, 2014
Can't add new subscriptions or domains/ subdomain after upgrade. Upgraded to 12.0.18 today and can no longer add domains or subdomains. When I try create a new subscription I get the following error:
New configuration files for the Apache web server were not created due to the errors in configuration templates:
Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainVhost.php, error =
Template_Exception: No data. file: /usr/local/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: Template_Variable_Exception: No data. file: /usr/local/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 code: 0.
Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
Trying to generate all configuration files OR generate broken configuration files doesnt work. Still get the same error.
When I try can create a subdomain I get the error:
.............
Error: proftpd-config failed: mktemp: failed to create file via template `/etc/proftpd.d/50-plesk.conf.XXXXXX': No such file or directory
Can not create temporary file
...........
This solution [URL] ..... doesnt work that just says 'ls: cannot access /etc/proftpd.d/: No such file or directory'
I tried yum update proftpd to see if that would do anything but get this...
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* atomic: mir01.syntis.net
193 packages excluded due to repository priority protections
Setting up Update Process
No Match for argument: proftpd
No package proftpd available.
No Packages marked for Update
In plesk, ProFTPD ftpserver is showing as installed.
View 7 Replies
View Related
Feb 11, 2015
I have to change what file and how to modify it to allow only one subdomain to have access through port 8015 and not using port 80?
View 7 Replies
View Related
Nov 6, 2014
I'm trying to create a subdomain using API but get this as the response:
[result] => Array
(
[status] => error
[errcode] => 1002
[errtext] => ProtDir_Apache::update() failed: Unable to create user protection directory:Service node is unknown for sysuser with id=0
[code]....
how do you set the hosting type for the subdomain?! I don't see this in the docs.
View 2 Replies
View Related
Aug 30, 2014
I cannot seem to find a conclusive answer to this. I use subdomains to create client websites then once they are in their own domains the subdomains still remain. Can I delete only the subdomain and leave all the files or at least leave the database since it is still connected to the new domain. Example below.
subdomain.example.com uses database1
newsite.com still uses database1
Is there a way to copy the database into the new domain?
View 1 Replies
View Related
Dec 16, 2014
I have a new Plesk 12 installation. I have configured a domain (example.com) with hosting that also requires wildcard subdomains.
To achieve this I had to create a vhost.conf file with...
ServerAlias *.example.com
This works and I can go to http://anything.example.com with no issue.
I purchased a wildcard SSL certificate for *.example.com and successfully installed it.
If I go to https://example.com it works perfectly and shows the correct certificate, however if I go to https://anything.example.com it tells me the connection is untrusted, when I view the certificate, it shows the Parallels Plesk self certified certificate and not my purchased certificate.
I created a vhost_ssl.conf with
ServerAlias *.example.com
ServerAlias *.example.com:443 #tried with and without this line
If I add an exception in the browser, then I am taken to the correct place, albeit with the incorrect certificate.
Of course I have executed httpdmng --reconfigure-domain example.com and also tried a full reboot.
In summary:
http://example.com - works
http://anything.example.com - works
https://example.com works with my certificate
https://anything.example.com has Parallels certificate but routes to correct page
View 5 Replies
View Related
Mar 13, 2014
I have server that has a SINGLE customer on it - this is not economical to run under PPA - how do I remove it from the PPA management and not disrupt the current site/email on it?
The plan is to run it on webmin - there is no way it can justify PPA for 1 site.
View 2 Replies
View Related
May 28, 2015
When accessing plesk by FTP or the panel, in the root of my domain folder I have the directory
/logs/subdomain.domain.ltd/
But only a subdomain appears, how can I do it to contain logs from another subdomain too?
View 1 Replies
View Related
Feb 2, 2015
In Plesk (V. 12.0.18) there is no possibility to create mail accounts for subdomains via web interface. The KB article [URL] ..... describes this problem. The article suggests two possible ways.
I donĀ“t want to use option 1 (create subdomain as additional domain) because a subdomain as domain wastes a domain in the license model.
Instead of that I tried the second way (command line interface). I can execute the first command without problems. When I try to execute the second command, I get the following error: "An error occured during mailname creation: Unable to set password: Domain of type subdomain selected".
View 3 Replies
View Related