I am having issues configuring Facebook App.
In App Domains: field I have entered: domain.com and in Website with Facebook Login Site URL I have entered http://domain.com/ but I still get an error that says

Error
App Domains: domain.com is not a valid domain.
Site URL is not a valid URL.

This is very weird as the domain is working fine and never had such issues before.