Hi all.
We've moved our site to a new host; anyone accessing via the is fine, but anyone accessing it via the ip address is now directed to an "Information page" that tells them they need to access the site via the and not the ip address.
We've done this by using a default virtual host i.e. the ip address doen't match any of the remaining sites so defaults to the information page.
Problem is, there are hundreds of different pages that they could have book marked and therefore access directly and we don't really want to put up hundreds of identical information pages.
Is there a directive (or another method) that causes all pages within a domain to be directed to a single page? e.g.
10.0.0.1 points to /information.html
10.0.0.1/page1 also points to /information.html
10.0.0.1/dir1/page2 also points to /information.html
etc. etc.
Assistance much appreciated.
We've moved our site to a new host; anyone accessing via the is fine, but anyone accessing it via the ip address is now directed to an "Information page" that tells them they need to access the site via the and not the ip address.
We've done this by using a default virtual host i.e. the ip address doen't match any of the remaining sites so defaults to the information page.
Problem is, there are hundreds of different pages that they could have book marked and therefore access directly and we don't really want to put up hundreds of identical information pages.
Is there a directive (or another method) that causes all pages within a domain to be directed to a single page? e.g.
10.0.0.1 points to /information.html
10.0.0.1/page1 also points to /information.html
10.0.0.1/dir1/page2 also points to /information.html
etc. etc.
Assistance much appreciated.