Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Javascript: Is it possible to find out if the visitor used IP-Address or Domain Name?

I’m interested in knowing if a visitor to my site used http://ip-address or http://domain-name. Is this possible with javascript?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

No, DNS servers simply look up the IP address for a domain name and forward the request to that address. The web server never sees what the user entered into the address bar, only the path, query, and fragment.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading