Plesk 11.x / Linux :: Additional Domain Pointing To Wrong Directory?
May 30, 2014
i'm running the latest version of Plesk 11 on a Ubuntu 12.04 system.
We have a customer with a domain and this customer added other domains to his account.
now, 2 domains are not working, he created the as usual, Plesk created the directories under /vhosts/domain.com/domain1.com and the vhosts.conf are also correct.
when i'm opening the domain in the browser, i get the following error message:
The requested URL /var/www/vhosts/domain.com/index.php was not found on this server.
When typing my ip it used to go to Plesk landing page.
Then through the option: server > tools > IP Addresses, I changed the "Default site" to my main domain, however, it just points to the main page, and not changes the url to the domain (keeps the ip in title, and not show the domain url).
How to make it forwarded to the domain (show it in the address bar), and not just to the index page?
I recently set up an eas and autodiscover sub-domains on my main domain (eg myserver.com) running Plesk, Webmail etc, and is the default website for the ip.
So it should be..
myserver.com (not SNI default for IP) eas.myserver.com (SNI) autodiscover.myserver.com (SNI)
But I notice the actual default site (non SNI) is the sub-domain autodiscover.myserver.com.
I checked in
Plesk -> Tools & Settings -> IP Addresses
and that was set correctly, so I tried to change it and back again, then...
/opt/psa/admin/bin/httpdmng --reconfigure-all
Neither worked.
I'm running Ubuntu 12.04.5 LTS and Plesk 11.5.30 #48 (the latest MU)
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?
I have following Warning when creating a new Domain inside a Subscriptions:
I found this Article: [URL] .....
But in my case this does not solve the Problem.
1> All permissions are right. 2> When I type command '/usr/local/psa/bin/repair --restore-vhosts-permissions' i get the answer 'Directory permissions were successfully updated.' 3> The Order of Webuser and FTPUser (as described in the article) could also not be the problem, because in my case there is only one user (There is only Webuser and no FTP-User.) 4> When typing '/usr/local/psa/bin/repair --update-vhosts-structure' I get the following error 6 times each:
Unable to update the structure of the home directory: an unexpected error has occurred. update-vhosts-structure failed: mkdir: cannot create directory `./webroot.kk-bits.com/logs': File exists ERROR: Cannot relink logs. Target directory '/var/www/vhosts/webroot.kk-bits.com/logs' is in invalid state.
To get the error 6 times seems to mean, that i have this problem with 6 Domain.
I want to add a new port for SMTP (1024) as a client's ISP block 25, 587 and 2525. I tried following this guide: [URL] ... but it doesn't work with Parallels Plesk Panel 11.5 ...
How to add an additional SMTP port to Qmail in Plesk 11.5?
Using Plesk 12.0.18 and CentOS 6.6, I installed PHP 5.6 through the Plesk Updates menu. After that, the new version was not automatically selectable inside Plesk Panel. I added it using php_handler.However, when selecting PHP 5.6 for a website, I only get a 500 server error.
Trying to troubleshoot, I ran "/opt/plesk/php/5.6/bin/php-cgi -v", which also resulted in an error:Fatal Error Unable to allocate shared memory segment of 67108864 bytes: mmap: Cannot allocate memory (12)The same kind of error is logged in the error_log for the website I switched to 5.6.
The error also occurs when calling "php-cgi -v" directly in the command line.The same error occured when I tried the same thing with PHP 5.5.
For some application-testing I installed PHP 5.5 and PHP 5.6 alongside the existing PHP 5.3 installation. To do that I used the web-interface of the Plesk-installer.
Installing the software went well, or at least didn't show any errors.
After installing I went back to the login-page to get back into the portal, but that didn't work.
I am using the right username and password and don't see any errors, I just keep getting the login-screen and no errors. Logging in through SSH is working as it should. Only access to Plesk on 8443 seems to be denied.
Server reboot didn't work, restarting Plesk-services didn't work...
How can I restore this so I can get back to work?
This Plesk-installation is on a CentOS 6 server on which I have full rights.
URL....I trying to solve the problem fixing the psa.Parameters table, however i cannot find the relation between id on Parameters table and domains table.
Is there any way to give a reseller or customer access to the php custom settings box labeled "Additional configuration directives" on the website & domains -> php settings button that an admin can see and alter? We have attempted to give resellers the "Common PHP settings management" and "Setup of potentially insecure web scripting options that override provider's policy" options, but it still does not show up to a reseller.
I had a old virtual Server with Ubuntu+Plesk12. I build a new dedicated Server with CentOS6+Plesk12 and migrate all Domains. Now i have a strange problem:
When i upload a file with FTP-User "user1", the file has the permissions Group=psacln & Owner=user1. All is fine, i can see and edit this file in a FTP-Program. But when my website create a file (cache html files or installed plugin folders in wordpress), I can't see, can't edit and can't download this files.
When i login to plesk with the admin account, i can see and edit this files. They have also Group=psacln & Owner=user1 and i can give them 0666 rights but when i login with FTP-User "user1" with my FTP-Program, I didn't see that files?!
I'm new to Plesk - I've inherited a web site for a local social club so have just been handed login and password. I believe I have version 11.0.9 and as I can see mention of an Apache webserver I'm guessing its linux.
So - I want to redesign and use Joomla so I can share the content updating with others.
I can't install Joomla as I have PHP 5.1 and need 5.3. I have no 'server' or any sort of option I can find (and I've looked everywhere!) to find a command line or somewhere I can run things.
When I try to allow SSH access the option says Forbidden and there is no option to change it.
I have a problem where every folder I ftp onto the server gets given a 700 permission and every file gets a Zero permission. Most of the sites I am adding to this server will be WordPress sites and most of the folders I want to have a permission of 755 and for the files a permission of 644 so my question is how do I change the settings so that any new files ftp'd onto the server get the permission 755 and files get the permission of 644 ?
I'm running Plesk 12.0.18 on Centos 7, recently I've got emails from backup service stating that it could not complete the backup due to insufficient space available on disk. Normally I have plenty of disk space available so I check the disk using the command
df -h
Filesystem Size Used Avail Use% Mounted on /dev/root 20G 2.3G 17G 13% / /dev/md2 91G 82G 4.4G 95% /var
it seems that /var has been growing up a lot, but if I run the command du -sh /var I get a total size of 5.7G (not 82G as stated before)
is Plesk calculating the wrong size or it's me using the wrong commands?
I set this up for someone, and temporarily changed the email for the administrative account to my address.
I have since changed this back to the original email, but Plesk keeps sending the administrative emails to my account.
I've pretty much grepped through the entire server for my email in order to stop it sending me emails, but I can't for the life of me find out why it keeps sending these emails to me.
How do I make Plesk send these emails to the right email-account?
the hostname is www.domain.com also in the serversettings of plesk. When we go to http://www.domain.com:8443 we become redirected to https://www:8443. The only way to connect to plesk is to use https the redirect from http doesnt work.
I have a problem with webmail (horde). Horde Webmail show the wrong time, 2 hours to late. It look like that horde show the UTC time, but not the CEST "Europe/Berlin" of my server. I can change that over "preferences" -> "global preferences" -> "locale and time" and change "Your current time zone" from "Default" to "Europe/Berlin". This will now show the correct time (timezone), but this is not the solution because this will do all webmail users.
How can i change the default timezone in Horde?
Output from shell
#my timezone and this will show in all things but not in webmail horde [root@www /]# date Fr 11. Jul 17:32:14 CEST 2014
#this time look like the default time in horde [root@www /]# date -u Fr 11. Jul 15:33:31 UTC 2014
Seems this started when upgrading to a version of 12. It was working a few days ago and only seems to affect mailing lists. I found a google Cached thread here where Igor was assisting some folks as late as Aug 4 and referenced this was "reported to development (PPP-10678 for your reference)" it seems the forums on Parallels changed or something because several Google links are not working and resulting in having to used cached results for the two links below.
I am able to disable SPF and the e-mails go through just fine however this was working with SPF enabled before a recent upgrade.
Page 1 [URL] ....
Page 2 [URL] ....
This is the error message displayed in /var/log/maillog Sep 24 01:38:35 controlpanel postfix/smtpd[3725]: connect from localhost[127.0.0.1] Sep 24 01:38:35 controlpanel postfix/smtpd[3725]: D565017C013E: client=localhost[127.0.0.1] Sep 24 01:38:35 controlpanel greylisting filter[3899]: Starting greylisting filter...
i purchased a VDS and a domain name from godaddy 2 weeks ago. I pointed my domain name to my server and i guess work just fine. but when i googled my domain name i found a damain which is pointing to my website. how can a stop this domain from pointing to my IP?
We recently moved one server to a colo provider and were issued new IP's. One IP is causing us trouble.
We have been getting blocked from sending email to AOL and other free email companies.
When we contacted AOL we were told that they had received complaints about our IP and it was blocked.
Upon doing a RBL check and IP check, it seems that the former owner of our IP is still pointing his domain via eNom to our IP and had at one time sent spam.
If you reverse DNS our IP's.
bad domain -> our IP our domain -> our IP
We contacted the eNom legal department (bad domain's registrar) about the problem.
They responded that they could not do anything about it, only the registrant could.
The spammy domain registrant obviously does not respond to our contacts.
i have dns problem as i think idont know how to solve it or how did it happen iam using this site from more than 8 month i registered it in godaddy as my main domain name register and iam hostingit on my ressler account with many other domains but last night i found that the domain is pointing to my server but it show godaddy parking page i cheeke the name serv its pointing to me i do this repport in dns test i found it is also pointing to go daddy how can that happen and how can i solve it to show my web site again: