I have a fresh install of nextcloud running on my raspberry pi at home, I just purchased a domain name and Iām trying to get it all set up. From my domain name control panel if I select āURL redirect recordā with the correct settings and the option of āunmaskedā everything works as expected, but I donāt want my IP address displaying in the address bar, so I leave everything the same except change the āunmaskedā option to āmaskedā and I get the error in chrome āRefused to display āhttp://MY_IP_ADD/index.php/loginā in a frame because it set āX-Frame-Optionsā to āSameorigināā
I have already added the domain Cname and IP in the trusted domains, Iām really at a loss here as I donāt know how to SAFELY correct for this, I understand this is a security feature so I donāt want to disable it, but I would like to know how to allow for a masked redirect from my domain name? If Iāve left out any important info please feel free to ask, I will list some of my setup specs below. Thank you for taking the time to read this
Why donāt you set the DNS entry to your IP directly (if it is a dynamic ip, your provider perhaps has a dynamic dns service included, if not, you can use a dynamic dns solution and then put this dynamic dns name as a CNAME record in your real domain). This iframe-solution shouldnāt be used (it has been disabled for security reasons).
Thank you for your suggestion! My provider does have a dynamic DNS option, however the client itās having me download is a EXE file, but my server is running on a raspberry pi. What client would you recommend for the rpi 2 model B?
@tflidd, thank you for your suggestion, I managed to get it to work!! Although now I have new problemsā¦
Iām trying to redirect all traffic to https and parts of it are working and other parts, not so muchā¦ If I navigate to www.MyDomain.com it goes straight to that address, however, if I navigate to MyDomain.com it redirects correctly to https? Iām sure itās just something small Iām missing from a config file but I donāt know which one is working when it redirects correctly and which one isnāt working when it doesnātā¦
Any help or suggestions would be greatly appreciated!