我想将域名映射到自定义网址 例如我有www.abc / example我希望将它映射到www.example 如果有办法处理这种情况,请告诉我。 注意:/ example is没有任何实际位置 将会有更多的url参数附加,这些参数应该可以在映射的域中访问 ie www.abc/example/product应该可以访问www.example/product 我正在寻找对于Windows IIS以及Tomcat / Apache服务器上的解决方案。 谢谢 我尝试了什么: 我尝试过使用重定向但没有得到解决方案。
解决方案这与代码无关。它与在IIS中设置适当的DNS别名和一些配置有关。 谷歌的 IIS dns别名http重定向 [ ^ ]以获取更多信息。
Hi, I'm looking to map domain to a custom url For Example I have the www.abc/example I want this to be mapped to www.example 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/example/product should be accessble using www.example/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
发布评论