This article provides a guide for how to setup URL forwarding HTML page in cPanel shared hosting account.
How to Setup URL Forwarding HTML Page in cPanel
To setup a URL forwarding HTML page in cPanel, follow the steps below:
- Login to cPanel.
- Navigate to the "File Manager" (cPanel Home -> Files -> File Manager).
- From the Document Root, click the "+ File" button in top-left corner.
- Name the file, "index.html".
- Click to edit the file, "index.html".
- Enter the following code in the file editor:
<html> <head> <meta http-equiv="refresh" content="5; URL=your-destination-url" /> </head> <body> <p>If you are not redirected in five seconds, <a href="your-destination-url">click here</a>.</p> </body> </html>
- Replace both instances of "your-destination-url" with your desired URL destination (i.e. https://en.wikipedia.org)
- Click "Save" to save the file.
- Now, you can visit the address in your browser to verify your URL forwarding HTML page was successfully created.
Conclusion
You now know how to setup URL forwarding HTML page in cPanel.