redirect 2.0 pages

Hi there

I have a server set up and am pointing domain names to it.

In order to redirect the request when it hits my server, i have added this code to the iisstart page.

If HTTPHost = "" then
    Response.Redirect ("")
End If

Now, i would prefer not to show the folder in the line so that pages are seen in the browser as etc.,

Is there a way of doing this.
I am also conscious of the effect of the redirect might have on google rankings.

Any advise, much appreciated.

The server is hosting windows 2000 small business server if this helps.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Volkan VardarSoftware Team LeaderCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sunny-jAuthor Commented:
thanks for this. i could not get it to work though.

is this correct

If HTTPHost = "" then
    server.transfer ("/folder")
End If

It didn't redirect it to the folder i had in mind but simply showed the iisstart page.
any ideas of where i am going wrong. thanks.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.