How to configure URL Frame in cPanel

URL Frame is an alternative to cPanel’s URL Redirect feature. It allows you to fetch and display content from another URL in a frame when a user visits a designated URL. Unlike URL Redirection, the browser’s address bar will continue to show your domain name. To configure URL Frame in cPanel, you’ll need to edit the HTML file the user will visit manually. 

How to configure the URL Frame in cPanel

1) Log in to your HostPapa Dashboard.


2) Click on My cPanel or My WordPress.


3) Select Files > File Manager from the cPanel menu.


4) Right-click your site’s index file (or the page file into which you wish to add the URL frame) and select Edit from the context menu.

File Manager

5) Enter the following code into the page:

 <title> Site Title </title> 
 body {
     margin: 0;
     padding: 0;
 body, iframe {
     width: 100%;
     height: 100%;
 iframe {
     border: 0;
 <iframe src=""/>

6) Be sure to change to the URL you wish to display in the frame.

7) Save the file and test the URL in your web browser.

If you need help with your HostPapa account, please open a support ticket from your dashboard.

Related Articles

Get online with our affordable web hosting

Get online with our affordable web hosting

Learn more now
HostPapa Mustache