Domain Restriction

This feature will restrict/allow domains. If the user tries to access the site from a domain that is restricted, then the user will not be able to access the Drupal site.

Watch how to configure this feature: ▶ Watch Setup Video

  • To enable this feature, after successfully performing the Test Configuration, click the Settings tab.
  • Under the Module Settings tab, scroll down to Domain Restriction section.
  • In the Domain Restriction check the Enable Domain Restriction check box.
  • Select one option from I want to allow only some of the domains or I want to block some of the domains.
  • Now, enter the domain list by separating with ;(Semicolon) in the given text area.
  • Scroll down and click on the Save Configuration button.

How it works

  • Let’s see how this feature works.
  • Open Drupal site in new browser or in incognito mode.
  • Login to drupal site with provider link with domain that is restricted.
  • You can see that, you are not allowed to login.