将主机名更改为url,在apache中配置
我在 ubuntu 中有一个 apache 服务器,其网络位于 /var/www/myweb 中。我在互联网上有一个域名(fe:http://www.calamaricodomain.com),在我重定向的提供商中到我的静态IP。一切都是正确的,我将 www.calamaricodomain.com 放在浏览器中,我的页面显示,但是浏览器的 URL 更改为我的静态 IP,我不希望这样,我认为可以在 Apache 中配置,任何人都知道在哪里可以改变它吗? 谢谢。
i have in ubuntu an apache server with a web in /var/www/myweb. I have a domain in internet (f.e: http://www.calamaricodomain.com) in the provider i have redirect to my static ip. All is correct, i put www.calamaricodomain.com in webrowser and my page shows, but the URL of the browser change to my static IP, and i do not want that, i think that can be configured in Apache, anyone knows where can change it?
Thx.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个问题是我的 DNS 提供商造成的,是“A 记录”和“CNAME 记录”的问题
This issue was madeing for my dns provider, it was a problem with the 'A records' and 'CNAME records'