1. HTML 코드를 이용하는 방법
<META HTTP-EQUIV="Refresh" Content="0; URL=http://www.cydemy.com">
<!-- or -->
<html>
<head>
<META HTTP-EQUIV="Refresh" Content="3; URL=http://www.cydemy.com">
</head>
<body>
<p>3초 후에 새로운 도메인으로 연결됩니다.</p>
</body>
</html>
2. PHP 코드를 이용하는 방법
<?php
header("Location: http://www.cydemy.com/");
?>
3. 자바스크립트를 이용하는 방법
<html>
<head>
<script language="Javascript" type="text/javascript">
window.location.href="http://www.cydemy.com/"
</script>
</head>
</html>
4. Apache Module
<VirtualHost XXX.XXX.XXX.XXX>
ServerName www.queryshot.com
Redirect / http://www.cydemy.com/
</VirtualHost>
<참고>
http://www.yolinux.com/TUTORIALS/ApacheRedirect.html