Questions tagged [tld]

TLD is an abbreviation for top-level domain.

The top-level domains (TLDs) are managed by registrars under agreement from ICANN (www.icann.org). There are several different types of TLDs:

  • gTLD - Generic top-level domains (.com, .net, .org ...)- Anybody can register these domains
  • ccTLD - Country code top-level domains (.uk, .us, .ly, .cc) - These domains normally have restrictions on their use, for example, only companies that operate in these countries may register them (.uk does not have this restriction, but .ie, Ireland, does)
  • sTLD - Sponsored top-level domains (.coop, .museum, .jobs) - These domains are for certain uses only. There are strict rules which must be met in order to register one of these domains.

See also http://icannwiki.com/GTLD for more details, including history and instructions for the proposal and registration process.

272 questions
89
votes
8 answers

How long can a TLD possibly be?

I'm working on an email validation regex in PHP and I need to know how long the TLD could possibly be and still be valid. I did a few searches but couldn't find much information on the topic. So how long can a TLD possibly be?
HellaMad
  • 5,294
  • 6
  • 31
  • 53
62
votes
10 answers

How to fix JSP compiler warning: one JAR was scanned for TLDs yet contained no TLDs?

When starting the application or compiling JSP via ant, Tomcat 7 Jasper complains about superfluous or misplaced JAR file. I got below message **compile-jsp:** [jasper] Jul 31, 2012 7:15:15 PM org.apache.jasper.compiler.TldLocationsCache…
gowthaman
  • 983
  • 3
  • 9
  • 9
45
votes
3 answers

Python: Cannot uninstall 'six' while pip install tld

$ pip install tld Collecting tld Using cached https://files.pythonhosted.org/packages/fa/78/dbeaeb20db795c42deb81271fd65a35c040ce2e946024eaeef5c6b184176/tld-0.9-py2.py3-none-any.whl Collecting six>=1.9 (from tld) Using cached…
D09r
  • 1,411
  • 1
  • 12
  • 16
32
votes
1 answer

Find all domains under a TLD

I'm trying to find a way to list all registered domains under a top-level domain (TLD). I.e. everything under .com, .net, etc. All the tools I find only applies to finding subdomains under a domain.
Alex
  • 487
  • 1
  • 5
  • 10
26
votes
1 answer

How to determine which domain registrars (e.g., GoDaddy, Register.com) support which top level domains (TLDs)?

If someone wants a .LY TLD (top level domain) or .IO TLD, how do I determine which domain registrar (e.g., GoDaddy, Register.com) supports the purchasing of this TLD?
Crashalot
  • 33,605
  • 61
  • 269
  • 439
25
votes
5 answers

Getting exact domain name from any URL

I need to extract the exact domain name from any Url. For example, Url : http://www.google.com --> Domain : google.com Url : http://www.google.co.uk/path1/path2 --> Domain : google.co.uk How can this is possible in c# ? Is there a complete TLD list…
Yazginin Firati
  • 321
  • 1
  • 4
  • 6
18
votes
2 answers

List of all top level domains

I found a lot of threads explaining how to get the country-codes in two- or three-letter format, but nothing that fits to my task. I'm heading for a way to get all the top level domains in an array or something. I know there's the CultureInfo class…
user1826831
  • 735
  • 3
  • 9
  • 17
17
votes
4 answers

Where can I purchase .app TLD?

Where can I purchase a .app Top Level Domain (TLD)? I've gone to Network Solutions, GoDaddy, etc and can't find someone who is selling .app domains (e.g. http://example.app).
nickb
  • 9,140
  • 11
  • 39
  • 48
16
votes
7 answers

Top level domain from URL in C#

I am using C# and ASP.NET for this. We receive a lot of "strange" requests on our IIS 6.0 servers and I want to log and catalog these by domain. Eg. we get some strange requests like…
BerggreenDK
  • 4,915
  • 9
  • 39
  • 61
12
votes
2 answers

Why do these URLs without a TLD resolve to a webpage?

I noticed that the URL ga resolves to a website, but without a TLD like .com, .org, etc. I wrote a script to test all the two-letter URLs: #!/bin/bash for a in {a..z} do for b in {a..z} do curl "$a$b" -s -m 10 >> foo.txt if […
kevinsa5
  • 3,301
  • 2
  • 25
  • 28
12
votes
0 answers

Get list of all registered .net and .com domain names

I want to develop a site for instant domain availability search(.com and .net only). For that I need list of all the registered domain. I searched on google and came to know about VegiSign's TLD Zone File Access Program(…
AnonGeek
  • 7,408
  • 11
  • 39
  • 55
10
votes
1 answer

SSL, Custom TLD's, Crossdomain.xml and Adsense. Can they play nicely?

I have a new site I am working on that is using adsense. It is https://viewing.nyc and very much a work in progress. I have some adsense ads displaying on the site already and they work -- ins the sense that they actually display ads -- but they…
coneybeare
  • 33,113
  • 21
  • 131
  • 183
9
votes
3 answers

Regex to match Domain.CCTLD

Does anyone know a regular expression to match Domain.CCTLD? I don't want subdomains, only the "atomic domain". For example, docs.google.com doesn't get matched, but google.com does. However, this gets complicated with stuff like .co.uk, CCTLDs.…
Tom
  • 283
  • 1
  • 4
  • 14
9
votes
2 answers

Which Unicode characters are allowed in IDN host labels?

I’m currently working on a “proper” URI validator, and currently it all comes down to hostname validation; the rest isn’t that tricky. I’m stuck on IDN hostname labels (i.e., containing Unicode; possible punycode encoded strings have been decoded at…
Roland Franssen
  • 1,038
  • 1
  • 11
  • 22
9
votes
4 answers

How to identify the top level domain of a URL object using java?

Given this : URL u=new URL("someURL"); How do i identify the top level domain of the URL..
trinity
  • 10,394
  • 15
  • 49
  • 67
1
2 3
18 19