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.


19 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
852 posts

Ultimate Geek
+1 received by user: 69

Trusted

  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.

5792 posts

Uber Geek
+1 received by user: 1727

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?




Steam: Coil (Same photos as profile here)
Origin: Scranax
Currently playing on PC: Rust, Subnautica, CS:GO, AOE2 HD, BeamNG Drive, BF1.


14110 posts

Uber Geek
+1 received by user: 1790


  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
60802 posts

Uber Geek
+1 received by user: 11683

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.






14110 posts

Uber Geek
+1 received by user: 1790


  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.



19 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
60802 posts

Uber Geek
+1 received by user: 11683

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.





459 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.

14110 posts

Uber Geek
+1 received by user: 1790


  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:





News »

Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07



Geekzone Live »

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



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.