Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 244
  • Last Modified:

setup forwarder in DNS???

I am using Windows 2003 SBS.
i have a local program running on
http://192.168.1.2/testing/

testing = Virtual Directory set on IIS.

now what i intend to do is when user starts their browser and type test it should forward to
http://192.168.1.2/testing/

i did set a CNAME in DNS for test to point to 192.168.1.2 however not sure how i can get /testing/ in as well, some sort of forwarding in DNS?

Thanks,
0
Raul77
Asked:
Raul77
  • 2
1 Solution
 
Andres PeralesCommented:
You will have to configure your root website to redirect to htp://test/testing...
Open your IIS manager, on your website right click go to properties, then Home Directory, under The content for this resource should come from: Option select the A redirection to a URL option and then type in the URL for
http://test/testing...
When  user goes to http://testing then it should redirect to the virutal of http://test/testing...
0
 
Raul77Author Commented:
this would work but what if i have several virtual under one website
for example

test/test1

test/test2

test/test3

etc. wouldn't the solution you mention point everyone to test1 ???

i want people to go to test/test1 "only" if they type test in their URL in IE/FireFox.
0
 
Andres PeralesCommented:
You are correct, if you want to host multiple websites then you need to create multiple websites...
One for each test site...
Sounds like you have control of you DNS so then create an Host record for each website, and in IIS add the host header for each website that you used to identifiy that site in DNS.
then you will be able to go to
http:/test1
http://test2
http://test3
 
0
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.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now