grouping two sites under domain and sub domain

Posted by Dave on Server Fault See other posts from Server Fault or by Dave
Published on 2012-02-08T14:39:38Z Indexed on 2012/07/01 21:18 UTC
Read the original article Hit count: 323

I have 2 websites a main website hosted at fasthosts and an e-commerce website hosted at Vidahost.

I want to combine both websites under the same domain set.

  • Main site would be www.mydomain.com
  • Store site would be shop.mydomain.com

I want to keep the directory path showing on the shop subdomain so what was previously www.mystore.com/product/hat would become shop.mydomain.com/product/hat

How can I accomplish this, have already created the subdomain on fasthosts and setup web forwarding to the store but the directory paths do not show.

© Server Fault or respective owner

Related posts about dns

Related posts about domain-name