'How to access root from subdomain
Let's say I've got my ErrorDocuments in my root folder (files).
files
|
|----- .htaccess
|
|----- index.html
|
|----- 404.html
|
|----- 403.html
|
|----- ...
|
|
|----- abc ----- index.html
|
|------- .htaccess
My files/.htaccess
ErrorDocument 401 /401.html
ErrorDocument 403 /403.html
ErrorDocument 404 /404.html
ErrorDocument 500 /500.html
My provider does automatically link domain.com/abc to abc.domain.com.
But if I get a error on my subdomain my 404.html doesn't show up because the webroot for abc.domain.com is domain.com/abc and not domain.com.
How can I configure my webspace so I can access my root without hardcoding my domain.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
