This error most often occurs for the following reasons:
Most likely, when adding the domain in the hosting control panel, you added not the domain itself but its subdomain www.your_domain. You will need to recreate the domain in the hosting control panel, adding it without “www” at the beginning (see the article Hosting a website).
Check if there is a www.your_domain alias in the hosting control panel.
You can create an alias in the control panel under Web Server (Веб-сервер) — Sites (Сайты). In the table, find the site for which you are creating the alias and click on it. In the Site Management (Управление сайтами) window that opens, click Site Aliases (Синонимы сайта) and add the www.your_domain alias.
If the domain is not delegated to Rucenter DNS servers or you have DNS hosting enabled, make sure there is a CNAME record with «www».
A blank page may indicate that an error occurred during script execution. Try enabling error display (see the article Diagnosing and troubleshooting website script issues).
In this case, the site may display messages such as:
Check the database connection credentials. You can find the correct database connection details in the hosting control panel (see the article Connecting to the MySQL server). The database connection credentials must be specified in your site’s configuration file (see the article Configuration files of popular CMS).
According to the HTTP protocol specification, all server responses — in our case, Apache — are divided into the following groups:
Most common server error codes:
|
Error code |
Cause |
Solution |
||
|---|---|---|---|---|
|
The name of the site’s index file does not match the index file names defined in the server configuration, and directory content display is disabled with the Indexes option. Example: The index file is default.html, but the server configuration specifies:
in the server configuration (or in the .htaccess file) the directory is prohibited from displaying the contents of the directory:
|
Add default.html to the index file list by adding the following line to the beginning of the .htaccess file: DirectoryIndex default.html |
|||
|
Missing execution permissions for a file in the cgi directory. Example: You uploaded /home/[LOGIN]/Your_domain/cgi/test.cgi but did not set execution rights (u+x). Accessing http://Your_domain/cgi.bin/test.cgi gives a 403 error |
Change file permissions via FTP or SSH with:
|
|||
|
The requested file is missing, or the server cannot locate it. |
1. Use the hosting control panel to check server logs. 2. Upload missing files or fix broken links on the site. |
|||
|
500 Internal Server Error |
The .htaccess file contains directives that cannot be processed by the web server. Example: It includes mod_rewrite directives, but the mod_rewrite module is disabled. |
1. Use the hosting control panel to check server logs. 2. Enable the required module in Web Server Management (Управление веб-сервером) in the hosting control panel. |
||
|
Your script fails during execution. Example: A Perl script cannot find a required Perl module. |
1. Use the hosting control panel to check server logs. 2. Install missing modules or fix script errors. |
For more details on the HTTP protocol and web server response codes, see RFC 2616.
If you experience website issues, the first step is to check your site’s log files for errors.
Descriptions of errors that may occur during PHP script execution are available in the article Diagnosing and troubleshooting website script issues.
Unstable site performance may be related to exceeding the RAM limit. A detailed guide on checking and reducing RAM usage can be found in the article Hosting resource usage.
By default, UTF-8 encoding is used on the hosting. You can change the encoding in the hosting control panel under: Sites (Сайты) — your_domain — Settings (настройки) — Web server (Веб-сервер) — Site encoding parameter (Кодировка сайта).