Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Redirect to virtual folder under default website

1,046 views
Skip to first unread message

trek8300

unread,
Apr 26, 2007, 2:22:04 PM4/26/07
to
I have been tasked to do the following:

Have it so that www.website.com/abc is accessible by user typing
www.website.com (abc is a virtual directory setup under the default website)
instead of the full URL. I am attempting to use the the redirect options
under IIS but none are working. I have even tried to setup a separate website
(same server) using a host header name that redirects to the virtual folder.
(just grasping).

I have read the operations guide "Redirecting Requests to Files,
Directories, or Programs" and tried various suggestions including wildcards.
Most of the articles seem to be geared for redirecting virtual directories to
other virtual directories.


I am sure there is a simple explanation but can't seem to find it. Any
thoughts?

Alexey Smirnov

unread,
Apr 26, 2007, 4:27:16 PM4/26/07
to

"trek8300" <trek...@discussions.microsoft.com> wrote in message
news:0AEDEA1E-8BDD-4301...@microsoft.com...

I think "A redirection to a URL" - "A directory below this one" will help.
In the properties of www.website.com you can specify abc in the Redirect To
text box and select that option.


trek8300

unread,
Apr 27, 2007, 11:02:06 AM4/27/07
to
I figured out the solution. I simply entered in the "redirect to" box "/abc"
and selected the "A permanent redirection for ....." which did the trick.
Thanks for your input Alexy.

notawebguy

unread,
Dec 3, 2009, 4:17:47 PM12/3/09
to
I tried putting the secondary page in but that did not work. I am trying to redirect Track-it (help desk software) from Http://servername/tiweb. I want it to be Http://Helpdesk. I have created the DNS entry for Helpdesk it resolves to the server and I did redirect to "http://tiweb" but it goes to the server default page of Under Construction. What am I doing wrong? Help???????

trek830 wrote:

I figured out the solution.

27-Apr-07

I figured out the solution. I simply entered in the "redirect to" box "/abc"
and selected the "A permanent redirection for ....." which did the trick.
Thanks for your input Alexy.

"Alexey Smirnov" wrote:

Previous Posts In This Thread:

On Thursday, April 26, 2007 2:22 PM
trek830 wrote:

Redirect to virtual folder under default website


I have been tasked to do the following:

Have it so that www.website.com/abc is accessible by user typing
www.website.com (abc is a virtual directory setup under the default website)
instead of the full URL. I am attempting to use the the redirect options
under IIS but none are working. I have even tried to setup a separate website
(same server) using a host header name that redirects to the virtual folder.
(just grasping).

I have read the operations guide "Redirecting Requests to Files,
Directories, or Programs" and tried various suggestions including wildcards.
Most of the articles seem to be geared for redirecting virtual directories to
other virtual directories.


I am sure there is a simple explanation but can't seem to find it. Any
thoughts?

On Thursday, April 26, 2007 4:27 PM
Alexey Smirnov wrote:

Re: Redirect to virtual folder under default website


I think "A redirection to a URL" - "A directory below this one" will help.
In the properties of www.website.com you can specify abc in the Redirect To
text box and select that option.

On Friday, April 27, 2007 11:02 AM
trek830 wrote:

I figured out the solution.
I figured out the solution. I simply entered in the "redirect to" box "/abc"
and selected the "A permanent redirection for ....." which did the trick.
Thanks for your input Alexy.

"Alexey Smirnov" wrote:


Submitted via EggHeadCafe - Software Developer Portal of Choice
Silverlight Multipurpose WebRequest Proxy
http://www.eggheadcafe.com/tutorials/aspnet/45d1dc2b-7db7-4bbc-b612-003fe889ed4a/silverlight-multipurpose.aspx

kellybauman

unread,
Feb 17, 2010, 5:11:16 PM2/17/10
to
Me too. I have the identical issue as indicated in the initial question.

IIS 6, Intranet application

URL is http://servername/abc

I want users to be able to type http://servername and have the website automatically serve up the abc virtual directory.

I tried doing the redirect as shown in the solutions but it does not work.

trek830 wrote:

I figured out the solution.

27-Apr-07

I figured out the solution. I simply entered in the "redirect to" box "/abc"
and selected the "A permanent redirection for ....." which did the trick.
Thanks for your input Alexy.

"Alexey Smirnov" wrote:

Previous Posts In This Thread:

On Thursday, April 26, 2007 2:22 PM
trek830 wrote:

Redirect to virtual folder under default website

I have been tasked to do the following:

Have it so that www.website.com/abc is accessible by user typing
www.website.com (abc is a virtual directory setup under the default website)
instead of the full URL. I am attempting to use the the redirect options
under IIS but none are working. I have even tried to setup a separate website
(same server) using a host header name that redirects to the virtual folder.
(just grasping).

I have read the operations guide "Redirecting Requests to Files,
Directories, or Programs" and tried various suggestions including wildcards.
Most of the articles seem to be geared for redirecting virtual directories to
other virtual directories.


I am sure there is a simple explanation but can't seem to find it. Any
thoughts?

On Thursday, April 26, 2007 4:27 PM
Alexey Smirnov wrote:

Re: Redirect to virtual folder under default website

I think "A redirection to a URL" - "A directory below this one" will help.
In the properties of www.website.com you can specify abc in the Redirect To
text box and select that option.

On Friday, April 27, 2007 11:02 AM
trek830 wrote:

I figured out the solution.
I figured out the solution. I simply entered in the "redirect to" box "/abc"
and selected the "A permanent redirection for ....." which did the trick.
Thanks for your input Alexy.

"Alexey Smirnov" wrote:

On Thursday, December 03, 2009 4:17 PM
NotA Webguy wrote:

Web Redirect


I tried putting the secondary page in but that did not work. I am trying to redirect Track-it (help desk software) from Http://servername/tiweb. I want it to be Http://Helpdesk. I have created the DNS entry for Helpdesk it resolves to the server and I did redirect to "http://tiweb" but it goes to the server default page of Under Construction. What am I doing wrong? Help???????

On Wednesday, February 17, 2010 5:10 PM
Kelly Bauman wrote:

Redirect to virtual folder under default website

Me too. I have the identical issue as indicated in the initial question.

IIS 6, Intranet application

URL is http://servername/abc

I want users to be able to type http://servername and have the website automatically serve up the abc virtual directory.

I tried doing the redirect as shown in the solutions but it does not work.


Submitted via EggHeadCafe - Software Developer Portal of Choice

EggHeadCafe Chat Chaos in Silverlight Released Today
http://www.eggheadcafe.com/tutorials/aspnet/325ea67e-d6c4-4811-b096-54f31bdede5d/eggheadcafe-chat-chaos-in.aspx

kellybauman

unread,
Feb 17, 2010, 5:10:20 PM2/17/10
to
Me too. I have the identical issue as indicated in the initial question.

IIS 6, Intranet application

URL is http://servername/abc

I want users to be able to type http://servername and have the website automatically serve up the abc virtual directory.

I tried doing the redirect as shown in the solutions but it does not work.

NotA Webguy wrote:

Web Redirect
03-Dec-09

I tried putting the secondary page in but that did not work. I am trying to redirect Track-it (help desk software) from Http://servername/tiweb. I want it to be Http://Helpdesk. I have created the DNS entry for Helpdesk it resolves to the server and I did redirect to "http://tiweb" but it goes to the server default page of Under Construction. What am I doing wrong? Help???????

Previous Posts In This Thread:

"Alexey Smirnov" wrote:

On Thursday, December 03, 2009 4:17 PM
NotA Webguy wrote:

Web Redirect


I tried putting the secondary page in but that did not work. I am trying to redirect Track-it (help desk software) from Http://servername/tiweb. I want it to be Http://Helpdesk. I have created the DNS entry for Helpdesk it resolves to the server and I did redirect to "http://tiweb" but it goes to the server default page of Under Construction. What am I doing wrong? Help???????

Submitted via EggHeadCafe - Software Developer Portal of Choice

What's New for Developers in SharePoint 2010 Object Model?
http://www.eggheadcafe.com/tutorials/aspnet/84e8403e-a25c-49b7-a0d8-3e2773fa29b5/whats-new-for-developers.aspx

kellybauman

unread,
Feb 17, 2010, 6:06:12 PM2/17/10
to
The above solution works, but not on the web server.

i kept trying and trying the solution suggested but it bombed. Finally I tried it again and tested from a remote computer and it worked just fine.

it will never work on the web server.

ie. http://localhost/ will not redirect to the virtual directory.

Kelly Bauman wrote:

I figured out the solution - This solution doesn't seem to work for a few of us
17-Feb-10

Me too. I have the identical issue as indicated in the initial question.

IIS 6, Intranet application

URL is http://servername/abc

I want users to be able to type http://servername and have the website automatically serve up the abc virtual directory.

I tried doing the redirect as shown in the solutions but it does not work.

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice

How to Annotate Images from a database in a web page
http://www.eggheadcafe.com/tutorials/aspnet/0c4c3072-6730-41db-a759-082c24acd999/how-to-annotate-images-fr.aspx

Ayman AM

unread,
Sep 15, 2010, 7:20:21 PM9/15/10
to
hi guys the solution above works perfectly on both local web-server and remote machines, u just need to be careful about the following:
apply the changes u made in (HTTP redirect) to (Default Web Site) after doing that when u navigate to the website u want requests forewarded at (i.e. /abc) and when u check the setting of (HTTP redirect) u'll find the same changes applied there automatically, here u should disable them. then all will work out perfectly!

> On Thursday, April 26, 2007 2:22 PM trek830 wrote:

> I have been tasked to do the following:
>
> Have it so that www.website.com/abc is accessible by user typing
> www.website.com (abc is a virtual directory setup under the default website)
> instead of the full URL. I am attempting to use the the redirect options
> under IIS but none are working. I have even tried to setup a separate website
> (same server) using a host header name that redirects to the virtual folder.
> (just grasping).
>
> I have read the operations guide "Redirecting Requests to Files,
> Directories, or Programs" and tried various suggestions including wildcards.
> Most of the articles seem to be geared for redirecting virtual directories to
> other virtual directories.
>
>
> I am sure there is a simple explanation but can't seem to find it. Any
> thoughts?


>> On Thursday, April 26, 2007 4:27 PM Alexey Smirnov wrote:

>> I think "A redirection to a URL" - "A directory below this one" will help.
>> In the properties of www.website.com you can specify abc in the Redirect To
>> text box and select that option.


>>> On Friday, April 27, 2007 11:02 AM trek830 wrote:

>>> I figured out the solution. I simply entered in the "redirect to" box "/abc"
>>> and selected the "A permanent redirection for ....." which did the trick.
>>> Thanks for your input Alexy.
>>>
>>> "Alexey Smirnov" wrote:


>>>> On Thursday, December 03, 2009 4:17 PM NotA Webguy wrote:

>>>> I tried putting the secondary page in but that did not work. I am trying to redirect Track-it (help desk software) from Http://servername/tiweb. I want it to be Http://Helpdesk. I have created the DNS entry for Helpdesk it resolves to the server and I did redirect to "http://tiweb" but it goes to the server default page of Under Construction. What am I doing wrong? Help???????

>>>>> On Wednesday, February 17, 2010 5:10 PM Kelly Bauman wrote:

>>>>> Me too. I have the identical issue as indicated in the initial question.
>>>>>
>>>>>
>>>>>
>>>>> IIS 6, Intranet application
>>>>>
>>>>>
>>>>>
>>>>> URL is http://servername/abc
>>>>>
>>>>>
>>>>>
>>>>> I want users to be able to type http://servername and have the website automatically serve up the abc virtual directory.
>>>>>
>>>>>
>>>>>
>>>>> I tried doing the redirect as shown in the solutions but it does not work.


>>>>>> On Wednesday, February 17, 2010 5:11 PM Kelly Bauman wrote:

>>>>>> Me too. I have the identical issue as indicated in the initial question.
>>>>>>
>>>>>>
>>>>>>
>>>>>> IIS 6, Intranet application
>>>>>>
>>>>>>
>>>>>>
>>>>>> URL is http://servername/abc
>>>>>>
>>>>>>
>>>>>>
>>>>>> I want users to be able to type http://servername and have the website automatically serve up the abc virtual directory.
>>>>>>
>>>>>>
>>>>>>
>>>>>> I tried doing the redirect as shown in the solutions but it does not work.


>>>>>>> On Wednesday, February 17, 2010 6:06 PM Kelly Bauman wrote:

>>>>>>> The above solution works, but not on the web server.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> i kept trying and trying the solution suggested but it bombed. Finally I tried it again and tested from a remote computer and it worked just fine.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> it will never work on the web server.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ie. http://localhost/ will not redirect to the virtual directory.

>>>>>>> Submitted via EggHeadCafe - Software Developer Portal of Choice

>>>>>>> Auto-Generate Code for LINQ to SQL Repository Pattern using T4
>>>>>>> http://www.eggheadcafe.com/tutorials/aspnet/a7ee34d2-c297-4ec8-a933-69254242b21b/autogenerate-code-for-linq-to-sql-repository-pattern-using-t4.aspx

0 new messages