/    Sign up×
Community /Pin to ProfileBookmark

A https domain dosent work with a http iframe!

[https](https://appdenisbedcf.glitch.me/)
[http](http://appdenisbedcf.glitch.me/)
Code:

index.html:

“`
<!DOCTYPE html>
<html>
<head>
<meta http-equiv=”Content-Security-Policy” content=”upgrade-insecure-requests”>
<title>Deniscord</title>
</head>
<body>
<iframe src=”http://denisbed.cf:3001″ style=”position:fixed; top:0; left:0; bottom:0; right:0; width:100%; height:100%; border:none; margin:0; padding:0; overflow:hidden; z-index:999999;”>
Your browser doesn’t support iframes
</iframe>
</body>
</html>
“`

to post a comment
Full-stack DeveloperHTML

8 Comments(s)

Copy linkTweet thisAlerts:
@Denisbg2011gameauthorJun 11.2022 — my point is to use this domain at a cname record at "app.denisbed.cf"
Copy linkTweet thisAlerts:
@sibertJun 11.2022 — > @Denisbg2011game#1644656 my point is to use this domain at a cname record at "app.denisbed.cf"

Have you tried with A-record? And note the propagation time...
Copy linkTweet thisAlerts:
@Denisbg2011gameauthorJun 12.2022 — @sibert#1644658

it dosent work, because its on port 3001 and i want a subdomain which is port 80 but goes to port 3001, and i already have a website at port 80
Copy linkTweet thisAlerts:
@sibertJun 12.2022 — > @Denisbg2011game#1644666 it dosent work, because its on port 3001 and i want a subdomain which is port 80 but goes to port 3001, and i already have a website at port 80

You can proxy all subdomains. Which means that all points externally to 80/443 but internally uses different ports.

https://hosting.go4webdev.org/nginx

If you use PHP, you may need to use PHP-FPM or similar between Nginx/Apache and your site.
Copy linkTweet thisAlerts:
@cootheadJun 12.2022 — Hi there Denisbg2011game,

.replace the [color=red][b]:[/b][/color] here...
<i>
</i>&lt;iframe src="http://denisbed.cf:3001"&gt;&lt;/iframe&gt;

...with a [color=green][b]?[/b][/color] here

<i>
</i>&lt;iframe src="http://denisbed.cf?3001"&gt;&lt;/iframe&gt;

...and the inline CSS really should be placed in an external file

[i]coothead[/i]
Copy linkTweet thisAlerts:
@cootheadJun 12.2022 — Hi there Denisbg2011game,

The page in question does not require [i]JavaScript[/i]

for the links and can be coded like this...

<i>
</i>&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
&lt;meta charset="utf-8"&gt;
&lt;meta name="viewport" content="width=device-width,height=device-height,initial-scale=1"&gt;
&lt;title&gt;DenisLand&lt;/title&gt;
&lt;link rel="stylesheet" href="screen.css" media="screen"&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;DenisLand&lt;/h1&gt;
&lt;p&gt;Welcome to the DenisLand Website!&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/channel/UCeULsf2xr74SnwNDiEhlCzQ"&gt;Youtube&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://denisland.cf"&gt;MC&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://denisland.cf//dl"&gt;Downloads&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://denisland.cf/stuff.html"&gt;Stuff&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/body&gt;
&lt;/html&gt;


[i]coothead[/i]

[b]screen.css[/b]
<i>
</i>body{
background-image: url('https://4kwallpapers.com/images/wallpapers/windows-11-blue-stock-white-background-light-official-3840x2400-5616.jpg'); <br/>
background-size:cover;
background-position: center top;
background-attachment: fixed;
background-repeat: no-repeat;
text-align: center;
}
ul {
padding: 0;
margin: 0;
list-style: none;
}
ul li {
margin: 1em 0;
}
ul a {
display: inline-block;
padding: 1em 1.75em;
border: 2px solid rgba( 0,140,186);
border-radius: 0.75em;
background-color: #fff;
color: #000;
text-decoration: none;
transition: 0.4s;
}
ul a:hover,
ul a:active {
background-color: rgba( 0,140,186);
color: #fff;
}
Copy linkTweet thisAlerts:
@anypropertyforcashJun 14.2022 — Really helpful forum thanks for the replies.
Copy linkTweet thisAlerts:
@wajahi9045Aug 06.2022 — cood foe code
×

Success!

Help @Denisbg2011game spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.8,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...