I have created a messaging app using aws WebSocket api and deployed using serverless.
The apis are successfully deployed and I am able to test those using wscat. I have other Rest apis in the stack too. I tried mapping my new WebSocket api stack to an existing domain name, but getting the error : Only REGIONAL domain names can be managed through the API Gateway V2 API. For EDGE domain names, please use the API Gateway V1 API. Also note that only REST APIs can be attached to EDGE domain names.
I'm stuck and trying to figure out what changes are to be made.
I went through https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html and https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html but couldn't figure out.


