Thanks for everyone's help.
But how should I do if all websites are in different server.
I want the domain name use the same name like <a style='text-decoration: underline;' href="http://www.xxxx.com/tw" target="_blank">www.xxxx.com/tw</a> ,www.xxxx.com/jp , <a style='text-decoration: underline;' href="http://www.xxxx.com/us" target="_blank">www.xxxx.com/us</a>
First, I make three folders like tw/jp/us on the server that who using <a style='text-decoration: underline;' href="http://www.xxxx.com." target="_blank">www.xxxx.com.</a>
2nd, Redirect <a style='text-decoration: underline;' href="http://www.xxxx.com.tw" target="_blank">www.xxxx.com.tw</a> to <a style='text-decoration: underline;' href="http://www.xxxx.com/tw" target="_blank">www.xxxx.com/tw</a>
And then... how should I do if I dont use frame or use rewriterule like on Apache?
----- Kristofer Gafvert wrote: -----
Hello,
Set up host headers in IIS (if you plan on having all websites on the same
server)
Right click the Web Site you would like to redirect (in you example
<a style='text-decoration: underline;' href="http://www.ibm.com.tw" target="_blank">www.ibm.com.tw</a>), and click Properties.
Click on the "Home Directory" tab.
Select "A redirection to a URL", and type <a style='text-decoration: underline;' href="http://www.ibm.com/tw" target="_blank">www.ibm.com/tw</a>
Make other changes if necessary.
--
Regards,
Kristofer Gafvert
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a> - FAQ and Tutorials for Windows Server 2003
"ozztw" <ivanozz DeleteThis @yam.com> wrote in message
news:50AE884C-BDF9-421B-8B9B-810A6CAAF628@microsoft.com...
> Dear All,
> I have some questions about domain name rewrite.
> If I have three domain name as below:
<font color=purple> > <a style='text-decoration: underline;' href="http://www.xxx.com.tw</font" target="_blank">www.xxx.com.tw</font</a>>
<font color=purple> > <a style='text-decoration: underline;' href="http://www.xxx.com.jp</font" target="_blank">www.xxx.com.jp</font</a>>
<font color=purple> > <a style='text-decoration: underline;' href="http://www.xxx.com</font" target="_blank">www.xxx.com</font</a>>
> and they are in different server.
> When users type <a style='text-decoration: underline;' href="http://www.xxx.com.tw," target="_blank">www.xxx.com.tw,</a> the system will auto redirect to
<a style='text-decoration: underline;' href="http://www.xxx.com/tw" target="_blank">www.xxx.com/tw</a>
> How should I do on IIS server?
> (e.g <a style='text-decoration: underline;' href="http://www.ibm.com.tw" target="_blank">www.ibm.com.tw</a> will auto redirect to <a style='text-decoration: underline;' href="http://www.ibm.com/tw" target="_blank">www.ibm.com/tw</a>)<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: how to redirect www.xxx.com.tw to www.xxx.com/tw?