Question

Can someone help me with this in nginx?

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 ?

Subscribe
Share

/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?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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. :)