To block a website on an iPhone, go to Settings > Screen Time > Content & Privacy Restrictions. Enable it, then tap Content Restrictions > Web Content. Select Limit Adult Websites or Allowed Websites Only. You should select Add Website under "Never Allow" to enter the specific URL you want to block. The blocking of specific sites can be achieved through third-party parental control applications which provide more advanced features.