Disabling default pages

How can I completely disable redirection to default “Server ready to use” pages and others?
It would be good if you ignore it for one domain

You can edit /var/www/html

Make sure the domain exists as web domain and it should never redirect…

Now this:
I need these pages not to work for the domain test.example.com

Access Denied
You do not have permission to view this page.

Please check your credentials and try again.

make sure your permissions are set