How do I forward/redirect a website from a folder in a subdomain to another server?

Posted by dozza on Pro Webmasters See other posts from Pro Webmasters or by dozza
Published on 2012-07-09T12:02:52Z Indexed on 2012/07/11 9:23 UTC
Read the original article Hit count: 181

Filed under:
|

I have a client with a site at:

subdomain.theirdomain.com/folder

It's a 50Gb gallery site that i've now cloned and have locally in MAMP. Once i've made some changes to it I need to host it at alternative physical server/hosting (I intend using a dedicated server I have access to with a technical domain name currently). However, the client would ideally like to keep the existing URL as it has been used extensively in marketing.

I've done HTTP redirects and forwards and 301 redirects in the past, but I'm not sure how or even if I can do what the client wants.

How can I achieve this, possibly using .htaccess and DNS entries?

Caveats: I can't have the site at a 3rd party domain and the client isn't able/allowed to register any additional domains:

© Pro Webmasters or respective owner

Related posts about url

Related posts about htaccess