Hey guys, I'm back with another question and its related to my last post.

Hey guys, I’m back with another question and its related to my last post. So No-IP wasn’t working so I went with http://afraid.org instead. I set up my subdomain with the chosen domain, but when I type it in to my browser it doesn’t do anything. I’m really new to all this internet stuff and I’m sure I missed something so if you set up your pi with http://afraid.org pls help. Also I have bonjour installed on my computer and samba on my pi, but regardless of both I cant access the octoprint page via octopi.local, any thoughts?? Any help would be great thanks.

You need to add an A record pointing to your IP address. Select a host name and select a subdomain, add the record, then ping http://whatever.moo.com or whatever you have set up. It should ping the ip address of your local host.

@ThantiK yes I did that, but which ip adress do I use? I used my external ip adress so I hope thats correct. When I type it in to my browser it says cannot resolve domain…or somthin along those lines

Sometimes it takes a minute to propagate. Sometimes more. DNS servers are weird sometimes. If you’re sure your subdomain and host domain are correct, I’d wait it out a little. Maybe check from an external ping tool on the internet to make sure it’s pinging the correct address (same ip as your external address)

@ThantiK ok thanks Ill check it out

ok so I used the ping (hostname) command in the cmd on my pc, and it shows the correct address, but when I go on to the web and type in the exact same subdomain+domain it says “Hmm, we can’t reach this page.
Make sure you’ve got the right web address: http://printrpi.homenet.org
I’m not really sure what I doing wrong here, any more advice?
Edit: Could you try to click that link I put up to see if you can access it? maybe its my internet/router settings?

So that part is set up perfectly. Now - you need to go into your router settings, and specifically open up a port from the outside world (internet) to the internal network which OctoPrint is running on. This includes the port that OctoPrint is running on as well.

Be aware that this opens you up to whatever security vulnerabilities may exist on OctoPrint – though for the most part, OctoPrint drops all the permissions that it can so that even if breached, an attacker wouldn’t be able to go far.

There should be plenty of tutorials on this, and I’d look for one specific to your brand of router (dlink, linksys, etc)

@ThantiK ok thanks again, Ill keep searching

Sorry - didn’t give you a good search to look for – search for something like “port forward linksys”.

@ThantiK oki

If you need access well outside your home I always use a VPN so I don’t open service to whole internet. Some router support VPN server such as Asus

I will suggest that you dont open up default ports, but rather open an external random port you choose, and forward it to the internal port on your OctoPrint. This deffers a huge amount of hack attemps due to the non standard port… Ideally, you should usr a VPN into your own network…

Alternate strategy: use a reverse proxy service that doesn’t require reconfiguring your router or setting up your own VPN. E.g. https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=78823

Thanks to all who helped me out, I finally figured it out and got it running. Thanks!!