Display webpage when wifi ssid is connected

How can we display webpage when somebody gets connected to a wifi network? So when user is using laptop, mobile phone, see my ssid they enter the correct credentials, they should see a webpage? Is there any good tutorials, how can i do it?any similar solution out there?

This is called a captive portal, and setting one up requires hardware/software configuration. How you do it will depend on what kind of wifi system you are using.

To display a webpage when users connect to a Wi-Fi network, set up a captive portal. Choose a platform like pfSense or use a cloud-based service, configure the portal, set up DNS redirection, and enable authentication or agreement before granting internet access. Tutorials specific to your chosen platform can guide you through the setup.