-2
I am using DnsMasq on raspberry pi. On the /etc/dnsmasq.conf
configuration is as follows:
interface=eth0
domain-needed
bogus-priv
strict-order
addn-hosts=/etc/hosts.dnsmasq
And the /etc/hosts.dnsmasq
is:
192.168.0.2 abcd.bus
192.168.0.2 www.abcd.bus
I configured static IP to Raspberry Pi and running Apache web server. when I hit the "http://abcd.bus" and "http://www.abcd.bus" on the browser it resolves and shows the webpage . But the problem is when I hit only "abcd.bus" or "www.abcd.bus" without http:// it is not resolving and shows webpage not found.
Why browser is not prefix "http://" on resolving? Is there any configuration to do that?
I am Using Google Chrome browser.
We have no idea what the problem is in your browser if you don't tell us what your browser is. – qasdfdsaq – 2015-08-12T09:47:46.157
@qasdfdsaq why you down vote for this? If you have any ans then write it – Brinda K – 2015-08-12T09:53:56.987
It is impossible to answer because you haven't told us what your browser is. – qasdfdsaq – 2015-08-12T09:54:29.607
@qasdfdsaq edited check – Brinda K – 2015-08-12T09:55:17.843
Chrome uses a search box not an address bar. When you type something without an http:// you are telling Chrome to search for "abcd.bus" on Google.com – qasdfdsaq – 2015-08-12T09:57:34.600