• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question How to make Apache/Plesk recognise all/any domains pointed to my A record?

jackoackely

New Pleskian
Hi!

Is there any way to make Apache catch all incoming request from all domains? I am asking this, because my users want to add custom domains for this phpShort - Documentation - Lunatio

They basically point A record to my IP, but it won't work. Is this even possible, or I have to deploy this on standalone VPS? Thanks :)
 
Apache responds to all incoming www traffic with its default page when no virtual host has been defined. If you want your server to do something with traffic for undefined virtual hosts, you can set your website up in /var/www/vhosts/default/htdocs. A smart way to do that might be to only have a redirect in that directory so that you can have the comfort of a Plesk maintained website while all undefined subhosts redirect to that website.
 
Back
Top