Apache: How do I make a virtual host mirror?
ServerAdmin admin@whateverdomain.com
DocumentRoot “C:\rootstuff”
ServerName servername.com
that works, but lets say I want a specific subdomain of my domain to forward to another site. How would I do that?
I tried:
ServerAdmin admin@whateversite
DocumentRoot “http://thesiteIwanttoforwardto.com/”
ServerName servername.com
but apache won’t start when I do this.
To elaborate, I want people to be able to access my own server at www.mysitename.com but if they go to www.mysitename.com/subdirectory then it will forward them without the use of html redirection and display www.theothersite.com’s page (A virtual host mirror)