如何将域指向共享主机上的 laravel 安装文件夹
How to point a domain to a laravel installation folder on shared hosting
我已经通过 SSH 终端在 public_html/NitsEditor
文件夹内的共享主机上安装了 Laravel 5.3,主机的核心域有所不同,即 "noeticitservices.com" 并且其中安装了 wordpress , 所以 laravel 主页出现在 noeticitservices.com/NitsEditor/public/
我有一个域名"nitseditor.com",我想在这个域名下拥有public/index.php
。
我已经将域的 DNS 配置为我的共享主机的 IP 地址,并通过 cpanel
添加了域,同时我可以看到有一个名为 public_html/nitseditor.com
的文件夹已创建。
请指导我如何实现。
通过 cpanel
创建域时设置路径 public_html/NitsEditor/public/
我已经通过 SSH 终端在 public_html/NitsEditor
文件夹内的共享主机上安装了 Laravel 5.3,主机的核心域有所不同,即 "noeticitservices.com" 并且其中安装了 wordpress , 所以 laravel 主页出现在 noeticitservices.com/NitsEditor/public/
我有一个域名"nitseditor.com",我想在这个域名下拥有public/index.php
。
我已经将域的 DNS 配置为我的共享主机的 IP 地址,并通过 cpanel
添加了域,同时我可以看到有一个名为 public_html/nitseditor.com
的文件夹已创建。
请指导我如何实现。
通过 cpanel
创建域时设置路径 public_html/NitsEditor/public/