I need to rewrite http://domain1.main.biz to http://www.domain1.com.
The http://domain1.main.biz/files.php have been spidered and is in search engines. But I've separated it out to its own domain and need to redirect so that http://www.domain1.com is what shows in the url bar. It is still physically in a directory of main.biz on the server though. I have no idea how to write code. Please help. Thank you,
Miriam