Rowlett 9 Posted February 20, 2014 Share Posted February 20, 2014 (edited) Hi Guys, i was wondering i have a website (www.domain.com) hosted with IIS7 and at the min mb3 works flawlessly on (www.domain.com:8080/mediabrowser, i was wondering is there anyway i could make MB3 available on (www.domain.com/mb3) i assume i'd need to config something within IIS and i've been trying to find info on google to no avail, just wondered if this could be possible or is it more trouble than it's worth? btw i dont mean just redirect to www.domain.com:8080/mediabrowser i mean so it hosts mediabrowser on www.domain.com/mb3 so no port needs to be specified. thanks Edited February 20, 2014 by Rowlett Link to comment Share on other sites More sharing options...
Abobader 2947 Posted February 20, 2014 Share Posted February 20, 2014 Good day, Yes you can, from the IIS management, I think it in binding for the default site to edit (port) you can change that for whatever port/address you like to be as the main site for your domain. Sorry, did not use IIS for some times now. My best Link to comment Share on other sites More sharing options...
Beardyname 195 Posted February 20, 2014 Share Posted February 20, 2014 I think he means that he wants his standard server on domain.com and then it would only access mediabrowser if you added /mb3 or similar. However i don't think this is possible since i would guess mb3 uses it's own webserver, if you only wanted what abobader was talking about though that is totally possible. If I'm wrong please tell me as this would indeed be awesome ^^ but for now I'm gonna leave it as it is (8096) Link to comment Share on other sites More sharing options...
snazy2000 342 Posted February 20, 2014 Share Posted February 20, 2014 Could always change to port to 80 and redirect to that? Link to comment Share on other sites More sharing options...
Abobader 2947 Posted February 20, 2014 Share Posted February 20, 2014 Good day, Sorry I did not read it well. In that case, see if your router can do that, that the only way. My best Link to comment Share on other sites More sharing options...
Koleckai Silvestri 1150 Posted February 21, 2014 Share Posted February 21, 2014 You don't really need to do anything fancy. You can install URL Rewrite in IIS and then use a web.config file to redirect all requests to the mb3 directory to the Media Browser server and port. Something like: <rewrite> <rules> <rule name="your name here" stopProcessing="true"> <match url="^mb3/(.*)$" ignoreCase="false" /> <action type="Redirect" redirectType="Permanent" url="http://yourmediabrowserIP:8096/mediabrowser" /> </rule> </rules> </rewrite> </rewrite> I do something very similar to redirect a subdomain on my VPS in Texas to my computer in California. Or instead of URL Rewrite you could use HTML, Javascript, Visual Basic or PHP to do the redirection as well. 2 Link to comment Share on other sites More sharing options...
Luke 37093 Posted February 21, 2014 Share Posted February 21, 2014 yes it has it's own embedded web server Link to comment Share on other sites More sharing options...
Beardyname 195 Posted February 21, 2014 Share Posted February 21, 2014 @Wayne i will have to check that out since it makes it easier to type to gain access to my mb3 server on! Link to comment Share on other sites More sharing options...
Aphid 212 Posted February 21, 2014 Share Posted February 21, 2014 The clients all assume that you are connecting on /mediabrowser, though, so they will likely not connect via the external address if you use something else. Link to comment Share on other sites More sharing options...
jcain 7 Posted February 23, 2014 Share Posted February 23, 2014 (edited) just use a framed page. but, fwiw, i think you're barking up the wrong tree in trying to do this in it's entirety Edited February 23, 2014 by jcain Link to comment Share on other sites More sharing options...
Rowlett 9 Posted February 23, 2014 Author Share Posted February 23, 2014 thanks for all the responses guys! definitely different ways to approach this as you've all outlined, i really wanted to avoid the need to "input" the port and make it easier to remember the address and so if i changed the port internally it wouldn't affect the address. @wayne so from redirect you've post if i were to type: www.domain.com/mb3 it would then just redirect to www.domain.com:port/mediabrowser? also a dumb question would the web config of the default site need to be changed or a new one created within the mb3 server directory? really new to IIS7 :-) Link to comment Share on other sites More sharing options...
Rowlett 9 Posted February 23, 2014 Author Share Posted February 23, 2014 when i try the rewrite no matter what i put it says "doesn't match pattern" and tbf it will still need to display the port etc so might just leave it but thanks for all your help! Link to comment Share on other sites More sharing options...
jcain 7 Posted February 23, 2014 Share Posted February 23, 2014 is your IIS server local or colo? Link to comment Share on other sites More sharing options...
Rowlett 9 Posted February 23, 2014 Author Share Posted February 23, 2014 Its local - running/setup for server essentials running on Windows Server 2012 R2. Link to comment Share on other sites More sharing options...
jcain 7 Posted February 23, 2014 Share Posted February 23, 2014 residential or business internet line? I ask because some ports like 80 and 8080 are blocked on many residential contracts. Link to comment Share on other sites More sharing options...
Rowlett 9 Posted February 23, 2014 Author Share Posted February 23, 2014 Residential but lucky ports 80 & 8080 are not blocked! *phew* Link to comment Share on other sites More sharing options...
Koleckai Silvestri 1150 Posted February 23, 2014 Share Posted February 23, 2014 Hmmm.. I copied that off of stackoverflow to be honest. Should work. I will have to look at it more. You can use an HTML meta refresh as well. I set up something similar on my VPS to redirect the web client. For your handheld clients you'll probably want to use the IP as they can remember it. I don't put much effort in remembering my local IP so I put in the redirect. For local usage, I just bookmarked it. If I want to access from a friends house or something, I use the URL that I set up which is just a media.domain.tld setup and then an .htaccess file to redirect any request to my server inside the WAN. Link to comment Share on other sites More sharing options...
Rowlett 9 Posted February 23, 2014 Author Share Posted February 23, 2014 (edited) Thanks for info - in an ideal world it wud be nice to have it work on port 80 so u dnt have to specify the port on a web browser but i know this wud cause so many conflicts i was looking it to http headers n i know there's free redirect services i cud setup to make it easier. Might jst stick with the setup ive got, keep it simple: https://domain.com = server essentials web access http://domain.com:8080/mediabrowser = mb3 Reason i use 8080 is port 8096 is blocked at work by the firewall :-) n didnt really think it wud be suitable to submit an RFC to get it opened lol Edited February 23, 2014 by Rowlett Link to comment Share on other sites More sharing options...
jcain 7 Posted February 23, 2014 Share Posted February 23, 2014 a simple html redirect on the homepage is all you need to do Link to comment Share on other sites More sharing options...
jcain 7 Posted February 23, 2014 Share Posted February 23, 2014 (edited) with all the sniffing and things going on these days, you may want to rethink this. Edited February 23, 2014 by jcain Link to comment Share on other sites More sharing options...
Rowlett 9 Posted February 24, 2014 Author Share Posted February 24, 2014 @@jcain - what do you mean? the port i'm using? Link to comment Share on other sites More sharing options...
Rowlett 9 Posted March 5, 2014 Author Share Posted March 5, 2014 just to update - i've managed to get http://domain.com/ to work as norm but if i go to http://domain.com/mediabrowser goes straight to MB3!! no need to specify port anymore! and MB3 is running fine on port 80 but IIS is still listening on port 80 too without conflicts so everything else on http://domain.com/subdirectory1,2,3 etc still goes to IIS... for added sec i was going to get mb3 running back on a custom random port and us ARR and url rewrite within IIS so that MB3 runs on say port 8881 but when browsing to http://domain.com/mediabrowser it goes to MB3 as expected but without it physically redirecting to :8881 address (so internal redirect) didn't want to risk it just yet as i've got it working and didn't know if it cud potentially effect streaming performance and logging etc... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now