Hosting a website from different servers

by 6 replies
8
Ok, I'll try to be as clear as possible.

I've got a domain name: mysite.com

I'd like to offer my service in different countries as well, but I don't want to host my service from different domain names. For example: mysite.es or mysite.fr

Instead I'd like my service to be available like this:

mysite.com/en/
mysite.com/ru/
mysite.com/fr/
and so on....

How do you host sites like this? Obviously if you want to provide efficiency you need a server in the target country, but can you point a server to a subdirectory?

What is the most efficient way (serverwise) for hosting if you want to maintain the subdirectory approach?

Thanks
#programming #hosting #servers #website
  • I would use a subdomain instead;
    en.mysite.com
    ru.mysite.com
    fr.mysite.com


    If you need help with this PM me and I can discuss cost of implementing it for you.
    • [1] reply
    • Personally I wouldn't do this to start with - why throw away perfectly good DA or domain TF/CF whenever someone links to your site in different languages?

      You can't use different hosts for subdirectories, as it is the domain that your client's browsers will resolve prior to connecting. IMO, it's much easier and more scalable to manage one site, and replicate the data to multiple other servers for geographical proximity. Better yet.. just pay cloudflare a couple of dollars a month to cache your stuff for you. Managing multiple servers/databases/posts/pages/etc.. around the world will come back to haunt you

      Michael
      • [1] reply
  • Or you could use the language preference settings from your visitors' browsers.

Next Topics on Trending Feed