Point to a specific page if url can't be found on digital ocean (vanity) name server

  • Posted on April 10, 2022
  • DNS
  • DaanVbnAsked by Daan

Hi all, I’m using etc that point to the name servers form digital ocean.

Would there be any way that when a domain can’t be resolved, the name server points to a specific url?


I use WHMCS with VPS servers on plesk, when an domain is registered with hosting, everything is fine. The domain and hosting package are created on the plesk servers > plesk server updates ns* Domain is registered with name servers > ns* It works great.

The problem arises when a domain is registered without hosting.The domain is still registerd with ns*, but there’s nothing there… Now I would like to point to a ‘this page is hosted at’ page.

Does anyone have a solution for this? Thanks

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
April 10, 2022


What I would personally do is the following:

  • Create a small $5/mo Droplet
  • Install Nginx
  • Create a simple HTML landing page and upload it to: /var/www/html/index.html
  • Then whenever a user does not purchase a hosting package, then you could use that Droplet’s IP address to point their domain name to

That way the new domain names will load the default HTML landing page that you’ve uploaded to the Nginx Droplet.

Let me know how it goes!