Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Redirect url from non standard port to standard port

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Related Topics:
Redirect a website with non-standard port to port 80 - Hi there, I´d like to allow users to enter a website which is on port 100, with having to specify the port number. Eg, instead of redirect the traffic to (or another name.) Is this through IIS? ..

Changing to non-standard port - I run Apache and IIS on the same webserver (Win2K Srv) - apache for PHP and IIS for ASP. I have put up a data access page (Access XP) on that server and was able to get it to work using IIS on port 80. However, I normally run Apache on..

SSL on non-standard port question - I have one (1) public IP address running through a NAT router, and three (3) private network sites set up on my server: --> default - LAN IP: all - SSL: 443 --> - LAN IP: - SSL: 444 --> newsite - LAN IP: -..

suggestions for a non-standard listening port ? - Hi, Im hosting IIS on a non standard port. Can anyone suggest an incoming port number that wont get in the way of anything else ? i.e - so it does not interfere with any other incoming traffic - a port that the majority of people behind firewalls may..

Redirect Exchange 2003 OWA on Port 80 to Port 443 - I've been with sessions that connect on port 80 to our Outlook Web Access (Windows Server 2003 & Exchange 2003) to HTTPS on Port 443. I've tried changing the custom error message for 403.4 on the Exchange VS to point to a URL..
Next:  IIS: IIS Windows Integrated Auth works with IP and not name  
Author Message
Josh Colombo

External


Since: Jan 03, 2008
Posts: 3



(Msg. 1) Posted: Thu Jan 03, 2008 1:15 pm
Post subject: Redirect url from non standard port to standard port
Archived from groups: microsoft>public>inetserver>iis (more info?)

I've done a little searching, but haven't found something that will do what
I'd like, or even know if I can do what I'd like.

I have been running IIS 6 on port 8080, users have been accessing the site
without any problems. I would like to run the server on the standard port 80
now. The problem I have is that there are links out to the site with the
port 8080 as part of the address/link. What I would like to do is have IIS
or another app intercept the url, strip the port 8080 info, and spit back the
url. For example, the user enters the following url:
http://www.mywebsite.com:8080/directory/file.htm

IIS or whatever strips the :8080, and spits back the following page/url to
the user
http://www.mywebsite.com/directory/file.htm

Any suggestions or recommendations on how I might go about doing this?

Thanks in advance
Josh

 >> Stay informed about: Redirect url from non standard port to standard port 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 2) Posted: Thu Jan 03, 2008 6:06 pm
Post subject: Re: Redirect url from non standard port to standard port [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

My understanding of your question is that you want to show the new URL to
the user so they start using that URL instead. You can do this in IIS by
setting up a redirection.

Create two websites, one for port 80 and one for 8080. For the 8080 website,
set up a redirection with the following steps:

- In IIS Manager, right click the website and click Properties.
- Click on the Home Directory tab
- Select "A redirection to a URL" and in the "Redirect to" textbox write:
http://www.newdomain.com$V$Q
- Check the boxes "The exact URL entered above" and "A permanent redirection
for this resource"

More information can be found in the following article, see section
"Redirect from the old domain name to the new domain name":
http://www.gafvert.info/iis/article/questions_0737.htm

Hope this helps.

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


"Josh Colombo" <jlegacy.RemoveThis@surrealmirageInolikespam.com> skrev i meddelandet
news:CD863171-429D-43EF-89AF-ED497CCC7270@microsoft.com...
> I've done a little searching, but haven't found something that will do
> what
> I'd like, or even know if I can do what I'd like.
>
> I have been running IIS 6 on port 8080, users have been accessing the site
> without any problems. I would like to run the server on the standard port
> 80
> now. The problem I have is that there are links out to the site with the
> port 8080 as part of the address/link. What I would like to do is have
> IIS
> or another app intercept the url, strip the port 8080 info, and spit back
> the
> url. For example, the user enters the following url:
> http://www.mywebsite.com:8080/directory/file.htm
>
> IIS or whatever strips the :8080, and spits back the following page/url to
> the user
> http://www.mywebsite.com/directory/file.htm
>
> Any suggestions or recommendations on how I might go about doing this?
>
> Thanks in advance
> Josh

 >> Stay informed about: Redirect url from non standard port to standard port 
Back to top
Login to vote
Josh Colombo

External


Since: Jan 03, 2008
Posts: 3



(Msg. 3) Posted: Thu Jan 03, 2008 6:06 pm
Post subject: Re: Redirect url from non standard port to standard port [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks Kristofer,

I believe that will work. I've made the changes on the server, and will see
if I run into any issues.

One quick question, some of the links have sub-domains, is there a way to
parse the sub-domains and pass that on to the new website as well?

Thanks!
Josh

"Kristofer Gafvert" wrote:

> Hi,
>
> My understanding of your question is that you want to show the new URL to
> the user so they start using that URL instead. You can do this in IIS by
> setting up a redirection.
>
> Create two websites, one for port 80 and one for 8080. For the 8080 website,
> set up a redirection with the following steps:
>
> - In IIS Manager, right click the website and click Properties.
> - Click on the Home Directory tab
> - Select "A redirection to a URL" and in the "Redirect to" textbox write:
> http://www.newdomain.com$V$Q
> - Check the boxes "The exact URL entered above" and "A permanent redirection
> for this resource"
>
> More information can be found in the following article, see section
> "Redirect from the old domain name to the new domain name":
> http://www.gafvert.info/iis/article/questions_0737.htm
>
> Hope this helps.
>
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> "Josh Colombo" <jlegacy DeleteThis @surrealmirageInolikespam.com> skrev i meddelandet
> news:CD863171-429D-43EF-89AF-ED497CCC7270@microsoft.com...
> > I've done a little searching, but haven't found something that will do
> > what
> > I'd like, or even know if I can do what I'd like.
> >
> > I have been running IIS 6 on port 8080, users have been accessing the site
> > without any problems. I would like to run the server on the standard port
> > 80
> > now. The problem I have is that there are links out to the site with the
> > port 8080 as part of the address/link. What I would like to do is have
> > IIS
> > or another app intercept the url, strip the port 8080 info, and spit back
> > the
> > url. For example, the user enters the following url:
> > http://www.mywebsite.com:8080/directory/file.htm
> >
> > IIS or whatever strips the :8080, and spits back the following page/url to
> > the user
> > http://www.mywebsite.com/directory/file.htm
> >
> > Any suggestions or recommendations on how I might go about doing this?
> >
> > Thanks in advance
> > Josh
>
>
 >> Stay informed about: Redirect url from non standard port to standard port 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 4) Posted: Sat Jan 05, 2008 5:08 pm
Post subject: Re: Redirect url from non standard port to standard port [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

I do not understand your question completely. Do you want to redirect
subdomain.mywebsite.com:8080 to www.mywebsite.com? Or do you want to
redirect it to subdomain.mywebsite.com?

How many subdomains are we talking about?

You cannot parse the subdomain part from the domain name by using IIS
configuration. But there may be simple ways to do this, depending on what
you want to do, which is not clear. If you have a large number of subdomains
and a complex setup it may be easier to use a tool such as Isape-rewrite:

http://www.isapirewrite.com/

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


"Josh Colombo" <jlegacy.RemoveThis@surrealmirageInolikespam.com> skrev i meddelandet
news:97108B2F-5E58-471E-86CB-66FE092C3287@microsoft.com...
> Thanks Kristofer,
>
> I believe that will work. I've made the changes on the server, and will
> see
> if I run into any issues.
>
> One quick question, some of the links have sub-domains, is there a way to
> parse the sub-domains and pass that on to the new website as well?
>
> Thanks!
> Josh
>
> "Kristofer Gafvert" wrote:
>
>> Hi,
>>
>> My understanding of your question is that you want to show the new URL to
>> the user so they start using that URL instead. You can do this in IIS by
>> setting up a redirection.
>>
>> Create two websites, one for port 80 and one for 8080. For the 8080
>> website,
>> set up a redirection with the following steps:
>>
>> - In IIS Manager, right click the website and click Properties.
>> - Click on the Home Directory tab
>> - Select "A redirection to a URL" and in the "Redirect to" textbox write:
>> http://www.newdomain.com$V$Q
>> - Check the boxes "The exact URL entered above" and "A permanent
>> redirection
>> for this resource"
>>
>> More information can be found in the following article, see section
>> "Redirect from the old domain name to the new domain name":
>> http://www.gafvert.info/iis/article/questions_0737.htm
>>
>> Hope this helps.
>>
>> --
>> Regards,
>> Kristofer Gafvert
>> http://www.gafvert.info/iis/ - IIS Related Info
>>
>>
>> "Josh Colombo" <jlegacy.RemoveThis@surrealmirageInolikespam.com> skrev i meddelandet
>> news:CD863171-429D-43EF-89AF-ED497CCC7270@microsoft.com...
>> > I've done a little searching, but haven't found something that will do
>> > what
>> > I'd like, or even know if I can do what I'd like.
>> >
>> > I have been running IIS 6 on port 8080, users have been accessing the
>> > site
>> > without any problems. I would like to run the server on the standard
>> > port
>> > 80
>> > now. The problem I have is that there are links out to the site with
>> > the
>> > port 8080 as part of the address/link. What I would like to do is have
>> > IIS
>> > or another app intercept the url, strip the port 8080 info, and spit
>> > back
>> > the
>> > url. For example, the user enters the following url:
>> > http://www.mywebsite.com:8080/directory/file.htm
>> >
>> > IIS or whatever strips the :8080, and spits back the following page/url
>> > to
>> > the user
>> > http://www.mywebsite.com/directory/file.htm
>> >
>> > Any suggestions or recommendations on how I might go about doing this?
>> >
>> > Thanks in advance
>> > Josh
>>
>>
 >> Stay informed about: Redirect url from non standard port to standard port 
Back to top
Login to vote
Josh Colombo

External


Since: Jan 03, 2008
Posts: 3



(Msg. 5) Posted: Sat Jan 05, 2008 5:08 pm
Post subject: Re: Redirect url from non standard port to standard port [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I would like to redirect subdomain.mywebsite.com:8080 to
subdomain.mywebsite.com. I have only 2 or 3 subdomains, and it'd probably
just be easiest to just let everything redirect to a single subdomain by
including it in the IIS redirection http://www.subdomain.mywebsite.com$V$Q.

Thanks for all your help Kristofer.

Josh


"Kristofer Gafvert" wrote:

> Hi,
>
> I do not understand your question completely. Do you want to redirect
> subdomain.mywebsite.com:8080 to www.mywebsite.com? Or do you want to
> redirect it to subdomain.mywebsite.com?
>
> How many subdomains are we talking about?
>
> You cannot parse the subdomain part from the domain name by using IIS
> configuration. But there may be simple ways to do this, depending on what
> you want to do, which is not clear. If you have a large number of subdomains
> and a complex setup it may be easier to use a tool such as Isape-rewrite:
>
> http://www.isapirewrite.com/
>
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> "Josh Colombo" <jlegacy DeleteThis @surrealmirageInolikespam.com> skrev i meddelandet
> news:97108B2F-5E58-471E-86CB-66FE092C3287@microsoft.com...
> > Thanks Kristofer,
> >
> > I believe that will work. I've made the changes on the server, and will
> > see
> > if I run into any issues.
> >
> > One quick question, some of the links have sub-domains, is there a way to
> > parse the sub-domains and pass that on to the new website as well?
> >
> > Thanks!
> > Josh
> >
> > "Kristofer Gafvert" wrote:
> >
> >> Hi,
> >>
> >> My understanding of your question is that you want to show the new URL to
> >> the user so they start using that URL instead. You can do this in IIS by
> >> setting up a redirection.
> >>
> >> Create two websites, one for port 80 and one for 8080. For the 8080
> >> website,
> >> set up a redirection with the following steps:
> >>
> >> - In IIS Manager, right click the website and click Properties.
> >> - Click on the Home Directory tab
> >> - Select "A redirection to a URL" and in the "Redirect to" textbox write:
> >> http://www.newdomain.com$V$Q
> >> - Check the boxes "The exact URL entered above" and "A permanent
> >> redirection
> >> for this resource"
> >>
> >> More information can be found in the following article, see section
> >> "Redirect from the old domain name to the new domain name":
> >> http://www.gafvert.info/iis/article/questions_0737.htm
> >>
> >> Hope this helps.
> >>
> >> --
> >> Regards,
> >> Kristofer Gafvert
> >> http://www.gafvert.info/iis/ - IIS Related Info
> >>
> >>
> >> "Josh Colombo" <jlegacy DeleteThis @surrealmirageInolikespam.com> skrev i meddelandet
> >> news:CD863171-429D-43EF-89AF-ED497CCC7270@microsoft.com...
> >> > I've done a little searching, but haven't found something that will do
> >> > what
> >> > I'd like, or even know if I can do what I'd like.
> >> >
> >> > I have been running IIS 6 on port 8080, users have been accessing the
> >> > site
> >> > without any problems. I would like to run the server on the standard
> >> > port
> >> > 80
> >> > now. The problem I have is that there are links out to the site with
> >> > the
> >> > port 8080 as part of the address/link. What I would like to do is have
> >> > IIS
> >> > or another app intercept the url, strip the port 8080 info, and spit
> >> > back
> >> > the
> >> > url. For example, the user enters the following url:
> >> > http://www.mywebsite.com:8080/directory/file.htm
> >> >
> >> > IIS or whatever strips the :8080, and spits back the following page/url
> >> > to
> >> > the user
> >> > http://www.mywebsite.com/directory/file.htm
> >> >
> >> > Any suggestions or recommendations on how I might go about doing this?
> >> >
> >> > Thanks in advance
> >> > Josh
> >>
> >>
>
>
 >> Stay informed about: Redirect url from non standard port to standard port 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 6) Posted: Sat Jan 05, 2008 5:08 pm
Post subject: Re: Redirect url from non standard port to standard port [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You can use the steps i have provided earlier. I don't know of any
configuration in IIS you can use to make only one configuration that works
for all domains, as far as i know IIS 6 configuration does not have such
advanced features. Atleast not that i can remember right now.

I hope you get this working (and sorry for my late reply, i had a few other
things to do).

Cheers and good luck with your website!

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


"Josh Colombo" <jlegacy RemoveThis @surrealmirageInolikespam.com> skrev i meddelandet
news:D71A2BF6-4AF4-483D-8875-B98A7B61C102@microsoft.com...
>I would like to redirect subdomain.mywebsite.com:8080 to
> subdomain.mywebsite.com. I have only 2 or 3 subdomains, and it'd probably
> just be easiest to just let everything redirect to a single subdomain by
> including it in the IIS redirection
> http://www.subdomain.mywebsite.com$V$Q.
>
> Thanks for all your help Kristofer.
>
> Josh
>
>
> "Kristofer Gafvert" wrote:
>
>> Hi,
>>
>> I do not understand your question completely. Do you want to redirect
>> subdomain.mywebsite.com:8080 to www.mywebsite.com? Or do you want to
>> redirect it to subdomain.mywebsite.com?
>>
>> How many subdomains are we talking about?
>>
>> You cannot parse the subdomain part from the domain name by using IIS
>> configuration. But there may be simple ways to do this, depending on what
>> you want to do, which is not clear. If you have a large number of
>> subdomains
>> and a complex setup it may be easier to use a tool such as Isape-rewrite:
>>
>> http://www.isapirewrite.com/
>>
>> --
>> Regards,
>> Kristofer Gafvert
>> http://www.gafvert.info/iis/ - IIS Related Info
>>
>>
>> "Josh Colombo" <jlegacy RemoveThis @surrealmirageInolikespam.com> skrev i meddelandet
>> news:97108B2F-5E58-471E-86CB-66FE092C3287@microsoft.com...
>> > Thanks Kristofer,
>> >
>> > I believe that will work. I've made the changes on the server, and
>> > will
>> > see
>> > if I run into any issues.
>> >
>> > One quick question, some of the links have sub-domains, is there a way
>> > to
>> > parse the sub-domains and pass that on to the new website as well?
>> >
>> > Thanks!
>> > Josh
>> >
>> > "Kristofer Gafvert" wrote:
>> >
>> >> Hi,
>> >>
>> >> My understanding of your question is that you want to show the new URL
>> >> to
>> >> the user so they start using that URL instead. You can do this in IIS
>> >> by
>> >> setting up a redirection.
>> >>
>> >> Create two websites, one for port 80 and one for 8080. For the 8080
>> >> website,
>> >> set up a redirection with the following steps:
>> >>
>> >> - In IIS Manager, right click the website and click Properties.
>> >> - Click on the Home Directory tab
>> >> - Select "A redirection to a URL" and in the "Redirect to" textbox
>> >> write:
>> >> http://www.newdomain.com$V$Q
>> >> - Check the boxes "The exact URL entered above" and "A permanent
>> >> redirection
>> >> for this resource"
>> >>
>> >> More information can be found in the following article, see section
>> >> "Redirect from the old domain name to the new domain name":
>> >> http://www.gafvert.info/iis/article/questions_0737.htm
>> >>
>> >> Hope this helps.
>> >>
>> >> --
>> >> Regards,
>> >> Kristofer Gafvert
>> >> http://www.gafvert.info/iis/ - IIS Related Info
>> >>
>> >>
>> >> "Josh Colombo" <jlegacy RemoveThis @surrealmirageInolikespam.com> skrev i
>> >> meddelandet
>> >> news:CD863171-429D-43EF-89AF-ED497CCC7270@microsoft.com...
>> >> > I've done a little searching, but haven't found something that will
>> >> > do
>> >> > what
>> >> > I'd like, or even know if I can do what I'd like.
>> >> >
>> >> > I have been running IIS 6 on port 8080, users have been accessing
>> >> > the
>> >> > site
>> >> > without any problems. I would like to run the server on the
>> >> > standard
>> >> > port
>> >> > 80
>> >> > now. The problem I have is that there are links out to the site
>> >> > with
>> >> > the
>> >> > port 8080 as part of the address/link. What I would like to do is
>> >> > have
>> >> > IIS
>> >> > or another app intercept the url, strip the port 8080 info, and spit
>> >> > back
>> >> > the
>> >> > url. For example, the user enters the following url:
>> >> > http://www.mywebsite.com:8080/directory/file.htm
>> >> >
>> >> > IIS or whatever strips the :8080, and spits back the following
>> >> > page/url
>> >> > to
>> >> > the user
>> >> > http://www.mywebsite.com/directory/file.htm
>> >> >
>> >> > Any suggestions or recommendations on how I might go about doing
>> >> > this?
>> >> >
>> >> > Thanks in advance
>> >> > Josh
>> >>
>> >>
>>
>>
 >> Stay informed about: Redirect url from non standard port to standard port 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]