# Change OneSignal Domain
We change the location of a tenant's site repository when its domain changes from APEX (ie. doesn't use www.
) to www.
or vice-versa.
However, this change has an important impact on Push Notifications in OneSignal, as they consider it a completely new domain.
When this situation happens, we have 2 possible scenarios:
The tenant has had its OneSignal account for a short time and has not a lot of subscribers. In that case, we can go to their OneSignal account and change the domain for the new one.
❗️ The tenant has had its OneSignal account for a long time and has a lot of subscribers, it is not possible to change the domain there for the new one. In this case, it would mean that we need to create a new OneSignal id and that the tenant could lose all its current subscribers.
Possible solutions:
- Redirections between domains
- Export (opens new window) and import subscribers from one app id to another
The best solution depends on each site. In any case, and whatever solution is selected, CS and the tenant must be aware of it before proceeding with the changes.
# Steps in OneSignal
- Go to OneSignal (opens new window) and log in.
TIP
OneSignal credentials are in LastPass. Ask your EM for access.
- Search the tenant of the migration and enter.
- In the top Nav bar, click on Settings.
- Click on All Browsers (except Safari).
- Modify the SITE URL and the DEFAULT ICON URL to the right domain and save.