Welcome to WebmasterWorld Guest from 54.167.155.147

Forum Moderators: buckworks & webwork

Message Too Old, No Replies

Point subdirectory of main domain to another host/domain

   
6:51 pm on Apr 7, 2008 (gmt 0)

5+ Year Member



I'm not even sure how to ask this question (not sure if this is a subdomain, add-on domain, ISAPI rewrite, etc. question)

Let's say I have an e-commerce site at www.mainsite.com that has great organic search results.

Now I want to sell a new line of widgets that are sort of related to what we sell at www.mainsite.com. There's a turnkey e-commerce provider (3rd party) that we can leverage to sell this extra stuff.

I don't want to create a new domain for this third party site nor do I want to do a subdomain as my understanding is that we will lose or not be able to take advantage of our good SEO with both of those approaches.

So what I want to do is have this new "site" show up as a subdirectory of our main site.

So when a user goes to www.mainsite.com/newsite they are really on some other server (www.newsite.com) yet the URL in the browser client is www.mainsite.com/newsite (this /newsite will have it's own look at feel, etc. as it's essentially a totally different site, just "held" in a subdirectory of the main site).

Does this make sense? How would this be done? What do I need to ask my hosting company to do to make this work? (hosting is on an IIS server)

9:09 pm on Apr 9, 2008 (gmt 0)

WebmasterWorld Senior Member jtara is a WebmasterWorld Top Contributor of All Time 5+ Year Member



It's possible, but it may not be worth the trouble or the performance hit.

The only way to do this is to reverse proxy through your existing website. Your website will have to fetch the pages for the new "section" from the other website.

The only other possibility is a "framed forward". But this is not SEO-friendly. While it will *appear* to the user that they are visiting the main site, you're really giving them the new site in a frame.