Plesk 12.x / Linux :: Subdomains Redirect To Primary Domain After Repairing Installation

Jan 23, 2015

Up until a week ago we had some troubles with package dependencies on our dedicated server running on Ubuntu 14.04.1. Plesk was totally out of reach, displaying 502 Bad Gateway pages and some other weird error on login_up.php3.

I fixed the dependencies by removing a lot of packages (including Plesk) and finally managed to reinstall Plesk using the autoinstaller, then repaired it using "/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh" (IIRC this whole bootstrapper folder was not present before reinstallation).

Now, after restoring our data from a backup pretty much everything works except for the subdomains. They all redirect to the primary domain's vhost (307 Redirect) for some reason.

"/var/log/apache2/access.log" shows the following after issuing a HTTP request to any subdomain:

Code:
<ip> - - [23/Jan/2015:23:15:31 +0100] "GET / HTTP/1.1" 307 244 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0"
<ip> - - [23/Jan/2015:23:15:31 +0100] "GET / HTTP/1.1" 200 13397 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0"

I have tried enabling and disabling nginx, it did not work. Then I just kept it disabled because it makes our forum think that everyone has the server's IP (because of the reverse proxy thing I assume).

Oh, and I should say: using HTTPS anywhere just gets me a 502 Bad Gateway error.

View 7 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: Subdomains Redirect Www Prefix

Jul 15, 2015

We are starting to migrate our servers to Plesk and are building all necessary processes with the plesk xml api.

If I create a subdomain via api

Code:
<subdomain>
<add>
<parent>domain.com</parent>
<name>example</name>
<property>
<name>www_root</name>
<value>httpdocs/web/</value>
</property>
</add>
</subdomain>

The vhost configuration at apache gets this part

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^subdomain.domain.com$ [NC]
RewriteRule ^(.*)$ http://www.subdomain.domain.com$1 [L,R=301]
</IfModule>

So every subdomain is redirected to prefix www. But if I create the subdomain via plesk panel, the mod_rewrite isnt created, as i want. I also tried reconfigure-all, but this rewrite part is always active. I have no possibility in plesk 12.0.18 to set the setting for www prefix like at normal sites. So what can i do to prevent it and where can i change it afterwards?

View 1 Replies View Related

Plesk 11.x / Linux :: Change Primary Domain

Jun 6, 2014

My customer has two domains, one of it is a alias-domain.

He wants to set this alias to his primary domain, so how can i change it?

I tried it with deleting the alias, but i can't find the "button" for changing the primary domain?

Have I to delete the complete abonnement and reinstall all files and databases?

I know, that I have to change some paths in files, but it would be easier, than to dump everything and upload again...

View 4 Replies View Related

Plesk 11.x / Linux :: Constant Unable To Connect To Database While Upgrading / Repairing

Aug 11, 2014

I had Plesk 10 installed on my openSUSE system (was a low version, maybe 11 or less) and then decided to upgrade to 11.5. So I did distribution upgrades to openSUSE 12.3 and everything went smoothly, except for some services like mysql and php. So I used Plesk autoinstaller to fix the php error and edited an outdated line in mysql configuration and both services ran smoothly!

Then I downloaded Plesk autoinstaller and ran the autoinstaller, but was surprised by this error message:

===> Checking for previous installation ... found.
ERR (3) [panel]: Error during product key mode determination, details: Unable to connect to database: ; trace: #0 /usr/local/psa/admin/plib/functions.php(2821): isPpaKeyRequired()
#1 /usr/local/psa/admin/plib/common_func.php3(11): require_once('/usr/local/psa/...')
#2 /usr/local/psa/admin/plib/api-common/cu.php(5): require_once('/usr/local/psa/...')
#3 /usr/local/psa/admin/sbin/httpdmng(8): include_once('/usr/local/psa/...')
#4 (main)

Unable to connect to database:

- My MySQL version is: 5.5.33 openSUSE package
- I did run mysql_upgrade with my admin username and password (password from: /etc/psa/.psa.shadow) and it worked successfully and fixed all of the errors, I did so after running the auto installer first, but then ran the installer again and the problem was still there
- I can access my web page, but it still doesn't connect to MySQL either.

I believe this is a problem with MySQL, but how can I make sure or detect what exactly the problem is

View 3 Replies View Related

Plesk Automation :: Database Resource On Primary Branded Domain

Aug 16, 2014

I added a mail resource and a database resource to the "branding" service template, and made sure the provisioning attributes match up to an actual node. I also made sure that under the resources for the branding template the "Branding Hosting (management node)" -> "Number of MySQL databases" is "1" and the "MySQL Database" is unlimited.

Ive made a primary branded domain assigned to the administrator account. When I then login to the account, I see that the mail resource is added and I can add email accounts. However, the database resource does not seem to be activated. Indeed, if I try to add a application in the domain that requires a database, it fails because there is not a database resource available.

The database server is a separate node from the management server.

I do not see any running tasks waiting, and the events log doesnt mention anything about provisioning a database.

Separately but tangentially related, once the account is up, I dont see it listed as an active subscription under the service template. I should see it there, right?

View 14 Replies View Related

Plesk 12.x / Linux :: Redirect All Hosted Domain Webmail To Main Hosting Webmail URL

Nov 29, 2014

My requirement is to redirect all hosted domain's webmail to the main hosting webmail url .. how can this be achieved ?

View 7 Replies View Related

Plesk 12.x / Linux :: How To Remove Or Change Primary IP Address

Sep 19, 2014

In Tools & Settings --> IP Adresses I got two IP Adresses:

192.168.1.10 (primary, bold)
89.104.83.139

Since the first IP adress is just the internal IP adress, I'd like to remove it, but I get the message that it's not allowed because it would be the primary IP.

Plesk has no option to just switch the primary IP adress, so what's the way to do it with plesk12?

View 1 Replies View Related

Plesk 12.x / Linux :: Repeatedly Logged Out While Working On Config Of Primary Website

Feb 19, 2015

On our instance (Plesk 12 / Debian) I am logged out within 1 or 2 minutes quite often while working on config of the primary website (admin access). The session idle time is set to the 30 min default, and the problem isn't to do with changing IP addresses - the multiple sessions visible all have the same IP address.

This happens so constantly it is difficult do any real work. Where is the logic of session creation and termination? What do we need to look at to deal with this problem? We have root access.

View 10 Replies View Related

Plesk 11.x / Linux :: Subdomains Other IP Destination?

May 26, 2014

I have a problem with a particular application.
I have a domain bbb.com
I create a subdomain a.bbb.com

I wanted to point my domain to a.bbb.com under a different ip my server. So I went in the parent zone bbb.com order to change the ip of this subdomain. After 48h nothing worked ...

There are 24 I changed the area to tell Plesk subdomain manages its own area, and I changed all the IP for the new, but nothing happens again, I'm afraid it is not that ...

Or how to check whether the implementation is consistent?

View 3 Replies View Related

Forward Mail From Parked Domain To Primary Domain - How? MX Record?

May 6, 2007

OK, I am confused. I have one domain that is parked on top of another domain. I would like Mail that comes to the parked domain to be automatically forwarded to the same user name at the primary domain.

Can I change a DNS or MX record to facilitate this?

View 1 Replies View Related

Plesk 12.x / Linux :: DNS Error Subdomains Not Present

Jan 17, 2015

subdomains are not in the network can reach subdomains of the primary name server, but not to those of domains hosted on the server.Here's an example of the results for two domains, one server name and another one that is hosted on the server.

Server: webserveritk.com
http://verdns.com/webserveritk.com
http://verdns.com/www.webserveritk.com
http://verdns.com/claro.webserveritk.com

Domain in the server
http://verdns.com/itknow.red
http://verdns.com/www.itknow.red
http://verdns.com/blog.itknow.red

The same in all domains in the server

I think it must be an error in the configuration of the DNS, domains are registered work because an external Hosting (Strato.de), but all changes made on my dedicated server (such as creating a subdomain or webmail) do not appear it is as if my server reportase no changes to the parent DNS server. But not how to fix it.

View 1 Replies View Related

Plesk 11.x / Linux :: Can't View Subdomains And Webmail

Sep 28, 2014

I have a server in my house. My IP local is 192.168.1.61 and i have other ip static public. I can view my domain and one subdomain, but i don't view other subdomain and webmail.

View 1 Replies View Related

Plesk 12.x / Linux :: Wildcard Subdomains Of Alias Domains

Jan 3, 2015

System: Plesk Panel 12, updated on CentOS 6

Situation:
"Main-domain" domain with 2 "alias-domains" (301-forward). For "Main-domain" I created a wildcard subdomain. All works fine.

ToDo:
I want to create wildcard domains for both "alias-domains".

Problem:
It is not possible to create wildcard subdomains for both "alias-domains".

1. How to create wildcard-subdomains on "alias-domains"?
2. How do I disable Plesk to respond to every domain, which isnt covered by a wildcard?

View 6 Replies View Related

Plesk 12.x / Linux :: Outgoing Mail Control For Subdomains Does Not Function

Apr 7, 2015

Plesk 12.0.18 Update #38
Cloudlinux 6.6

Outgoing mail control functions properly for domains, but it does not count or limit subdomains.

For example, if you have a subdomain like:
sub.domain.tld

And an email account on that subdomain, like:
info@sub.domain.tld

Then outgoing mail limits are not applied to that subscription/domain/mail account. You are able to send more emails than the limit.

Also, if you go to:
-> Tools and Settings
-> Outgoing mail control

And try to see statistics for that subscription/domain/mail account, it shows that there are not sent emails, even if you have sent emails. Of course I checked it many hours after sending, or even the next days.

View 2 Replies View Related

Plesk 12.x / Linux :: Restoring From Another Installation

Jul 26, 2015

I've had nothing but issues trying to restore a backup from another plesk installation.Running Plesk 12 on CentOS 6. I installed a php extension which required php 5.4. Yum updated our php version, which broke a couple of our sites. In trying to use yum to remove php 5.4, it also removed several components to plesk.

I then attempted to reinstall plesk and restore our backups from the previous day, but ran into several errors related to the way plesk hashes passwords in backups (as I now had a new key to hash against, they wouldn't work right). I solved that problem by running the fix passwords utility . But now I'm getting the following errors, I suspect the first one is the main problem.

WARNING: (server object '') Execution of /usr/local/psa/bin/sw-engine-pleskrun /usr/local/sb/utils/bru.php --restore --log=stdout --file=/usr/local/psa/PMM/tmp/sb54DVSHeFh.zip --target=server_settings failed with return code 1.
Stderr is

[code]....

View 4 Replies View Related

Plesk 11.x / Linux :: Error Installation Joomla App

May 27, 2014

I get this error by installing joomla attached...

View 2 Replies View Related

Plesk 12.x / Linux :: Missing Options From New Installation

Jun 14, 2015

After my HDD crashed, I replaced it and installed Plesk 12.0.18 but not some options are missing from the panel.I'm missing this functionality: Send from domain IP addresses and use domain names in SMTP greeting

Also now after the restoration of the backups in /var/www/vhosts/<DOMAIIN_NAME>/logs/There are no logs, but they are present in /var/www/ vhosts/ system/<DOMAIIN_NAME>/logs/Before they were symlinked to the first directory.all my domains with a dedicated IP are being sent from my main IP, and they are being marked as spam because of SPF.

View 3 Replies View Related

Plesk 12.x / Linux :: Installation Stopped While Psa-proftpd

Oct 15, 2014

During the installation procedure, the script stopped unexpectedly

Errors were encountered while processing:

/var/cache/apt/archives/psa-proftpd_1.3.5-ubuntu14.04.build1200140604.16_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

View 1 Replies View Related

Plesk 12.x / Linux :: Fail2Ban - Installation Will Not Continue

May 18, 2015

Ubuntu 10.04.4 LTS

12.0.18 Update #46, last updated at May 15, 2015 03:57 AM

Just recently (after update #46) Fail2Ban stopped working and I couldn't restart it or pin point the reason behind it. I decided to uninstall F2B component via Plesk installer.

F2B uninstalled however when I try to install it again I get error : 'Installation will not continue'

Where to start and where can I find log files that could give me some clues?

View 18 Replies View Related

Plesk 12.x / Linux :: VPN Extension - Installation Fails

Nov 13, 2014

Installation of the Plesk VPN extension reproducible fails on Debian Wheezy

Plesk 12.0.18 Update #24
Debian 7.7 Kernel 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u2 x86_64 GNU/Linux

Steps to reproduce:

Plesk Panel > Updates and Upgrades > Install "Plesk VPN extension"
Green Message "All operations with products and components have been successfully completed."
Going back from Upgrade window to Plesk Panel Home

[Code] .....

What I already have tried:
Shell > apt-get install psa-vpn

Getting error mossage:

Setting up psa-vpn (12.0.18-debian7.0.build1200140606.15) ...
ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg)

Shell > modprobe tun
ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg)

View 3 Replies View Related

Server Primary Domain And DNS

Aug 15, 2007

I got a new dedicated server, and I put the primary domain name to be zeonwebhosting.com.

However, when I setup the nameservers, and go to GoDaddy.com and NameCheap.com to change the nameservers on my domains, I get an "Errors were detected" on GoDaddy.com and a "nRRPResponseCode 531" on NameCheap.

I fixed everything in WHM and got a server administrator to fix some things for me, and it didn't work yet. Now I am thinking that the problem might not be with the server, but with the domain.

ZeonWebHosting.com is registered at GoDaddy.com, and since I was not sure what nameservers I should put as it is the primary domain name, I used the parked nameservers on GoDaddy, and used the Total DNS feature to change the A and MX Records to point to my server's IPs.

I tried putting the ns1.zeonwebhosting.com and ns2.zeonwebhosting.com DNSs on GoDaddy, but still I got the "Errors were detected" error. I tried almost everything possible. I even redid cPanel just to make sure that everything was OK with the cPanel configuration.

Also there is another problem with the server. I can't seem to be able to delete Nameservers from "Networking Setup > Nameserver IPs" in WHM. I get this message when trying to delete one of the nameservers:
"Sorry, the nameserver ip 66.79.191.196 cannot be removing since it is still registered with an ICANN register."

View 2 Replies View Related

Plesk 12.x / Linux :: Installation With Dedicated Database Server

Jul 21, 2015

if I can install plesk panel with a dedicated database server... and how.

View 3 Replies View Related

Plesk 12.x / Linux :: CentOs 7 After Installation Webpage Not Accessible

Sep 26, 2014

I'm just testing Plesk 12 on CentOs 7 and after installation is succesfully completed, I cant access [URL]

This is the environment and steps which I taken:
* Fresh CentOs 7 iso
* Windows 2008 R2 Hyper-v hypervisor

1) Installation of the CentOs successfully completed
2) Yum update
3) Download auto-installer
4) Run auto-installer
5) process successfully completed
6) NOW I CAN'T access the url ...

View 18 Replies View Related

Plesk 12.x / Linux :: Blank Page After CloudLinux Installation?

Mar 17, 2015

yesterday I have installed CloudLinux on my Centos 6.6 server. Today only my site was not reach. I have contacted cloudlinux support but this problems does not depend from they. In my personal site I have also WHMCS. For this issue I try: [URL] Then: [URL] I changed size of buffering: [URL] And at the end this: [URL] After that I have the same problem only for one domain.

View 5 Replies View Related

Plesk 12.x / Linux :: MySQL Password Changed During Installation

Oct 15, 2014

Is it possible, that the script changes my admin password for MySQL? I can not connect to my MySQL Server any more.

View 1 Replies View Related

Plesk 12.x / Linux :: Spamassassin Installation Error - Ubuntu 14.04

Mar 2, 2015

Installing Plesk Panel with Spamassassin on Ubuntu 14.04 LTS gives a significant error:

Restarting SpamAssassin Mail Filter Daemon: No /usr/bin/perl found running; none killed.
server socket setup failed, retry 1: spamd: could not create IO::Socket::INET6 socket on [::1]:783: Cannot assign requested address
server socket setup failed, retry 2: spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Address already in use

server socket setup failed, retry 9: spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Address already in use
spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Address already in use
invoke-rc.d: initscript spamassassin, action "restart" failed.
dpkg: error processing package sa-compile (--configure):

even though spamassassin (i.e. spamd) is not running. The usual suspects for the before mentioned error, being

a) differences in the name of the PIDFILE variable in /etc/default/spamassassin and /etc/init.d/spamassassin
b) directory and/or file location are not readable/writable

are not causing this specific installation bug. The work-arounds:

1 - not installing spamassassin (not an option)
2 - installing spamassassin and (afterwards)

change /etc/default/spamassassin, add the option "-4" to the line OPTIONS, resulting in the line: OPTIONS="--nouser-config -4 --username=popuser --daemonize --helper-home-dir=/var/qmail --virtual-config-dir=/var/qmail/mailnames/%d/%l/.spamassassin --create-prefs --max-children=5"
run plesk-installer or autoinstaller again ..Work-around 2 works fine, after reinstallation the /etc/default/spamassassin is as it should be (note that the added "-4" is not present anymore).

The before mentioned work-around suggests some error in the installation process, very likely to be an issue with the chronological order of installation of the various components. In theory, it can be excluded that this bug/issue is caused by psa-spamassassin and/or spamassassin (version 3.3.x) packages, even though some current spamassassin bugs are known: URL....I sincerely hope that Parallels Team can investigate and patch both of the bugs/issues.

View 3 Replies View Related

Plesk 12.x / Linux :: Wordpress Installation Not Operating Properly

Dec 22, 2014

In the Wordpress Toolkit several WP installs appear with exclamation mark and title: "A Wordpress installation was previously detected at this path, but it is not operating properly".

View 1 Replies View Related

Plesk 12.x / Linux :: Installation Script MySQL Error

Oct 15, 2014

on my Ubuntu 14.04 LTS server, I have ran the install script. This process stopped with the message: ERROR while trying to establish test connection. If you are installing Plesk on an already configured MySQL server, you need to specify the administrator's credentials to succeed with the installation.

To do this, you need to create a file - /root/.my.cnf with the 'client' section where you need to provide user and its password ("user = $admin_name" and "password = $admin_pass").

After installation is finished, the file /root/.my.cnf will be renamed to /root/.my.cnf.bak

Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again

Accordingly, I have the existing my.conf copied to the ROOT directory and added the two missing lines in the client area. After that I started the plesk-installer.sh again. The process stopped at a line

"Installed product components are determined" and nothing still happend. The log files says nothing but the last information at the previous try.

View 1 Replies View Related

Plesk 12.x / Linux :: One Site Not Reachable After Installation Of CloudLinux

Mar 17, 2015

Yesterday I have installed CloudLinux on my Centos 6.6 server. Today only my site was not reach. I have contacted cloudlinux support but this problems does not depend from they. In my personal site I have also WHMCS.

For this issue I try: [URL] ....

Then: [URL] ....

I changed size of buffering: [URL] .....

And at the end this: [URL] ....

After that I have the same problem only for one domain.

View 12 Replies View Related

Plesk 12.x / Linux :: Upgrading Phpbb Breaks Installation

Jan 12, 2015

I am running phpbb 3.0.12 installed from Plesk. In Plesk it is showing me that there is an upgrade available to version 3.1.2-15 however when I Re-Check the version in phpbb it says that I already have the latest version 3.0.12. That's a little weird.

The problem is when I upgrade to 3.1.2-15 in Plesk, it will mess with the whole installation. The forum page will redirect in circles to /install/index.php which doesn't even exist and I can't do anything except revert to before the upgrade.

So my questions are: Why does Plesk show a version 3.1.2-15 but phpbb says the latest one is 3.0.12? How does the upgrade process from Plesk work? I expect it to automatically do everything, or why else would I want to let Plesk upgrade?

View 3 Replies View Related







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