There is custom button in Account object to redirect to Case recordtype selection page. The custom button URL is
But in community,the same custom button URL is not working and below error is coming
https://myorg.cs6.force.com/CommunityName is under construction
The button URL is having community name in it. Given below is the URL copied from community browser address bar:
Can anyone please advise, how to make custom url work both in sandbox and community.