Web hosting help  
 

How to redirect a domain

there are several ways to redirect a domain:

the easiest way for users is right in the Redirect Hosting menu; more at www.presmerujeme.cz

other options are

pointing the domain with a DNS record
redirection in the HTML source code (the so-called META refresh)
a redirect with status code 301, using PHP or .htaccess
special routing on the server side (e.g. with a symlink to a directory)

a simple guide to the most commonly used method, a redirect with status code 301/302 using PHP create a file called index.php, paste in the code below and then upload it to the FTP root directory on the server.

<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.nejakacilovadomena.xx");
header("Connection: close");
?>


 
© 2005-2026 TELE3 | all rights reserved | Your IP 216.73.216.116
 we accept payments via Fio bankawe accept payments via Raiffeisenbankwe generate QR paymentsonline payments Visaonline payments MasterCardwe support IPv6DNSSEC domain securityGreenCloud electricity sharingDebian serverUbuntu serverProxmox Virtual Environmentaccredited and certified .CZ domain registrarCisco CCNA certification