• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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