将我的域指向crete5文件夹

发布于 2024-10-03 05:45:51 字数 199 浏览 0 评论 0原文

我有一个域名,并在我的 public_html 文件夹下安装了crete5。所以它是 public_html/concrete5.4.1 文件夹。现在我如何将流量重定向到crete5文件夹?也就是说,当用户输入 www.domainname.com 时,它应该显示 public_html/concrete5.4.1 文件夹中的 index.php 页面。

非常感谢。

I have a domain name, and have installed concrete5 under my public_html folder. So it is public_html/concrete5.4.1 folder. Now how would I redirect my traffice to concrete5 folder ? That is when the user types in www.domainname.com it should show the index.php page from public_html/concrete5.4.1 folder.

Thank you very much.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鹊巢 2024-10-10 05:45:51

您想在服务器设置中执行此操作(它与crete5本身无关)。在 Apache 中,它被称为“虚拟主机”(不确定 IIS——我认为它是类似的东西)。
搜索该术语,您会发现许多关于如何执行此操作的教程和说明。
例如:Apache:虚拟主机配置

You want to do this in your server setup (it has nothing to do with concrete5 itself). In Apache, it's called "Virtual Host" (not sure about IIS -- I think it's something similar).
Search around for that term and you will find many many tutorials and instructions on how to do it.
For example: Apache: Virtual Host configuration

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文