My stack is Apache Next Vercel and Google Cloud, the Apache server is packaged with my domain pleyland.co.za, which redirects to my vercel page. I did this in order to have server-side rendering, and the only reason I keep my apache server is to store images and documents, and also for the domain that I pay Afrihost for.
I have share buttons that use the main URL, pleyland, but the displayed URL is the strange vercel URL that does not work with my metadata cards, which is why I implemented server-side rendering to begin with. The metadata is important for sharing parts of the website as it displays a preview image of what the website is on twitter and similar websites.
If users use the share buttons all is well, but if they decide to copy the URL directly the cards will not work.
I either need to get the cards working with the vercel URL or alternatively get the URL to change to pleyland.co.za when the user clicks on it