• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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