The domain host automatically sets the DNS nameservers to a parked domain. How can the settings be changed so that entering the URL instead gives a null (404) result or blank page?
Asked
Active
Viewed 815 times
-2
-
Change the DNS entries to point to a web server which returns the page/status code that you want. – tater Jan 02 '21 at 14:55
-
what web server results in the 404 page – user610620 Jan 02 '21 at 14:55
-
You will need to set one up. – tater Jan 02 '21 at 14:56
-
not sure how to do that – user610620 Jan 02 '21 at 14:56
-
if dont know what you doing then serverfault.com is the wrong page please move on to superuser.com as this is for private and not business related question – djdomi Jan 02 '21 at 15:30
-
maybe just change settings to a non-existent DNS – user610620 Jan 02 '21 at 15:32
1 Answers
2
You cannot do this with "DNS" alone, you will require DNS hosting along with website hosting.
Once you have both DNS, and WEBSITE hosting (the former often provided free of charge by 'most' domain providers); you'll need to do the following:
- Update nameservers (if not done already)
- Update/Create DNS record for your primary zone(domain) with an A record pointing to your hosting provider.
- Depending on your hosting provider, you may simply be able to delete your
index.html
(or equivalent) and that'll result in a 404 being shown.
Ultimately most 'consumer'-grade hosting providers will be able to offer you support to do what I have described, with instructions suited to their exact platform.

Ashley Primo
- 405
- 2
- 10