I have two domain names pointing to my server. I want them both to serve identical HTML. I thought I would just do the following, however, it was unsuccessful. Note that I eventually will want ssl 443 to act similarly.
How do I make any requests to mydomain.net display HTML from mydomain.com?
<VirtualHost *:80> ServerName mydomain.net RewriteEngine on RewriteRule mydomain.net mydomain.com [PT] </VirtualHost> <VirtualHost *:80> ServerName mydomain.com ... a bunch of stuff ... </VirtualHost>