Page 1 of 1

Access to web site in local

Posted: 2018/05/14 08:53:05
by zenith
Hi
I am using bind as dns service and nginx as web service.
my website is accessible through internet but i can't open them locally.
if i open website locally i get router login page.
how can i solve this problem?
Thanks

Re: Access to web site in local

Posted: 2018/05/14 14:50:05
by tunk
I don't know what the problem is, but you should provide more info, e.g.:
- how is your network/router setup
- does it work if you use IP or "localhost" in the address field

Re: Access to web site in local

Posted: 2018/05/16 14:40:36
by zenith
I use my wifi router and forward port 53 and 80 to my centos server.
open localhost return nginx default page but open example.com open router config page.
open example.com form another connection or wifi open website normally.

Re: Access to web site in local

Posted: 2018/05/16 15:21:46
by TrevorH
Hopefully you're not really using example.com as that is a real domain and almost certainly doesn't belong to you.

Re: Access to web site in local

Posted: 2018/05/16 15:56:49
by zenith
absolutely i am not using example.com. this is for describing my problem

Re: Access to web site in local

Posted: 2018/05/20 14:45:30
by gjaltemba
It is more difficult to troubleshoot without knowing more details of your web conf and network.

Have you tried adding and entry for the url in the client's hosts file?