1.Log in to select your Apple developer account-->Overview-->Click Certificates, Identifiers & Profiles, then select Identifiers from the sidebar.
2.Select the App ID you want to update, then click Edit button.
3.Select the Associated Domains checkboxes and click Save button.