I successfully set up a subdirectory in lemp + wordpress like this: domain.com/it - but, is there any way to replace the “/” with a “dot” - to look like this domain.com.it ?
/it should be fine, no need for multiple domains/vhosts.
Because I am going to set up a website in different languages.
You have to purchase a .com.it domain but why would you want do such a thing?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Could I suggest maybe a subdomain setup, such as it.domain.com/fr.domain.com, this is easily doable with nginx and even if using a service like letsencrypt to secure said sub domains. Although /fr etc also works fine. If you need help, dont be afraid to contact me. :)