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
LVL 1
rgb192Asked:
Who is Participating?
 
gaurav05Connect With a Mentor Commented:
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
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.

All Courses

From novice to tech pro — start learning today.