BIND: Alias "www" displays gateway

pete123456

Baseband Member
Messages
26
Hello,

Here is my network configuration:
Server IP: 192.168.2.111
Gateway: 192.168.2.1

Imagine the domain is example.com

I am currently hosting a domain (using BIND) at home and running a web server. I have a strange issue when querying www.example.com (from a browser), it displays the gateway (router's) configuration page, however example.com displays what it should (the webpage hosted).
As you can imagine this would be a a bad breach of security so port 80 is blocked at the moment.

An nslookup of www.example.com does indeed point to 192.168.2.111 (internally) but when accessed from a web browser it displays the 192.168.2.1 router configuration page.

I apologise if I am being a bit vague and will supply more details if needed.
Thanks for your time,
Regards,
Pete

Edit: Seems to be fixed, I made the router use my DNS servers instead of my ISPs.
 
Top