Have you looked into virtual hosts configurations? https://httpd.apache.org/docs/2.4/vhosts/examples.html
On Fri, Dec 16, 2022 at 4:01 PM Rose, John B <jbr...@utk.edu.invalid> wrote: > We would like to control access to a web site based on a listed domain and > redirect any accesses from domains not > listed to a particular web page. > > We need to be able to use the domain names and not IP addresses. > > Is this something we should be able to do within .htaccess and using > Rewrite for the redirect or do we need to use something else? > > Thanks > > > -- Thanks, Brian Wolfe https://www.linkedin.com/in/brian-wolfe-3136425a/