There are cables under the oceans that can communicate using light. The speed of light is able to circle 7.5 times around earth in 1 second and that’s how it is able to communicate in seconds.
An simplified overview would be
Your computer WiFi-> LAN to your Internet provider -> underwater cable to the Internet provider for the website -> LAN to the Website’s building -> Website’s WiFi
Edit: Typos
Latest Answers