将域映射到自定义URL [英] Map domain to custom url
问题描述
我想将域名映射到自定义网址
例如我有www.abc.com / example我希望将它映射到www.example.com
如果有办法处理这种情况,请告诉我。
注意:/ example is没有任何实际位置
将会有更多的url参数附加,这些参数应该可以在映射的域中访问
ie
www.abc.com/example/product应该可以访问www.example.com/product
我正在寻找对于Windows IIS以及Tomcat / Apache服务器上的解决方案。
谢谢
我尝试了什么:
我尝试过使用重定向但没有得到解决方案。
< blockquote>这与代码无关。它与在IIS中设置适当的DNS别名和一些配置有关。
谷歌的 IIS dns别名http重定向 [ ^ ]以获取更多信息。
>
Hi,
I'm looking to map domain to a custom url
For Example I have the www.abc.com/example I want this to be mapped to www.example.com
Let me know in case there is any way to handle such a scenario.
Note : /example is not any physical location
There will be more url parameter appended which should be accessible in the mapped domain
i.e.
www.abc.com/example/product should be accessble using www.example.com/product
I'm looking for the solution on Windows IIS as well as Tomcat/Apache servers.
Thanks
What I have tried:
I have tried using redirects but not got solution.
This has nothing to do with code. It has everything to do with setting up appropriate DNS aliases and a little configuration in IIS.
Google for "iis dns alias http redirection[^]" for more information.
这篇关于将域映射到自定义URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!