将我的域指向crete5文件夹
我有一个域名,并在我的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您想在服务器设置中执行此操作(它与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