2.4.4. Website Access Restriction

You can restrict access to specific IP addresses or subnets by:

You can restrict access to visitors from certain countries:

Attention!

When indexing is disabled, the site will disappear from search engine results

Create in root directory of the site file robots.txt with content like this:

User-agent: *
Disallow: /

A more detailed description of the syntax of the robots.txt file can be found on the Internet yourself.

You can display a stub (specific HTML code) instead of a website in several ways:

  • Through parking page.
  • Through .htaccess configure redirection of all requests to a specific file:
    RewriteEngine on
    RewriteCond %{REQUEST_URI} !^/example.php$
    RewriteRule .* /example.php [L]

    Instead example.php specify the file that should open instead of the site.

Content