Hi all, I’m using ns1.myvanityserver.com 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?
Background:
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*.myvanityserver.com. Domain is registered with name servers > ns*.myvanityserver.com. It works great.
The problem arises when a domain is registered without hosting.The domain is still registerd with ns*.myvanityserver.com, 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
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!
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.
Hello,
What I would personally do is the following:
/var/www/html/index.html
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!
Best,
Bobby