Budget: 2250 UAH Deadline: 1 day
Hello, Vladlen.
The task is clear, I can do it today in a couple of hours. Basic scheme: SSH, separate vhost in Nginx with server_name for .ua, certbot for SSL with auto-renewal, try_files $uri /index.html for SPA (otherwise client routing throws a 404 on refresh).
Two points to consider right away:
There may be hardcoded URLs in the build for the old domain (API endpoint, base URL, OAuth callbacks). If the sources are on the server, we will rebuild with the correct env. If only the ready dist is available, I will check if it won't cause issues.
Let's Encrypt validates via DNS, so the A record for the new domain needs to propagate in time. If it was just changed, we should allow 15-30 minutes for propagation.
Questions:
Are the sources with Node on the VPS or just the ready dist?
Is this a complete copy for a different audience or do we need redirects from the old domain?
Ready to start as soon as SSH is available and DNS resolves.