eliz82
Occasional Visitor
I have installed Asus Merlin + Entware NG on my Asus RT-AC56U. Then I installed webserver+php+mysql using this tutorials:
https://github.com/RMerl/asuswrt-merlin/wiki/Lighttpd-web-server-with-PHP-support-through-Entware
I'm redirecting port 80 to port 83 and i'm using that iptable config like in the tutorial
Everything is ok. I have a domain like this: http://myname.ddns.com (port 80)
1) it is accessible and from outside networks (internet) and working ok
2) it's accessible and from inside networks (my LAN) and working ok
And now the strange part:
3) it's not accessible from router itself
How I know that? I tried 3 methods and all have the same result.
1) ssh tunneling from outside network. all sites are loading correctly except http://myname.ddns.com
2) I made a PHP script on my webserver that is using CURL function to open a website. it's working with any outside site except http://myname.ddns.com
3) elinks text webrowser from ssh console
All 3 methods are redirecting my domain http://myname.ddns.com to Asus router login page.
(I have moved Asus Login page to HTTPS, but then instead of redirecting is not founding the site.)
Any solutions?
https://github.com/RMerl/asuswrt-merlin/wiki/Lighttpd-web-server-with-PHP-support-through-Entware
I'm redirecting port 80 to port 83 and i'm using that iptable config like in the tutorial
Everything is ok. I have a domain like this: http://myname.ddns.com (port 80)
1) it is accessible and from outside networks (internet) and working ok
2) it's accessible and from inside networks (my LAN) and working ok
And now the strange part:
3) it's not accessible from router itself
How I know that? I tried 3 methods and all have the same result.
1) ssh tunneling from outside network. all sites are loading correctly except http://myname.ddns.com
2) I made a PHP script on my webserver that is using CURL function to open a website. it's working with any outside site except http://myname.ddns.com
3) elinks text webrowser from ssh console
All 3 methods are redirecting my domain http://myname.ddns.com to Asus router login page.
(I have moved Asus Login page to HTTPS, but then instead of redirecting is not founding the site.)
Any solutions?