Please remove this thread ..

Comments

liliplanet’s picture

* bump * sorry. I know this is not exactly a Drupal question, but don't know where else to ask :)

How do I point a domain, in this case filmmaker.co.za to a path http://www.filmcontact.com/film/africa ?

Most appreciate any reply, and thank you.

liliplanet’s picture

please remove this thread

arh1’s picture

as far as i know you can't have two virtual hosts with overlapping document roots, so i think you'd have to redirect filmmaker.co.za to filmcontact.com/film/africa (i.e. if someone visits filmmaker.co.za the address in the browser changes to filmcontact.com/film/africa).

i'm sure there are many ways to accomplish this, but one way would be to "park" filmmaker.co.za on filmcontact.com (i.e. they both point to the same IP address), and then redirect requests for filmmaker.co.za to filmcontact.com with something like this to your .htaccess file:

RewriteEngine On
RewriteCond %{HTTP_HOST} filmmaker\.co\.za$ [NC]
RewriteRule .* http://www.filmcontact.com/film/africa [R,L]

but in cPanel, i think you can add filmmaker.co.za as a "parked" domain and have it redirect to http://www.filmcontact.com/film/africa to achieve the same effect.

hth!

liliplanet’s picture

thank you so much arh1, will try that .. and report back ..

Very kind of you :)