On the server I have 3 different directories which are named by domains I own in hosting/domains provider.
In every of this directory there is clone of exact same single page application (SPA).
There isn’t any changes in code of this app clones. The only change is default language of page content but application itself determine the language basing on extension or browser language (when .com).
Because the hosting provider automatically created directories basing on domains I bought it seemed to be the easiest way to just put clone in each folder.
It worked and I have my SPA working correctly at .com, .co.uk, and .de extensions but now I wonder if such architecture is good for SEO. Shouldn’t I have one SPA in some separate directory and just do some redirections in .htaccess for various domain extensions?