
Develop a whatismyipaddress.com clone website using Go
Do you want to build a website clone similar to whatismyipaddress.com? It is actually easy to develop. I decided to create this tool because I was working on an automated DNS client that will check my public IP address. Perhaps, somebody might need this in the future. I already made the completed demo available online at https://ip.johnpili.com How it works It works by reading the HTTP header request which contains information such as IP Address, User-Agent, Scheme, Accept-Encoding, etc. If you are using a reverse proxy like Cloudflare, you can extract IP information from header keys Cf-Connecting-Ip or X-Real-Ip ...