IIS Rewrite Rule to Alpha5

Hi there,

I'm struggling with writing a basic IIS rewrite rule. Could someone please help.

I've got IIS (running on port 80) and also the Alpha5 webserver (running on port 81). I can request an alpha five web page by entering http://www.datamix.co.uk:81/testalpha/ (so I know Alpha 5 server is working fine on port 81)
What I want a user to do is enter http://www.datamix.co.uk/testalpha/ without the port number and for the url to be written by IIS to http://www.datamix.co.uk:81/testalpha/

My current configuration which is set under the IIS Default Web Site and the Server Proxy Settings are enabled under the Application Request Routing Cache feature is as follows.

<?xml version="1.0" encoding="UTF-8"?>
                <rule name="Rewrite rule1 for Alpha5" patternSyntax="Wildcard" stopProcessing="false">
                    <match url="*datamix.co.uk*" negate="false" />
                    <action type="Rewrite" url="http://www.datamix.co.uk:81 {R:0}" appendQueryString="true" logRewrittenUrl="true" />

I'm getting the following page .....

Service Unavailable

HTTP Error 503. The service is unavailable.

 Any help greatly appreciated.

Who is Participating?
dataflowjoeConnect With a Mentor Author Commented:
I continued looking and came across this link which explains it..


I'll close the question now.
dataflowjoeAuthor Commented:
The best answer I could find out there
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.