1. Home
  2. Knowledge Base
  3. cPanel
  4. Settings
  5. How to set up URL Frame in cPanel?

How to set up URL Frame in cPanel?

Step 1: Login to your cPanel account.
Step 2: Navigate to the section Files > File Manager menu.
Step 3: Move to the document root option for your domain you need to set up URL frame.
Step 4: Once you are in the root directory of your domain, create an index.html file by clicking on ‘File’ option.
Step 5: Right-click on the file and select ‘Edit’.
Step 6: Insert the code for setting up URL Frame for the domain.

<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=”http://example.com”/>
</body>
</html>

Step 7: Click on the ‘Save changes’ option to complete the process.

Click here to view this article as Oryon knowledge base video tutorial playlist.

Related Articles