Plesk 11.x / Linux :: How To Disable Wildcard Catch All For Master Default Domain
Aug 6, 2014
I have several domains configured in my Plesk, and one of them is set as the "Detault site" under Home >> Tools & Setings > IP address management.This has the unpleasant side effect that any domain I point to this IP renders content from the Default site unless it's setup. How can I configure the default site to render content from only one domain?
I've been trying to configure Plesk as a hidden (super) master for a domain and I've run into some problems.
First off, for those who don't know, a hidden master is a nameserver that is actually the master server, yet does not list in the NS records of the domain.
The servers listed as NS in the zone have accepted the server as their master, but the rest of the world does not know it exists. Hence the term hidden master. The slaves consist of two PowerDNS servers that acknowledge the Plesk server as a supermaster, thus enabling automatic zone configuration and the like upon receiving a notify from the Plesk server.
However, the Plesk server refuses to send automatic notify messages to the slaves (listed in the NS records, also added to the ACL / transfer restrictions template). When requesting an AXFR by hand the Plesk server happily transfers the requested zone to the PowerDNS slaves, but upon changing the zone files through the Plesk panel's DNS management system, no notify goes out to the slaves, which thus don't know anything has changed. I've tried adding an also-notify clause to named.conf (which was suggested elsewhere), but it appears Plesk overwrites the entire named.conf upon zone changes, thus erasing the also-notify clause, subsequently refusing to send out a notify.
Further research into the workings of Bind (the nameserver used by Plesk in this setup) suggests that, by default, it should send notify messages to all servers listed in the NS records part of a given zone. This is clearly not the case in this particular setup, but I can't seem to find where exactly notify messages have been disabled (there is no mention of notify in named.conf).
My questions therefore are: 1) Why doesn't Plesk / Bind send automatic notify messages to its slaves, which is the default behavior of Bind? Where and how has this been disabled? 2) Should 1 turn out to be impossible to fix, how do I override named.conf on a per-domain basis?
I am running a CentOS 6.5, 64-bit server with Plesk 12.0.18, and need to install a wildcard SSL for one of the domains/sub domains hosted on this server.
So you have the csr and private key installed (and domain.crt?), you just need to open..
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)
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've just purchased a VPS with Ubuntu 14.04 and Plesk 12 Web Admin Edition. I will use the vps to host just one domain/website. The first time I access Plesk, it asks for some info and first of all it asks form my domain. The default value is localhost.localdomain. Should I leave the default value or should I enter my domain (let's say example.com)?
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?
When I create a CNAME record for domain, and then trying to load it, it goes to default website. It was working fine before, all old CNAME records are working fine.
Tried reconfigure-all but it doesn't fix the problem. I'm using 11.5.30 Update #44
New to Plesk in general so I don't know for sure if the "Register Domain Names" feature is part of our 'Web Pro Edition' or comes by default.
Also, is the domain registration option showing up because when installing Plesk I enabled the "Enable access to premium commercial apps"?
So my question is, can we still set it up so users have access to install applications (free and commercial), but disable the domain registration option?
I have a Plesk 12 server running under Debian 7. I have a website with only mail so I disable web hosting. The problem is that the client needs to use webmail but webmail does not work (maybe because web hosting is disabled)...
i have a domain registered within PLESK having the same name as the server itself. After a short period of time the domain shows up the PLESK default page instead of the original content located in the vhost httpdocs directory.
To restore the content it's possible to deactivate and re-activate the domain from the customers control panel. But after an amount of time the default page comes back.I first recognized the error after the update to PLESK 12.
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.
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.
How to get plesk (12) to set the SOA record properly on existing domains?
Let me explain the issue first. We use PowerDNS supermaster mode as slave servers. The way this works is we configure PowerDNS so that it sees the plesk server as a so called supermaster.
When a so called supermaster notifies the slave servers on a zone update, if it doesn't exist it just adds the zone and pulls it in. This works very nice and without any scripting required (there's only the issue of removing them, I just have a script that deletes all domains that haven't been able to update in 2 weeks every day from the database).
The only issue here is that BIND does *NOT* ever notify the nameserver listed in the SOA. The nameserver listed in the SOA should be the master (and hence - thus plesk itself) and it being a master it should be where the changes occur and notifying it isn't necessary thus, which is why BIND doesn't do that.
Unfortunately plesk doesn't seem to grasp this concept. It will happily put any nameserver in the SOA record. Have adjusted the template and it seems to work ok for new domains now (not sure how reliably though), but it's a major pain for the existing ones. It's very hard to update them properly.
Reapplying template -> no change to master NS/SOA Switching mode to slave and back to master -> no change to master NS/SOA Resetting to default -> no change to master NS/SOA
The only way I've found so far is to delete the records manually, add them again and hope it doesn't change the order (yes it does this a lot, you'll have the correct order listed, click apply and the order just changes. Some times it adds them to the bottom of the list, some times to the top - not confusing at all).
Plesk really should be taught that if it's master, it should be the one in the SOA. Whilst my issue is larger due to the supermaster and slaves not creating the zone (and hence my slave not functioning), it is an issue in any setup because a slave listed as SOA will not be notified and doesn't pick up on the changes right away. Depending on the refresh times it might take quite some time for the slave to pick up the change then, which isn't desirable either as it will leave you with a slave that still returns incorrect records.
I want to run a script that will loop through all of the domains on a particular server and remove all MX records with mail.*.I am testing on a single test domain at the moment but I'm not sure how to do the wildcard./usr/local/psa/bin/dns -d example.com -mx '' -mailexchanger mail.*
The following example command is from: URL....To add an MX resource record mail3.example.com specifying domain name mail.example.com as the mail exchanger for the record, and setting the mail exchanger's priority to the DNS zone on the domain example.com to 15:
# ./dns -a example.com -mx mail3 -mailexchanger mail.example.com -priority 15..What does the mail3.example.com got to do with it? Isn't it just adding a MX record mail.example.com?
I have a problem with Nginx on myPlesk 12 with wildcard dns.I want subdomains URl to be like root domain url. Exemple. URL...You can see a live exemple here: URL.... give error 404 instead of showing root domain file (URL....). It's the same for images.What specific rule I must add in plesk panel?
I have a new Plesk 12 installation. I have configured a domain (example.com) with hosting that also requires wildcard subdomains.
To achieve this I had to create a vhost.conf file with...
ServerAlias *.example.com
This works and I can go to http://anything.example.com with no issue.
I purchased a wildcard SSL certificate for *.example.com and successfully installed it.
If I go to https://example.com it works perfectly and shows the correct certificate, however if I go to https://anything.example.com it tells me the connection is untrusted, when I view the certificate, it shows the Parallels Plesk self certified certificate and not my purchased certificate.
I created a vhost_ssl.conf with
ServerAlias *.example.com ServerAlias *.example.com:443 #tried with and without this line
If I add an exception in the browser, then I am taken to the correct place, albeit with the incorrect certificate.
Of course I have executed httpdmng --reconfigure-domain example.com and also tried a full reboot.
In summary:
http://example.com - works
http://anything.example.com - works
https://example.com works with my certificate
https://anything.example.com has Parallels certificate but routes to correct page
How do we disable email on the domain entirely? The client is hosting email externally - the offered spam filtering is wholely inadequate and we're seeing a few of these happening - to the point I'm considering offering externally hosted email plans anyway - but back to the problem - I need to delete the mailboxes and then disable mail - and then remove the DNS records for webmail etc - but can't seem to find how to turn off locally hosted email for a domain.
We have a lot of unused domains that we'd like to setup domain parking for.
To keep it simple, we'd like to just change the namesevers to ns1.domainparking.com and ns2.domainparking.com (not real nameservers!) and the domains would then automatically show a simple web page.
We use cpanel servers and are wondering how easy this is to do? I've seem mention of wildcard dns? Is that the answer?