• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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