If you haven’t yet turned on Restrictions, instead tap Enable Restrictions and then enter your preferred passcode twice.

The line will look something like this: 127. 0. 0. 1 www. facebook. com. If you’re blocking multiple websites, each URL must be on its own line.