Solved

setup forwarder in DNS???

Posted on 2009-05-12
3
236 Views
Last Modified: 2012-05-06
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
Comment
Question by:Raul77
  • 2
3 Comments
 
LVL 17

Expert Comment

by:Andres Perales
ID: 24366846
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
 

Author Comment

by:Raul77
ID: 24366892
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
 
LVL 17

Accepted Solution

by:
Andres Perales earned 500 total points
ID: 24366964
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question