• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question to Subdomain / default-Page / vhost.conf

M

mike2006

Guest
Hello,

my external NS gives all requests for domain1.tld via A-Record and *-A-Record to my webserver (config look footer).

Via Plesk I create sub1.domain1.tld.

http://domain1.tld --> Maincontent: ok
http://www.domain1.tld --> Maincontent: ok

http://sub1.domain1.tld --> Subdomaincontent: ok
http://ANYTHING.sub1.domain1.tld --> default Plesk page: NOT ok

http://NotAvail.domain1.tld --> default Plesk page: NOT ok

I want that alle not via Plesk defined subdomains are directed to the main content (to domain1.tld).

And also that all not existing Subdomains for existing subdomain (NOTEXIST.sub1.domain1.tld) are directed to the subdomain-content.

My solutions (not working):

1. editing httpd.conf
nothing changed

2. creating vhost.conf in domain's /conf-folder:
DomainAlias *.domain1.tld

also the via Plesk registered subdomains go to the mainpage, not only the NONEXIST.domain1.tld.

3. edit the http.include
IT works, but Plesk overwrites this files

I think my request is absolute normal like in daily-usage. Which files I had to edit that my configuration works ?

I restart webserver and apache after changing/editing files.

Here I found no solution for my prob, but a lot of people have the same probs.

Thanks for any hint what I can try.

Mike
 
Back
Top