1- In the first place we will have to create an index.html file in our computer with the code of the redirection.
2- The file must have a content very similar to the following. It is enough that we copy this example of code that we append below in a plain text editor such as Notepad and then modify it according to our preferences:
`` `
<html>
<head>
<title> My domain </ title>
</ head>
<frameset rows = '100%, *' frameborder = no framespacing = 0 border = 0>
<frame src = "http://mydomain.com/"
name = mainwindow frameborder = no framespacing = 0 marginheight = 0 marginwidth = 0> </ frame>
</ frameset>
<noframes>
Your browser does not support frames. We recommend updating your browser.
</ noframes>
</ html>
`` `
3- This file must be uploaded to the public_html directory of your hosting, which can be accessed from the File Manager of your Cpanel control panel.