Plesk 12.x / Linux :: CLI Vhost Setup Example?

Nov 22, 2014

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.

# ./customer --create JDoe -name "John Doe" -passwd sample -country US -notify false
# ./subscription --create example.com -owner admin -service-plan "Default Domain" -ip 192.168.1.100 -login JDoe -passwd "user pass"

I get the email saying that the do moan was setup, but the domain does not show that hosting is affiliated with it.

View 5 Replies


ADVERTISEMENT

Plesk 11.x / Linux :: PHP Not Loading For One Vhost

Feb 19, 2015

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

/usr/local/psa/admin/bin/httpdmng --reconfigure-domain domainname-tld

/usr/local/psa/admin/bin/httpdmng --reconfigure-al

Also tried to create the vhost but no gain...

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.

View 1 Replies View Related

Plesk 12.x / Linux :: Host Template Only For One Vhost

Aug 13, 2014

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

View 3 Replies View Related

Plesk 12.x / Linux :: Reconfigure Vhost Failed

May 22, 2015

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.

About my system:

os: debian 7.8 64bit
plesk: 12.0.18 Update #47

View 1 Replies View Related

Plesk 11.x / Linux :: Permission Correctly In Vhost?

Nov 25, 2014

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...

View 3 Replies View Related

Plesk 12.x / Linux :: 12.0.18 - How To Set Permissions To 770 By Default When Create Vhost

Oct 5, 2014

When a customer use the wordpress auto installation tool, all work ok.

But, when the customer try to install wordpress manually (Uploading by FTP), it returns different permissions errors.

Example: "wp-config.php" cant write .

I compared the permissions of both vhosts (WP-Auto-install and WP-Manually-Install), and have totally different permissions.

WP-Auto-installed : /httpdocs = 770
WP-Manually : /httpdocs = 750

How I can set permissions to 770 by default when create a vhost? to avoid the customer having to do it manually.

View 4 Replies View Related

Plesk 11.x / Linux :: Recreate Vhost System Directory?

Jul 13, 2015

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.

View 2 Replies View Related

Plesk 12.x / Linux :: Moved Vhost Location - Some Sites Not Working

Nov 14, 2014

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
#

[code]....

View 2 Replies View Related

Plesk 12.x / Linux :: Advanced NginX Directives For Vhost (memcached)

Sep 19, 2014

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:

Code:

http {
# memcached servers
upstream memcached-servers {
server 127.0.0.1:11211;
}

[Code] ....

How can I do that?

View 4 Replies View Related

How To Setup A Vhost For Psybnc

May 20, 2009

How i can setup a new vhost for psybnc?

(i know how to add a vhost in psybnc, /bvhost [url]... but how i can setu this vhostname?

View 1 Replies View Related

Plesk 12.x / Linux :: Activating WebDAV In Specific Domain - No Vhost Directory

Jul 14, 2014

Want to activate webDAV in a specific domain with a v_host conf file, but do not have a /conf directory in the domain path. How can I manage the this?

View 2 Replies View Related

Plesk 12.x / Linux :: How To Setup Secondary DNS Server

Feb 27, 2015

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 ...

View 1 Replies View Related

Plesk 12.x / Linux :: How To Setup Fail2ban For Admin Access

Feb 3, 2015

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...

View 2 Replies View Related

Plesk 11.x / Linux :: 11.0.9 - Setup DKIM Default For Each Domain

Oct 3, 2013

Is it possible to know how can I setup the DKIM default for each domains without manually activate it each time?

View 6 Replies View Related

Plesk 12.x / Linux :: Bulk Setup FTP Repository Details?

Oct 28, 2014

I'm facing the task of migrating nearly 200 domains from 11.5 to a new server running 12. My question is whether any way to pre-populate the

FTP repository : hostname / username / password
Schedule : to daily / specify time / untick suspend domain

This would massively speed up the move, and remove the monotony of retyping these over and over!

View 2 Replies View Related

Plesk 12.x / Linux :: Caching Bind Nameserver Setup

Aug 20, 2014

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 $

Any way to modify named.conf?

View 1 Replies View Related

Plesk 11.x / Windows :: Reconfigure Vhost -> Missing Required Parameter

Jul 25, 2013

When i try to call websrvmng.exe --reconfigure-vhost --vhost-name=domain.com (like here: [URL] .....),

I get this message: "Missing required parameter --vhost-config."

Version: Plesk 11.5.30 Update#5

View 8 Replies View Related

Plesk 11.x / Linux :: Setup Testing WORDPRESS Website Without DNS Change

Jan 6, 2014

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.

View 9 Replies View Related

Plesk 12.x / Linux :: Setup Backup Manager To Store Backups

Sep 29, 2014

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?

View 8 Replies View Related

Plesk 11.x / Windows :: Large Number Of Domains - Change Vhost Manually

Jul 9, 2014

I have somewhere at 2000 domains.

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.

View 2 Replies View Related

Plesk 12.x / Linux :: Setup Multi-server Hard Drive But On One Account

Oct 21, 2014

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...

View 4 Replies View Related

Plesk 12.x / Linux :: Setup VPM Tunneling - Access Samba Share From Server

Aug 18, 2014

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).

View 2 Replies View Related

Plesk 11.x / Linux :: Unable To Setup Apple Mail Email Account

Mar 3, 2014

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.

View 3 Replies View Related

Plesk 12.x / Linux :: Folder Permissions / Joomla Installer - Could Not Copy Setup File

Mar 17, 2015

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 ...

View 7 Replies View Related

Plesk 12.x / Linux :: SpamAssassin Setup Default Value From Server Level To Specific Mailbox

Jun 17, 2014

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"

How i can do it ?

View 6 Replies View Related

Vhost / Cirtex. My Opinion.

Mar 5, 2009

These guys are atrocious.

So far:

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!

View 13 Replies View Related

Subdomains With Vhost.conf

Sep 15, 2008

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

in my vhost.conf I got:

ServerAlias *.domain.com
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC]
RewriteCond %{HTTP_HOST} ^([^.]+).domain.com
RewriteRule (.*) /temp/%1/$1 [L]

when I try whatever.domain.com, I'm getting a 500 Internal Server Error.

View 1 Replies View Related

Specific PHP Version For Vhost On Vps

Feb 7, 2008

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!

View 2 Replies View Related

Apache :: Set Up SSL (vhost) For Mailman

Jun 18, 2015

we are going to setup SSL on a server which host mailman (and the Webgui).

It's a SLES11 system and we configured a vhost with ssl. How do we have to combine the vhost and the mailman config?

View 11 Replies View Related

Webmail Roundcube Apache SSL Per Vhost

Mar 9, 2015

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.

View 1 Replies View Related

How To Setup Email Forwaders In Linux

Feb 16, 2009

Server OS: Cent OS 64Bit edition

I have 3 email used to send mails in my servers,

How to forward all incoming mail to those emails to my gmail account,

View 2 Replies View Related







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