You need to add this following line in your system’s hosts file:
YourServerIP example.com www.example.com
You can find this ‘hosts’ file here, (requires admin access to write)
For Windows: “C:WindowsSystem32driversetchosts”
For Linux: “/etc/hosts”
For MacOS: “/private/etc/hosts”
Share this Story