How to embed dynmap on https website
Guys I’m gonna have an aneurism trying to figure this out. I’ve seen it done so I know it’s possible. I want to embed my dynmap on my https website. But I don’t want to spend 6 hours reading guides and learning how to use a web server like Apache. Is there a simpler solution to this? I’m sick of reading guides and seeing “this guide assumes you know how to use a webserver, know html, know 16 other programming languages and are a hacker genius.” I just want to get my dynmap on my website… the problem is dynmap is http and my website is https, and embedding html code I’ve found online does not work it just either shows a blank white screen or says URL invalid. Help😭
15 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by connor1bane1#0
Also how do I get the public URL to work in the dynmap config? I would like for people to type /dynmap url and see something like mywebsite.com/dynmap and just be able to click that and pull it up. H4lp
You cant use http iframes on a https site so you need to proxy your dynmap so it is also available via https
Ok and forgive me for sounding like a dumbass I just have limited IT knowledge, by proxy does that mean I have to use a webserver such as Apache?
Yeah apache or nginx something that can handle https requests and forward them to as http to dynmap
So basically what you’re saying is I have to bite the bullet and learn how to do this
And there’s no simpler way
i mean you could (NOT RECOMMENDED) browse your website via http then the browser wouldnt complain
Yeah I’d rather not force people to do that plus I don’t think Google sites can support something like that, but thanks anyway I’ll bite the bullet and learn how to use Apache
But do you know how the public url works? I tried putting the url that will be available once I get my site working with the dynmap but it keeps saying url is not set up when I type in the command, and yes I edited the config with the url and restarted the server
i have no clue what you mean
like you setup a domain for dynmap but it doesnt work?
In the config there is a setting for “public url” so people can type /dynmap url
I changed the example domain in the config to my domain https://mywebsite.com/map and it did nothing. Not sure if I’m even doing it right
you'll first have to setup your webserver to even know about that url
aka, configuring apache
(or nginx)
So editing the dynmap config to set up the public url does nothing unless the webserver is set up properly?
yep
Well thanks for the help. I’ll go ahead and close since it sounds like there are no workaround newbie solutions and I have to learn how to configure the webserver
!close
post closed!
The post/thread has been closed!
Requested by connor1bane1#0