Jump to content

IIS URL Rewrite for MediaBrowser


uncled1023

Recommended Posts

uncled1023

Hello everyone.  This is very similar to the post here: http://mediabrowser.tv/community/index.php?/topic/4871-custom-setup-iis7/

 

I am running IIS 8 with URL Rewrite enabled and have a subdomain just for my mediabrowser.  I have tried to create a rule that would allow the use of http://media.teknik.io/ to work as the mediabrowser address instead of http://media.teknik.io/mediabrowser. 

 

Here is my current url rewrite rule:

<rewrite>
    <rules>
        <rule name="Media Browser" stopProcessing="true">
            <match url="^/(.*)$" ignoreCase="false" />
            <action type="Rewrite" url="http://media.teknik.io:80/mediabrowser" appendQueryString="false" />
        </rule>
    </rules>
</rewrite>

Any thoughts?

Link to comment
Share on other sites

JeremyFr79

Are you running your own DNS server? if so you could just add an entry of the domain you want to use redirecting to the mediabrowser domain.

Link to comment
Share on other sites

JeremyFr79

being that Media Browser is running on it's own platform not reliant of IIS I'm not sure you could do a rewrite.

Link to comment
Share on other sites

Koleckai Silvestri

You would want to rewrite your domain/subdomain to your Mediabrowser location and post. This line here:

<action type="Rewrite" url="http://media.teknik.io:80/mediabrowser" appendQueryString="false" />
Would point to MediaBrowser which should be on port 8096.

 

Doesn't matter if it is on IIS or not. You can redirect to Google.com if you wanted to.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...