Problem connecting to Wi-Fi on iPhone 5s?

When I try to connect to a new Wi-Fi that's just been set up in my house, my iPhone attempts to connect to it, but it keeps giving a swirling loading sign. I've waited for about 20 minutes for it, but it won't work. I've forgotten the network and reconnected to it, but it still doesn't work. What should I do to fix it? I know I typed the password in correctly.
Problem connecting to wifi on iPhone 5s - 1

Try turning it off and on.

Try to do:
Restart your iOS device.
Update your device to the latest version of software.
Update your Wi-Fi router to the latest firmware.
for more help https://www.apple.com/...m/support/ and http://www.techsupportrouter.com.

1. Try using a different security encryption: if using AES, try TKIP or vice-versa. (Review the Wi-Fi security settings that the old router used. Make sure your new one uses something similar.)

2. You don't need to blur (or hide) your SSID name from us. Only your immediate neighbors can see your SSID, and you can't be hacked via the Internet by knowing your SSID name.

  • Problem connecting laptop to Wi-Fi after putting on password? I just put up a password on my bsnl modem Wi-Fi and i have problem connecting my dell inspiron to it. All my other devives such as nexus 7 and iphone connect to it. I got wimdows 8 and it shows that - The settings saved on this compute for the network do not match the requirements of the network.
  • Problem connecting iPhone to iTunes? Itunes could not connect to your iphone. An unknown error 0xe8000084 itunes this comes up when i plug it in please tell me how to fix it and also this comes up iTunes has detected that it is not the default audio files. Would you like to go to control default panel to fix this. How do i fix these help me 13 minutes ago - 4 days left to answer.
  • Problem connecting iPhone to iTunes? - 1 Itunes could not connect to your iphone. An unknown error 0xe8000084 itunes this comes up when i plug it in please tell me how to fix it and also this comes up iTunes has detected that it is not the default audio files. Would you like to go to control default panel to fix this. How do i fix these help me
  • IPhone problem connecting to App Store? I'm trying to download a new app and when it says to insert my password when your apple ID comes but my email does not show up instead someone else's email shows up and i don't know who they are how do I fix it?