• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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