Plesk 11.x / Linux :: Preferred Domain Setting Through RPC API?
Oct 15, 2013
If a create a subscription on a plesk Server through the API don't know how to specify the preferred domain and it's always set to domain.tld. I would like to set it to none for all.
Is there a way to change the default value of the "Preferred domain" option in the hosting settings of domains in Plesk 11.5? When ever i create a new subscription/domain it just defaults to the value of "domain.ltd" and i have to go into the hosting settings and manually change it to "None". Is there a way i can set it to use the "None" option every time i create new subscriptions or domains?
After upgrade plesk 11 to 11.5 there is a new feature in domain hosting settings which is called "Preferred domain"
We can not change the state of Preferred domain. It always remain domain.tld When we try to change it to "none" panel says "Information: The settings were successfully updated."
When we check hosting settings again Preferred domain section is domain.tld . due to that reason we r having lots of diffuculties. Lots web page down due to web.config file has redirection.
I've got a situation in which I need to have a set of mail accounts that share a domain name with a domain that's already in use as a domain alias and because the domain is already in use, I'm unable to create a new account using that domain. I tried explicitly adding "www" to the domain alias so I could keep the www.domain.com address as an alias and reserve the "domain.com" name for use as a separate account, but Plesk won't allow for that.
How to address this? The idea I'm currently considering is to delete the domain alias and then create the new account and manually set the DOCUMENT ROOT of the new account to refer to the other domain's document root. I'm sure this could create some difficulty in Plesk so I'm looking for input before trying it. I'm actually not even sure exactly where I would be able to redefine the document root with Plesk allowing the change and not overwriting it later.
If all else fails, I can setup a new account on a different and unrelated Plesk server, but I'd prefer not to do that.
I've searched the web to set up ssl on 1 domain of 2 installed op 1 ip address. It seems easy: setup virtual hosts, turn ssl on and point to your certificates.
I'm completely lost. I setup the certificate from geotrust in plesk panel 11.5 as described in the manual but that didn't work, apparently because i have 2 domains and 1 ip.
So i started looking to adapt my vhost settings to use sni. First problem: i can't find the setting of the virtual host.
Secondly where can i find the path to the .key and .crt files.
How i can install a ssl certificate on one of the two domains sharing 1 ip.
I have two VPS with two different Datacenters. I am running my website on one of the VPS which has Plesk Panel 11.5 installed on it. Since my second server is not in use, I would like to use it as a Secondary DNS Server for redundancy. I know this can be done with Plesk Expand. But, I am not in a position to invest further as I just run 4 domains on my main server. I was looking at installing some free control panel on my secondary VPS and set it up as a Secondary DNS Server if possible. But, I could not find any Guides on setting this up.
How I can do this? I see that we have an option in Plesk - 'Switch DNS Service mode' which can be used to either setup my first server as a Secondary or Primary. I have installed Webmin/Virtualmin on the second server, but how to set this up perfectly. I can reinstall the 2nd Server if required, but not my first one with Plesk.
In Fail2ban (great idea to include it in plesk!) settings you can set "Time interval for detection of subsequent attacks" (findtime) in general. But it would be interesting this setting per Jail.
You could have 2 jail with same filter but different findtime. Example:
Jail 1) 5 failures in 600 seconds: 1800 seconds ban Jail 2) 30 failures in 86400 seconds: 604800 seconds ban
There are bots that detect if you have some protection fail2ban or similar and it will adapt, login attempt every 300 seconds for example. Jail 1 no detect this attack, but Jail 2 yes.
See the example, live time : [root@--------- log]# cat /var/log/maillog | grep 'warning: ---------' Jul 14 07:10:54 --------- postfix/smtpd[5482]: warning: ---------[--.--.--.---]: SASL LOGIN authentication failed: authentication failure Jul 14 07:54:16 --------- postfix/smtpd[4782]: warning: ---------[--.--.--.---]: SASL LOGIN authentication failed: authentication failure
When I hit my server's domain it redirects me to one of the hosted sites' domain with a 302 redirect. It used to return the default plesk server page. How can I cancel the redirect?
I have a server that I use to host my primary domain, and I have a cople Plesk servers, now I updated the hostnames of all the servers like
Code: s1.de.myserverplace.de
Now when the plesk server sends a mail it goes in spam always,
In the SPF records of the primary domain sits this
Code: myserverplace.de. IN TXT "v=spf1 a mx a:myserverplace.de a:s1.de.myserverplace.de ip4:148.251.100.157 ip4:144.76.163.46 ip6:2a01:4f8:201:81b8::60 ?all"
But when I actually send the mail in the headers of the received mail I get this.
Code: Received: from s1.de.myserverplace.de (s1.de.myserverplace.de. [144.76.163.46]) by mx.google.com with ESMTPS id p2si2158952wjy.73.2015.05.14.04.09.17 for <mymailtestacount@gmail.com> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
For a Magento shop I want assign a dedicated IP to a domain. When I choose this second IP in “Subscriptions” --> Change Hosting Settings” and then select this IP under “Tools and Settings --> IP Addresses” as dedicated (or shared too) for this domain, calling the domain results in the Webserver´s default Plesk Page.
The Shopsite is not shown, but was working well with the shared standard IP.
Calling the IP directly with the browser shows the start page of the shop in raw HTML ( no CSS ).
I am trying to change the default php settings under domain (upload_max_filesize & post_max_size) but nothing happens. I am running PHP 5.5 in FastCGI. I also changed it to Centos default PHP (5.4.16) but nothing happens again. It only works when PHP runs as Apache module. The problem is on FastCGI Application.
My server: Centos 7, Plesk 12 Check the screenshot for installed components.
Plesk 12. Using the "Corporate/Business" -> "Power User view".
Where do you add a Domain Alias? The webspace has no option to add this and all documentation I've found so far seems to indicate there should be a button that says add domain or add domain alias.
There is some problem with my email and developer tell me this yesterday:
To view DNS records for a domain you need to (after loging in as admin) click on the domain name, then choose DNS Settings. Mx record is configured correctly there, but they are not taken into consideration.
You should change the nameservers from the registrar to the nameservers of your hosting. Right now the following are used: ns-canada.topdns.com. hostmaster.topdns.com .
They should be either the nameservers received from the hostings, or if you did not received any then you will have to create them, on the registrar side and on your hosting side.
So you should go to your registrar and change the nameservers for your domain. Do not just change the ip for the main A record. After you do this you will need to wait a while for the changes to propagate.
On my registrar have i set in my server ip but when him do a test here: [URL] ....
I want to setup a domain alias without www in front of it. A quite simple task in the past...but not with Plesk 12. So I have a service domain (for example: service.com) that I use for ALL clients. But each client has only a subdomain of it as alias in his account. so client1.service.com, client2.service.com....and so on. And only that subdomain...nothing more...for each account. How to achieve that in Plesk 12?
Error: IP addresses for mail service of domain <domain> are not set..This is error I'm getting. It was working some time ago, but now I cannot create new domain.
I have installed mail servers in components, and i see mail settings under server tab but i just cant figure out how to enable mail for specific domain
If i go to webmail.pedjaapps.net i opens default home page, webmail subdomain points to my servers ip address in DNS, roundcube is also enabled in webmails....
2001:8d8:90b:c900::2a:19d1 is the ipv6 from my server, and it appears there because of nginx working as reverse proxy.
As you can see, facebook can't get /hello.html (404 response), but I can get it from another server using curl (200 response). I tried disabling nginx and this is what I see now:
Still not able to get /hello.html. This is a problem for me because I can't share anything on facebook, since their bot can't find anything on my site.
Code: General ============================= Domain name: bernhardlinz.de Owner's contact name: Bernhard Linz (admin) Domain status: OK
[Code] ....
I can see the domain under "Mails" and also create new mail accounts. There are no Errors for this under
Code: /usr/local/psa/admin/logs/panel.log
As i try to add the domain first i got a
Code: [11-Jul-2014 21:41:35 Europe/Berlin] PleskUtilException: mailmng-outgoing failed: ERROR:outgoing:database disk image is malformed
Which I removed with the
Code: /usr/local/psa/admin/sbin/mchk
Command I found in the Plesk forum. After that i could add the domain.
I try a add another fantasy domain - also works but alos not displaying in Panel "Websites & Domains"
I take a look at the Plesk-Database "psa" with the Build-In "phpMyAdmin"
I take a look at the table "domains" and it looks like the other entries.
The Server was restored a few days before from a Backup. After the restore i had have the problem the "mysql" service did not start. I fixed the problem with the description from [URL] ... (Start mysql in recoverymode, export all data, delete the content of the whole mysql folder /var/lib/mysql folder, init new database and import the exported data). After that all looks fine.