How to get the domain country? [closed] - dns

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm having trouble understanding how certain websites use various domains for each website. In a nutshell how does say for instance myspace have uk.myspace.com, fr.myspace.com etc?
Do they put the main files in the above root then have individual sub domains for each country or do they have something weird going on in terms of country detection??
I cant find anything anywhere online?
thanks

There is unlikely to be a single server involved, so talking about "files above the root" is meaningless. You'll be talking about some kind of fairly advanced routing infrastructure hiding dozens of different servers across many different locations. The routing logic is the part that decides which group of machines will be responsible for handling a given request.
The forwarding part is indeed "weird country detection", in the sense that some machine is responsible for performing an IP lookup and redirecting the user to an appropriate (possibly-geographically-closer) host. This might be done for performance reasons, or it might be done for content localisation and SEO reasons (e.g., the default language).

Related

How to list all the domains in India under one website based on categories [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I need to list all the website links (domains) in India under one website based on categories.
You just cannot list 100% of Indian websites. If I understand what you want, you want something like a Web crawler for Indian domains. Another "google". But even big spiders like Google's, Yahoo's, Bing's spiders can't build a database of all the websites. They do this with algorithms (with partly published algorithms), but I think you need even more, because you need a 100% accurate database, so you would need to have to ask them from all domain registrars, but you obviously can't do that.
Even if it was possible I definitely would not do this for a client, but created a company for that. But I would say that's practically impossible.
What you can do is that you can search for a few thousands of sites and categorize them manually or build a small "spider".

(How) can I add a second domain to a website to improve SEO? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
So I'm making a website for a restaurant in a village in France. The restaurant is called Le Cantou, so I've registered www.lecantou.net. I want to make sure it is easy to find with Google. Now people obviously are not going to type in the name of the restaurant in Google, they will write "restaurant a saint cirq lapopie", because that's the name of the village. So I've also registered http://restaurant-a-saint-cirq-lapopie.com in the hopes that that will make it clear to the visitor that this is the restaurant they want.
Now my question is, I have one website with two domains: is there a way to handle the two domains so I get maximum SEO? I think duplicating the website is a bad idea. But setting a redirect from the long domain name to the original domain name also doesn't work, because then the long domain name will never show up in Google results, isn't that right?
What do you guys recommend?
I recommend you to give up on "the longer domain". Since Google's EMD Update, having domain witch includes the same keywords like popular search queries, won't help you rank better.
You should work more on the content, interaction with your visitors and getting the links from the local websites. That will help you improve the rankings.
Adding multiple domains to a website is a tricky procedure as Google(or other search engine) can easily find out the multiple domains or duplicate links with the help of sophisticated algorithms. Secondary domains pointing to the primary ones can be created through 301Redirects which is a safe technique. All the online visitors can be directed to the secondary domains easily.
As the other guys have said - you need to shift your focus from old-school SEO thinking.
Instead try and create an awesome website on your main domain, awesome content, etc.
Don't go for a superlong keyword heavy domain. It probably won't work.

create domain name like co.cc [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
three month ago I have site registered at co.cc. I want to know how they create domain name like ".cc" not ".com". I never seen site like this and .cc is not standard domain. So my question is how they create their own domain name? can I create my own domain like www.abc.jagdish insteda of www.abc.com?
I want to know how they create domain name like ".cc"
That is a (completely standard) country code top level domain, specifically the one for the Cocos (Keeling) Islands. They got the domain by being the official registrar for that country or by buying it from them.
To create your own CCTLD you would first have to found a country. That seems like an excessive expense for the purposes of having a custom TLD.
You can't create your own domain. Wait it is possible to register your own extension but it will cost roughly $300k
Management of most top-level domains is delegated to responsible
organizations by the Internet Corporation for Assigned Names and
Numbers (ICANN), which operates the Internet Assigned Numbers
Authority (IANA) and is in charge of maintaining the DNS root zone.
http://www.icann.org/
http://www.iana.org/domains/root/db/
http://data.iana.org/TLD/tlds-alpha-by-domain.txt
You could apply for your own gTLD, it will cost you though. A couple of hundred thousand USD at least.
Read more: http://newgtlds.icann.org/en/

Using DNS based system to unblock a blocked URL? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Okay I understand that this might be a silly question.
I'm looking forward to unblock Youtube in my country. I'm quite sure its a simple address/url block. I currently have to use proxies which reduce the speed of the connection. I tried to use the IP of Youtube to open it up but Youtube's IP actually opens up Google.com so that it is of no use.
I was also thinking of something like creating a DNS entry on one of my sub-domains that might point to Youtube's URL in some way but that might not be possible as I don't really know how DNS systems work at all. So some guesses might help. I'm not sure of some other hidden URLs that point to Youtube or even if some exist. So they might help as well.
May be using VPN connection to some provider that does not block the traffic would help? This one for example: http://privateinternetaccess.com

How to. domain works? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
Can somebody explain why and how "to." domain works? It's not usual.
http://to./
is equivalent to http://to/ The site is simply hosted on the top level domain to.
The same could be hosted at http://com/ if whoever is in charge of com wanted to. You typically see it with the . like http://to./ so it doesn't resolve to a local machine named to or get resolved by the browser incorrectly.
The . is superfluous—the actual domain is http://to/, but Firefox, at the very least, converts that to http://www.to.com/, and that's not what we're going for at all. Additional . characters on each side don't mean anything, and appending a . lets the browser know that that's all we want. http://.to/ should also work, but Firefox seems to want to point it to http://www.to/.
.to is a top-level domain that belongs to Tonga, and the company in charge of allocating domain names has created one with no second-level domain, which is perfectly legal.
Are you referring to the Tonga top-level domain? If so, it's just another TLD for a specific country.
I suspect that you're asking about the .to ccTLD for the country of Tonga.

Resources