2

I have a domain alias that i want to forward to a specific directory on my main site. How do I get it so that only people visiting the alias "fakesite.com" to be redirected to "mainsite.com/fake" instead of everyone redirected to that?

This is on the windows platform at myhosting.com

EEAA
  • 109,363
  • 18
  • 175
  • 245
user35713
  • 21
  • 1

2 Answers2

3

Apache?

<VirtualHost *:80>
    ServerName fakesite.com
    Redirect / http://mainsite.com/fake
</VirtualHost>
EEAA
  • 109,363
  • 18
  • 175
  • 245
1

Configure the fakesite.com site (in IIS) to be a permanent redirection to another webpage mainsite.com/fake

alt text

Should probably tick the "A permanent redirection for this resource" box and "the exact URL entered above"..

Grizly
  • 2,063
  • 15
  • 21