# Domain Mapping and grouping

When multiple domains/ip's represent the same service, they can be grouped into one logical service.\
As a result, all the end-points from all the services will be merged and grouped under specified service-name.\
\
For example, if the hosts`echo1.beeceptor.com` and `echo2.beeceptor.com` are different deployments of the same service, we shall group them together by following the instructions:\\

1. Head to "settings", in the dotted menu at the top-right corner of the screen

   <figure><img src="https://684333474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHDbUNdi3wPd9vSolzU%2Fuploads%2Fgit-blob-6a5cda36258fb53672e0637884eb2aaa4c0a3947%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
2. In "General" Tab, under "Domains to Services", Specify a unique regex that matches the domains you want to group, in addition specify service name for display purposes.\
   ![](https://684333474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHDbUNdi3wPd9vSolzU%2Fuploads%2Fgit-blob-5c876e379cde3d1df996e14b4368d301f3f8b153%2Fimage.png?alt=media)
3. To apply changes on existing domains, check the box "Apply changes to existing APIs".
4. Click on save

<figure><img src="https://684333474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHDbUNdi3wPd9vSolzU%2Fuploads%2Fgit-blob-327186824e636eae996334eafea28fece160103b%2Fimage.png?alt=media" alt=""><figcaption><p>The result will show the new alias name in the service drop-down at the top-right corner</p></figcaption></figure>

note: Domain mapping can be used to alias individual service names for convenience.
