tld

Extracting a Hostname's TLD with a Regular Expression

Extracting an accurate representation of the top-level domain of a hostname is complicated by the fact that each top-level domain registry is free to make up its own policies regarding how domains are issued and what subdomains are defined. As there doesn't appear to be any standards body coordinating these or establishing standards, thi...

Handle redirection of TLDs leading to same webfolder, should go to different language pages

Hi I am sorry if the heading is a bit confusing. What I want to do is this: I have an IIS 7.0 webserver. One of the sites that I host has 3 domains pointing to it. They work fine. The thing is that I want 1 domain for each language. Example: hxxp://www.example.se should lead to hxxp://www.example.se/index.php/sv/hem hxxp://www.examp...

How to determine the number of domains of a specific country TLD?

As the title says, lets say I want to get the number of .de domains: Googling: inurl:www.*.de retrieves the correct results but a lot of them are from the same domain. Is there another way to do this? ...