• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 628
  • Last Modified:

redirect all the traffic from website.com to website.com/index.aspx

iis7
want all the traffic from website.com/*
to redirect to
website.com/aspx.net
0
rgb192
Asked:
rgb192
1 Solution
 
gaurav05Commented:
Hi,

If I understand aspx.net is your vdir then below steps are work for you.
if it is page then let us know.

1) Create a physical directory instead of a virtual directory.

2) Make sure you have HTTP Redirect role services. See http://www.iis.net/ConfigReference/system.webServer/httpRedirect

3) Open IIS Manager and browse to the physical directory you want to redirect.

4) Double click on the 'HTTP Redirect' icon under IIS.

5) Check the "Redirect requests to this destination" box and enter the new URL (http://domain.com/newPage.html)

6) Check the next two boxes as needed; I find it usually necessary to check both.

7) Press Apply button.

8) Select Web site and 'Restart' under Manage Web Site.

9) Test.
0
 
rgb192Author Commented:
thanks
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

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