我已經Ghost安裝在我的站點根鬼博客,並安裝在一個子域的另一個實例。 Ghost與Softaculous一起安裝,這兩個實例都正常工作。 (單獨的數據庫和鬼影的情況。)子域重新引導到安裝在網站根目錄
然而,其他子域現在回到鬼404頁,而不是顯示其內容。
我的文件結構如下:
public_html
├── subdomain - This displays the ghost 404 page from my root installation
│ ├── index.html - I want it to display this index.html file
│ └── assets
├── ghost subdomain - This is working correctly
│ ├── content
│ ├── core
│ └── etc
├── content
├── core
├── config.js
├── Gruntfile.js
└── etc
我的主要網站的config.js
文件製作設置是這樣的:
production: {
url: 'http://courtneyspurgeon.com',
mail: { removed }
},
database: {
client: 'mysql',
connection: {
host: 'localhost'
user: 'removed'
password: 'removed'
database: 'removed'
charset: 'utf8',
insecureAuth: true,
socketPath: '/tmp/mysql.sock',
},
debug: false
},
server: {
// Host to be passed to node's `net.Server#listen()`
host: '0.0.0.0',
// Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT`
port: '65506'
}
},
我懷疑我需要以某種方式改變服務器的設置,或者該範圍的一部分,但我不知道如何。
如果有幫助,我的主要部位是:http://courtneyspurgeon.com/(運行鬼)
,這是不工作的子域的例子:(不運行鬼,而是返回父站點的404含量)http://blog.courtneyspurgeon.com/
我歡迎關於我應該是什麼文件或設置在,即使你沒有一個明確的答案的建議。
嘗試一些驅魔,我聽說它有助於防止鬼:P – MightyPork