Hi. I came into this company about a year into this project - I'm kind of a writer, so I'm usually not dealing with code, but I have to set this up.
Here's the situation:
The company hired a subcontrator to create two Web sites, www.mainsite1.com and www.mainsite2.com.
Now that I'm onboard, they want blogs for both sites.
Now, it'd cost a heck of a lot of money to set up a wordpress account and forum with the subcontractor - so what we're doing (for right now) is hosting the blogs with dreamhost on tempsite.com/blog1 and tempsite.com/blog2
blog.mainsite1.com and blog.mainsite2.com already points to the IP address of the tempsite.com, but I need to know how to configure the .htaccess files so that:
a) blog.mainsite1.com redirects to tempsite.com/blog1, and blog.mainsite2.com redirects to tempsite.com/blog2.
b) To the end user, it all looks like it's taking place on blog.mainsite1.com and blog.mainsite2.com. They should never even see "tempsite.com" in the URL.
Anyone ever dealt with this, or know how to do it?