Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




26 posts

Geek


Topic # 150878 6-Aug-2014 15:01
Send private message

Hi all,

Is it possible to have one website hosted at multiple locations (e.g. one in NZ another one in Germany) with same domain name? 

Details: (currently)
-website hosted with openhost (NZ) (WordPress website)
-website is loading really slow in Europe (20+ seconds) 


Details: (if possible)
-website hosted with openhost as well as with a European hosting company
-changes are updating automatic between the two hosts 
-client will choose best quickest host when accessing the website via IE (behind the scene)


I am pretty sure this is possible but not sure with WordPress and different hosting providers. 
Also this is only for a small company which does business in NZ and Europe, the solution can't be to costly.

Looking forward to your ideas.

Thank you.

Create new topic
Amanzi
895 posts

Ultimate Geek
+1 received by user: 97

Trusted
Subscriber

  Reply # 1103389 6-Aug-2014 15:08
5 people support this post
Send private message

What you're probably wanting is a CDN instead of multiple hosts. Cloudflare is the easiest option - they have a fairly simple wizard to walk you through the set up.

6280 posts

Uber Geek
+1 received by user: 1951

Trusted

  Reply # 1103399 6-Aug-2014 15:20
Send private message

Like the Vodafone site when you access it from a certain country it will take you to the right one?




 


 
 
 
 


14454 posts

Uber Geek
+1 received by user: 1904


  Reply # 1103416 6-Aug-2014 15:41
One person supports this post
Send private message

Or you could host it on a host that has US based servers. Websites seem to load fairly well from US hosted servers no matter where they are viewed from. Hosting a website that has an overseas audience on low cost shared hosting on NZ servers isn't really the best idea if you want good permance around the world. The other way to do it is to do what Tim alluded to above, and that is have different websites under different domains for different location, where each website is hosted in a different location, and use a script which detects which part of the world you are in based on you IP. CDNs also may help, but if the main website is located in NZ then the speed it reads from the database in NZ each time the page loads, is still going to be slow unless the content is being cached.

BDFL - Memuneh
61837 posts

Uber Geek
+1 received by user: 12491

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1103418 6-Aug-2014 15:46
Send private message

Instead of having two hosts you might want to have a CDN, which will cache the assets in your site (images, scripts, css) and deliver from their local nodes. Start with Cloudflare and use http://www.webpagetest.org/ to test speed from different locations.






14454 posts

Uber Geek
+1 received by user: 1904


  Reply # 1103440 6-Aug-2014 16:14
Send private message

freitasm: Instead of having two hosts you might want to have a CDN, which will cache the assets in your site (images, scripts, css) and deliver from their local nodes. Start with Cloudflare and use http://www.webpagetest.org/ to test speed from different locations.




That is true, however often the speed of a dynamic web site is slowed down by the speed accessing the database. Some shared hosting is very slow with hosting database driven websites, as they have thousands of sites on a single server. So setting up caching on the site, so it isn't loading from the database each time should help speed it up a lot.



26 posts

Geek


  Reply # 1103443 6-Aug-2014 16:17
Send private message

Hi guys cheers for the quick responses. I will have a look and research on the options you provided and see for myself what would suit my client and if they would like to go ahead with either one. Also they have decided to get their entire website redesigned anyway, perhaps the web developer has some ideas as well. Currently the client is on a business trip in Europe hence they have told me the website is loading embarrassing slow when showing it to their partners and clients.

Thanks again and if anyone has more ideas I would appreciate your help. Perhaps someone can recommend a good honest web developer preferably worked on travel agency websites before.

BDFL - Memuneh
61837 posts

Uber Geek
+1 received by user: 12491

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1103448 6-Aug-2014 16:21
One person supports this post
Send private message

mattwnz:
freitasm: Instead of having two hosts you might want to have a CDN, which will cache the assets in your site (images, scripts, css) and deliver from their local nodes. Start with Cloudflare and use http://www.webpagetest.org/ to test speed from different locations.




That is true, however often the speed of a dynamic web site is slowed down by the speed accessing the database. Some shared hosting is very slow with hosting database driven websites, as they have thousands of sites on a single server. So setting up caching on the site, so it isn't loading from the database each time should help speed it up a lot.


We don't know the whole picture but website speed is 80/20 - 20% backend / 80% client side (downloading assets, rendering, executing scripts). There are many ways of making things faster andthey have to be attacked in separate.

Database has to be VERY slow to impact - if response from server is more than 1.5 seconds then it's all wrong to begin with. In the meantime, using a CDN is just one step that can be taken.





467 posts

Ultimate Geek
+1 received by user: 83


  Reply # 1104034 7-Aug-2014 13:19
Send private message

If you're using wordpress there's a few plugins that work with CDNs like Cloudflare to allow pages to be cached. This would mean that someone in Europe will be getting the page from Europe and should be super fast. A lot of the time the server in NZ will never be hit.

14454 posts

Uber Geek
+1 received by user: 1904


  Reply # 1104052 7-Aug-2014 13:48
Send private message

Noodles: If you're using wordpress there's a few plugins that work with CDNs like Cloudflare to allow pages to be cached. This would mean that someone in Europe will be getting the page from Europe and should be super fast. A lot of the time the server in NZ will never be hit.

 

If I was going to that trouble I probably wouldn't use shared hosting for a start. Probably best to use a VPS to get the website loading as quickly as it can, so it doesn't get impacted by other users on the server. But a CDN is probably the place to start to see how that helps.

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Geekzone Live »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.