# Error: Unable to setup base domain mappings for api.picturethis.xyz

**URL:** <https://forum.serverless.com/t/error-unable-to-setup-base-domain-mappings-for-api-picturethis-xyz/16250>\
**Category:** Serverless Framework\
**Created:** [November 14, 2021, 12:12pm UTC](https://forum.serverless.com/t/error-unable-to-setup-base-domain-mappings-for-api-picturethis-xyz/16250 "2021-11-14T12:12:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![conor](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/conor/32/6351_2.png) [@conor](https://forum.serverless.com/u/conor)\
**Post date:** [November 14, 2021, 12:12pm UTC](https://forum.serverless.com/t/error-unable-to-setup-base-domain-mappings-for-api-picturethis-xyz/16250/1 "2021-11-14T12:12:13Z")

</div>

I have used the suggestions from StackOverflow

> <https://stackoverflow.com/questions/64904576/serverless-error-unable-to-setup-base-domain-mappings-for>

but the error remains

Error: Unable to setup base domain mappings for api.picturethis.xyz

```auto
service: picture-this-api

frameworkVersion: '2'

plugins:
  - serverless-domain-manager

custom:
  customDomain:
    domainName: api.picturethis.xyz
    basePath: 'v1'
    stage: ${self:provider.stage}
    certificateName: picturethis.xyz
    createRoute53Record: true

provider:
  name: aws
  runtime: go1.x
  lambdaHashingVersion: 20201221
  stage: ${opt:stage, 'dev'} 
  region: us-east-1

package:
  patterns:
    - '!./**'
    - ./bin/**

functions:
  testimonials:
    handler: bin/testimonials
    events:
      - httpApi:
          path: /testimonials
          method: get

```
