473,738 Members | 9,555 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1768
On 4 Jun, 12:24, Gustaf <gust...@algone t.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
39251
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 attempting to find my sites root directory so I can then step up into a folder in which I will have my INCLUDE code. This will allow me to easily refer to my INCLUDE code without messing about.
5
6413
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 number of web sites for certain domains, but I would like the majority of the code for this page to be on 1 central site so that if I need to do an update of this page I only need to update it on one site.
3
2602
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 their links to our main site for the remainder of the domain's life. I have found this meta element/tag, but that doesn't help with what we want to accomplish:
3
1703
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 separate frames. The idea is that the customer will set up several iframes embedded in their web site, all pointing to the same server on which I'm hosting the service (slightly different URLS). When the user clicks on one of my iframes, some...
3
1376
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 still in the building stages but need a break AND some input...GREATLY APPRECIATED... http://home.earthlink.net/~sew_what4/ and http://www.customsewing.bravehost.com
1
2747
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 domains? i have read this in the .NET framework docs about domains and threads and i need some clarifications on this: There is not a one-to-one correlation between application domains and threads. Several threads can be executing in a...
7
7776
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 ASP.NET always sets the Session cookie domain to the full domain (e.g. "www.mydomain.com") instead of the parent domain (e.g. "mydomain.com") The problem with this is when the visitor goes to a different sub-domain (e.g. "search.mydomain.com"),...
71
4848
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? http://www.review-a-gadget.com/ Is there anything obvious that I am missing? Are there problems with some browsers? Please let me know if you notice anything.
0
2877
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/ http://jhku.net/DOMAINS-KOSTENLOS/ http://jhku.net/DOMAINS-KOSTENLOS/
0
8969
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9476
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9335
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9263
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6751
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4825
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3279
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.