@r_s Thanks for reaching out. When you create the function then it will follow the domain naming convention as <yourfunctionname>.azurewebsites.net
Let's say if you have created the function app with name func-dev-01 so it will be accessed by func-dev-01.azurewebsites.net
How to get same url as old azure function using new azure function ?
As both function app is different so it cannot be accessed with the same yourcustomename.azurewebsites.net
The alternative would be mapping your custom domain if this works for your requirement.