How to Set up URL Frame Configuration in cPanel

August 23, 2023 / cPanel & WHM

In this article, we will explain how to set up URL frame configuration in cPanel.

Follow these steps to set up URL frame configuration in cPanel :

  1. Log into your “cPanel Account.”
    cPanel Account
  2. From the “Files” menu, click on the “File Manager” sub-option.
    File Manager
  3. Click with the right button on your site’s index file (or the specific page file where you want to include the URL frame), then choose the “Edit” option from the menu.
    eDIT
  4. Enter the following Code-
    <html>
     <head>
     <title> Site Title </title> 
     </head>
     <style>
    body {
        margin: 0;
        padding: 0;
    }
    body, iframe {
          width: 100%;
          height: 100%;
    }
    iframe {
        border: 0;
    }
    </style>
    <body>
    <iframe src="https://entertheURLhere.com"/>
    </body>
    </html>
  5. Make sure to replace “entertheURLhere.com” with the URL you want to appear in the frame.
  6. Save the file and test the URL using your web browser.

In this way, you can set up URL Frame configuration in cPanel. For information on cPanel, visit our knowledge base section.

Spread the love