The conditions for an addon or subdomain to work are as follows:
1. There must be an index file (eg: index.html or index.php )
2. The file must be configured: .htaccess (it must contain at least a valid directive eg: Options -Indexes)
3. Permissions must be configured correctly (see the end of this document for the correct permissions).
N.B: Provided that these 3 rules above are respected, the subdomain will not be deleted by our security software
In rare cases it is possible that after an update of cPanel, some permissions of a folder have been modified. It is therefore possible to solve this anomaly, restoring the correct permissions to the document_root (document root), simply by performing this short procedure which will then also be available in our frequently asked questions within the 4host customer area:
These are the properties that folders must have for your web hosting to work properly:
- public_html > 0750
- subfolders inside public_html > 0755
- subdomains > 0755
- addon domains > 0750
Also in this case, if we were to find folders that do not comply with these standards, they can be corrected by our control or by our security software or, if necessary, eliminated at any time.
Finally, if you should find that despite all these conditions being met, you are still unable to navigate to the relevant subdomain or additional domain created, please open a support ticket: support@4host.ch