Category IIS

URL Redirect in IIS7

In this post I will show you how to setup an URL redirect in IIS 7. In this post I will assume you have some working knowledge of IIS.

Open IIS (Start –> Administrative Tools –> IIS Manager)

Expand your Web Server then right click on Sites and choose Add Web Site.

Give the site a name such as domain.com redirect. Be sure to add something to the name so you will know that it is a redirect if you need to reference it later. Put in a path for the web site. Redirects don’t really use the path but IIS won’t let you add the web site without this. I created a directory in the following location: C:\inetpub\redirects. I alwyas create this and use this location to place all of my redirects in. Put in the desired IP address or leave it on all unassigned and click OK.

Now double click on “HTTP Redirect” the properties will appear.

Put a check next to “Redirect requests to ...

Read More

Troubleshoot “Server Error in ‘/’ Application”

Have you ever setup a website in IIS and then you got this generic error: “Server Error in ‘/’ Application.

This is what I got right after installing SharePoint server 2007, setting up a portal and trying to access the site. Here is what you need to do to get a more detailed error so you can fix the issue. You need change a couple of settings by modifying the web.config file of your website.

Here is how you c...

Read More