473,395 Members | 1,931 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

One site, three domains

I'm part of an organization with activities in Sweden, Norway and Denmark. Some activities are local to each country, while others are common. Now we want a website to inform the members and public. We plan to register one domain for each country.

The idea is that you'd get the same page regardless of which domain you're visiting. The pages could exist in different languages, and the user could be served his preferred language according to the browser settings. But it's not acceptable to refer all visitors to one of the domains. So Danes should not have to read their Danish material on ourdomain.se, but on ourdomain.dk.

This sounds like having a separate website in each country, but I hope we can put it all on one server for all three domains. Is that possible? I know how to refer to another page using HTTP-EQUIV, but that would expose the domain name for the common server. How do you avoid that? Is separate servers and live mirroring the only way? What do I need from the web host to do live mirroring?

Also, does anyone know what rules apply to register domain names in Norway and Denmark?

Gustaf

Jun 27 '08 #1
1 1731
On 4 Jun, 12:24, Gustaf <gust...@algonet.sewrote:
it's not acceptable to refer all visitors to one of the domains. So Danes should not have to read their
Danish material on ourdomain.se, but on ourdomain.dk.

This sounds like having a separate website in each country, but I hope we can put it all on one server for all three domains. Is that possible?
It's easy. Just do it in the DNS so that each domain resolves to the
same IP, and then the server config so that each hostname serves
content from the same server and filesystem. It's probably best to
clearly split the overall super-site by language too, then support
this language selection independently of the domain name (default it
from the request header prefs, or the domain name to start with). That
way example.dk/se/... will still serve Swedish language content,
just as for example.se/se/... and example.no/se/...

Use a subdirectory visible in the URL to separate multilingual
content, because it's simple and robust. You can do it with query
parameters, session state, checking HTTP headers for each page
request, checking cookies for each page request, and probably others
too. However this is simple, obvious and robust.

The defining characteristic of the site is the hostname, therefore
these are still "separate" "sites", they just all happen to be the
same, and to (easily) run from one set of content on one server.
The usual advice here is to use 301 redirects, thus merging all
content into one site - which really is just one "site", as there's
redirection to one single hostname. If you make the language selection
separate to that, then there's no problem in doing the multi-lingual
support here either. The reason why a single site is usually favoured
is so that all of your Googlejuice is given to one site, not shared.
In your particular case, where nationalism want to keep the
appropriate country's TLD in the hostname, then keep them separate.

Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Rv! | last post by:
I've posted this onto alt.php earlier and stumped all involved. I didn't cross post for the usual reasons Anyone here got any ideas? -------------------------------------- I am simply...
5
by: Astra | last post by:
Hi All Could you please confirm whether it is possible to include an include file, which is on another site, but still on the same set of web servers. I want to upload a default paeg to a...
3
by: RTL | last post by:
Hello all, Actually, we're letting several of our domain names go back into the field. I believe there must be some industry way to use some HTML element/tag to get the Spiders to start updating...
3
by: Andy Fish | last post by:
Hi, I have a situation where I want a customer to be able to embed my functionality within their web site, a bit like a counter but more complex because my functionality consists of several...
3
by: Cindy | last post by:
Please view my sites and comment on which one has more potential...I apologize if I'm overstepping any rules here...I need input! I designed them both...I have the bare minimum of skills...I am...
1
by: Paul Fi | last post by:
I have some confusions about the two, is it possible to create threads inside a particular domain and have other threads created in another domain or do we create threads that will manipulate app...
7
by: Doug | last post by:
An ASP.NET session cookie set on "www.mydomain.com" can not be accessed on "search.mydomain.com"; hence, a new session and cookie are being created on every sub-domain. This is occuring because...
71
by: Murray R. Van Luyn | last post by:
Hi, Since I have made changes to my website it's been a complete flop. According to the logs, as soon as visitors have downloaded the index page they are off. I can't figure out why? ...
0
by: sdgvfwe | last post by:
samba domain controller web hosting gratis eigene domain com domain ueberpruefen web site de + + + http://jhku.net/DOMAINS-KOSTENLOS/ http://jhku.net/DOMAINS-KOSTENLOS/...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.