Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to configure my website to specific url with specific port.

For example:

http://www.xxx.com redirect to http://www.yyy.com:9090

I had configure http redirect module in IIS 7 manager but it's always in www.yyy.com without any specific port. Could anyone help me?

share|improve this question

1 Answer

If you will write "http://www.xxx.com" in a browser the default port used will always be 80.

For this question, I will suggest you to add a new website for this host on port 80 where you add a redirect in a page to the final page (the other port).

share|improve this answer
My problem is now when i get in to www.xxx.com, it only redirect me to www.yyy.com. What I expected is redirect to www.yyy.com:9090. – Kelvin Go Dec 26 '12 at 1:59
please use meta refresh tag in a htm page to redirect to a address: <meta http-equiv="refresh" content="0;url=yyy.com:2222"; /> – Paul Dec 26 '12 at 6:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.