Home >Backend Development >PHP Tutorial >How to monitor large-scale website domain name jumps?
I want to monitor many websites, record their domain name jumps, and run them 24 hours a day. For example, when your IP visits google.com, it may become google.cn
or when visiting thefacebook.com, the website will later be changed to facebook.com, it will automatically be redirected to the new URL
I only care about the main domain name of the website, such as xxxx.google.com/xxxxxxx. I only care about whether google.com has changed. The change of xxxx does not matter
Is there any reliable, stable and long-term running plan?
Thank you everyone
or when visiting thefacebook.com, the website will later be changed to facebook.com, it will automatically be redirected to the new URL
I only care about the main domain name of the website, such as xxxx.google.com/xxxxxxx. I only care about whether google.com has changed. The change of xxxx does not matter
Originally I wanted to use qt to check the 301 and 302 jump information that was exchanged. I found that even if the main domain name remained unchanged, there were many 301/302 jumps, such as jumping to https, jumping to www., etc. I found that this solution was not effective. Reliable
Is there any reliable, stable and long-term running plan?
Thank you everyone
So you can only check whether the domain name has changed for such a response.
Specially, www is just a subdomain name of a domain name and can be treated like www2.