I have to move a lot of customers from old home-grown server setup to a plesk panel powered server.I want to use the CLI to do this and wondered if there was a tutorial showing how to setup the customer and add the subscription/hosting plan for that customer?
I looked over the docs and tested them, but the service plan never shows that hosting is added.
We have strange problem with our plesk 11.0.9 Update #62.
Have only 10 domains hosted and all except 1 is working fine.... This particular domain doesn't run PHP scripts at all and when we try to browse a php script from browser, the file starts downloading. I have tried to compare the php settings from other working vhosts but and found no change at all... tried with
Also I tried to change the PHP setting from control panel so that the php file would be generated , but every time I reset the value, it reverts back and no value is preserved.
edited /usr/local/psa/admin/conf/templates/custom/domain/nginxDomainVirtualHost.php and add this include hhvm.conf; and work but it's possible to edit this setting only for one vhosts? I must enable only for one vhost because i have some php script not work with hhvm
I getting this error after I run the command: ~# /usr/local/psa/admin/bin/httpdmng --reconfigure-all
Code:
PHP Deprecated: Comments starting with '#' are deprecated in /opt/psa/admin/conf/php.ini on line 25 in Unknown on line 0 Error occured while sending feedback. HTTP code returned: 502 Error occured while sending feedback. HTTP code returned: 502 Execution failed. Command: httpdmng Arguments: Array
[Code] ....
3 sites on this server hosted with different subscriptions and conditions. So the host work yet but I getting a red banner on the Subscription menu.
I have domainA and domainB. domainA hosting files, for security ALL browser access should denied.. EXCEPT domainB make in php call with readfile() to a file on domainA. This should allowed.
domainB => readfile(http://domainA/myfile) => allowed ... all other access should denied.
So I set in vhost of domainA this:
<DirectoryMatch "^/var/www/vhosts/domainA/httpdocs/folder/"> Order deny,allow Deny from all Allow from 127 Allow from server-ipv4 Allow from server-ipv6/128 Allow from ::1/128 </DirectoryMatch>Click to expand...
My /var/www/vhosts/system directory was accidentally deleted. The actual vhost directories are unharmed, e.g. /var/www/vhosts/example.com. Is there a non-destructive script I can run to re-initialize the system directory? I am on Plesk 11.5.30.
I have a new DS with Plesk 12. I needed to change the default /var/www/vhosts location to a different physical drive, with more capacity.The larger disk is mounted as /disk1, so I created a folder here called vhosts, moved everything from the existing /var/www/vhosts directory, then I mounted /disk1/vhosts as /var/www/vhosts. See my fstab output below.
I then edited /etc/psa/psa.conf to update the VHOSTS location as per [URL] ...., and restarted Apache, MySQL and reconfigured domains.I thought all was OK, and that Plesk would just see /var/www/vhosts as normal, but I proceeded to migrate domains from another server to this box, and found that whilst some sites were working OK, many were not.
I was finding that existing config directives that used <Directory> were being ignored or seemed to disappear.All sites with .htaccess files stopped workingWe would get Apache / PHP errors saying that files could not be accessed as they were not in the allowed path for the domain. Plesk seems to be logging, reporting, and handling files as if they were in /disk1/vhosts, not the usual location. I have got sites working by adding /var/www/vhosts/ domain and /disk1/vhosts/domain to the PHP Settings page as allowed paths.
I have checked in the httpd.conf for each domain, and they all list the site document root as /disk1/vhosts/domain, not /var/www/vhosts/domain.It's as if Plesk is ignoring the change in /etc/psa/psa.conf.
All I want is for Plesk to think that /var/www/vhosts is the document root for all domains, and not do anything with /disk1/vhosts. I have many sites with hard coded links to included files in /var/www/vhosts/domain, and I dont want to have to rewrite them all to use /disk1/vhosts.
I have had to stick HTTP configuration directives on nearly every site, and add these entries to the allowed paths box, which obviously I should not have to do. Can any Plesk / Linux gurus tell me what I need to do to fix my problem, get sites working in /var/www/vhosts, and have Plesk allow .htaccess files to work without me having to add "AllowOverride All" to every domains??
# /etc/fstab # Created by anaconda on Tue Oct 14 05:22:57 2014 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info #
You can edit the nginx directives for the desired vhost at the webserver config. However, it seems like that you can only add basic directives, but not something like that:
I have Plesk 12 with bind. Currently I have 2 ips on same server, so the 2 name servers are on same machine. When I installed it I didn't do any extreme thing, it just worked.I purchased an other server, because I need it for development. I would like to setup the new server as secondary dns server. I don't use Plesk on the new server.How can I setup this with record sync? I'm using ubuntu ...
I have just looked at the plesk panel log - /usr/local/psa/admin/logs/panel.log - and seen an alarming number of attempts to access plesk using the admin user. i.e.
[2015-02-02 14:53:46] ERR [panel] [Action Log] Failed login attempt with login 'admin' from IP 50.62.148.176
I have fail2ban installed and set up for other things...
I would like to setup a caching Bind nameserver for which I need to modify the file /etc/named.conf. The file is automatically created by Plesk however and I am unable to find information on how to modify the file in Plesk.
Code: #ATTENTION! # #DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY, #SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED. // $Id: named.conf,v 1.1.1.1 2001/10/15 07:44:36 kap Exp $
I'm pretty new to Plesk and would like to setup a testing wordpress website without changing DNS yet. I assume I need to create a webspace for it. But do I use actual domain or an IP address? Wordpress ties up to the domain as far as I know.
I've been running a Plesk server with around 100 domains for years and years now. I've always used a backup service provided by the server vendor, but with a new server, I wanted to consider some of the backup options built into Plesk.
1. It looks like Plesk/Acronis is dead or only for Windows. Is that right?
2. If I add a backup drive to the server, can I setup Plesk Backup Manager to store the backups there (instead of on the main RAID array)?
3. Are there any other 3rd party extensions that I should consider?
I need to change path to vhost from W:host to D:vhost
I copied all files from W to D drive and created symbollinks. Now all files stored in D:vhost and symbollincs pointing to W:vhost.
If I will use reconfigurator, will it recopy existing files or just will skip them? Because I have millions files in my vhost dir
Also i thought about change drive letter in windows OS. It wil be enough to just stop IIS service and plesk services for switching disk letter?
Can i just some how say plesk that he should search all vhost files in D:vhost? With out process of copying files,becouse thay already exist there are.
Not sure if I labeled that correctly, but I am looking to setup a multi-server where I offer a cloud ssd hosting plan, and sata hosting plan. The current setup has ssd hosting, but id like to add another ip address, as well as its hard drive to host other websites on that specific server, which is sata based.
For example, I add a domain to my plesk 12 admin account and choose the added Ip address (the sata based one), where it points to that server to access the files for that specific website.
At the moment, cloudflare handles all of my dns settings.. but I am totally lost on how this needs to be setup and if I am required to purchase another plesk license. I am trying to avoid purchasing another plesk license and having to setup a whole new plesk installation just to do this.. This is a vps by the way, not a dedicated server...
I have a rented VPS with 2TB of disk space and a plesk license in order to host the sites that i develop and my sites, and found myself with around 1.8TB of free space, plesk samba management and plesk vpn management but with few missing pieces for my idea. My idea was to setup vpn tunneling between my laptop and desktop to plesk server and access samba share from the server like they were in my LAN.In the firewall I have opened only the classic mail and web ports (obviously plesk access too).
I registered a domain name and setup a Linux server on GoDaddy, choosing Plesk panel with Power Pack. Inside the panel I created an email address, which I can access from the webmail interface without problems. I decided to setup my clients as well, using the IMAP configuration, as I'm using multiple devices.
I followed the instructions for Outlook express and I was able to setup the account on my virtual machine, with Windows 7 and Windows Live Mail.Though, speaking of the host machine, a MacBook Pro, I normally use Apple Mail that comes with MacOS. Instructions for setting up Mail are updated back to Snow Leopard at least and they do not work properly. I tried various configurations, but I was only able to receive mail on the account, while sending won't work at all.
I'd like Parallels to update the guide or, at least, to open a KB page with the solution(s) to this issue: I googled it and found out that it is a common issue.
Ok, new to Plesk, trying to move from ispconfig. So I have Plesk 12 running on Centos 6 64bit in a VPS. I figured out how to upgrade PHP and now I have installed my first website. The website is joomla based but I am getting the below error when installing components:
Warning Copy failed.
JInstaller: :Install: Failed to copy file /var/www/vhosts/virtual-sim-racing.com/httpdocs/home/tmp/install_55081e65af5fe/pkg_kunena.xml to /var/www/vhosts/virtual-sim-racing.com/httpdocs/home/administrator/manifests/packages/pkg_kunena.xml
Package Install: Could not copy setup file.
This suggest to me a permissions issue - but what to do with it. I have checked all of the relevant Joomla folder permissions and they are all showing as writeable, so it looks like something outside of that?
I don't want to have to stick with ispconfig much longer ...
When I create Mailbox for customer, spamassassin have status (default):
HTML: Status false The score that a message must receive to qualify as spam What to do with spam mail move Add the following text to the true beginning of subject of each message recognized as spam Modify spam mail subject text ***SPAM***
Black list ================================ Server-wide black list:
User's black list:
White list ================================ Server-wide white list:
User's white list:
But i want it:
HTML:
Status false The score that a message must 7 receive to qualify as spam What to do with spam mail text Add the following text to the true beginning of subject of each message recognized as spam Modify spam mail subject text ***SPAM***
Black list ================================ Server-wide black list:
User's black list:
White list ================================ Server-wide white list:
User's white list:
Not Move, it only text at "What to do with spam mail text"
1)I bought a vps from them, got it promptly, except it was set to the wrong port.
2)I requested it reinstalled without there 'extras' so my network admin could do it himself. They do not offer a reboot in there power panel.
3)They reinstalled it, but changed my root password, also it is still set to the wrong port.
4)I then spoke to there live support, they started talking then disappeared for about 10 minutes to chat on the phone without even telling me, leaving a paying customer sitting there thinking 'what the hell'.
5)I requested the VPS be set to my original password by email, and they haven't I just wanted a clean VPS to do my have my own install done on... how was that so much to ask of them?
I have now sent in another password request, but my advice to you all, steer the hell away!
I'm trying to accomplish a redirect (or rewrite) of [url]to [url]
* I got DNS *.domain.com correctly pointing to my server. * I also created a vhost.conf inside /var/www/vhosts/domain.com/conf, and Plesk (/var/www/vhosts/domain.com/conf/httpd.include) is correctly including the file. * even though I don't know if it's needed or not, I created in Plesk a new CNAME with value *.domain.com pointing to domain.com
I'm currently hosted on a friends VPS, and he has been good enough to give me his root access account details so I can mess with things if I need to. Good thing he has, too... Because I'm about to need to really mess with some things.
I've hit a brick wall, however.
The VPS is currently running php 4.3, but the CMS software that I am going to use to run my site requires PHP 5. Now, I don't want to arbitrarily update to php5 across the whole VPS, cause I dont know if thats going to knock out scripts on other vhosts. I read about the "run php5 as cgi" thing, but that doesnt really work for me, as the cms I am using has some quite in-depth url rewriting going on, and I dont want to have to make all of the php files for it end with .php5, in case that screws something up.
So, in my research, I came accross this:
wiki.apache.org/httpd/PHP4AndPHP5
The article on the apache wiki refers to a way of setting up a private server, or a VPS in this case, so that an individual vhost will use php5 as opposed to the default php4. "Great", I think... But then after loggin in to the shell and downloading the php-5.2.5 binary, I realised I dont have the first clue how I can install this, without it conflicting with the current PHP4 install, and so that it pick up on things like mySQL, and all the other libraries (gd, libxslt etc).
So, I guess my question is, does anyone know how I can accomplish this? I'm sorry if this isnt the right forum, I put it in the place that made most sense to me... Any help would be gratefully received, as I'm completely dumbfounded right now!
I have more than 1 domain on my VServer and roundcube and all of its templates only allow me to modify webmail.domain.tld...so I can setup 1 website correctly but all the rest will have the wrong SSL cert.How can I setup different ssl cert for Webmail with Apache as Webserver and roundcube as webmailer? I think I should modify the vhost confs of roundcube into /etc/apache2/plesk.conf.d/webmails/roundcube/ but I did not find a working solution.