Questions tagged [domain-name]

A domain name is a string of characters that identifies a realm of authority within a Domain Naming System (DNS).

A domain name is a string of characters that identifies a realm of authority within a Domain Naming System (DNS). They serve as human-friendly pointers to IP addresses and other resources that host various services like HTTP/HTTPS, SMTP, IMAP, SIP, etc. Domain names can be (and are) used on private networks, but they are an integral component of the modern Internet.

510 questions
6
votes
2 answers

Specifying different DNS servers for different domains

Can I specify DNS servers for multiple domains. For example there are 3 domains for which I know the DNS server which would resolve the domain name, so can I specify something like b.com (domain) u1.x1.y1.z1 (DNS server IP address which would…
sunillp
  • 983
  • 3
  • 13
  • 31
5
votes
4 answers

Preventing trailing slash on domain name

I want my site to show up as www.mysite.com, not www.mysite.com/ Does Apache add a trailing slash after a domain name by default, or does the browser append it? If I want to prevent this using an .htaccess, what would the url rewrite rule be?
Yarin
  • 173,523
  • 149
  • 402
  • 512
5
votes
1 answer

Point root domain to Heroku without IP and CNAME (Rails)

My domain provider uses only A records with IP addresses for root domains and Heroku doesn't accept that. I was told to use an .htaccess file to point mydomain.com to www.mydomain.com which is linked with a CNAME record and secured with SSL on…
NicoBar
  • 555
  • 1
  • 7
  • 16
5
votes
4 answers

How to check whether hostname is domain name in Go?

How can I check whether URL.Hostname is a valid domain name? I am searching for the exact same behaviour as URI.CheckHostName in the .NET framework.
user6216224
5
votes
3 answers

implementing Public Suffix extraction using java

i need to extract the top domain of an url and i got his http://publicsuffix.org/index.html and the java implementation is in http://guava-libraries.googlecode.com and i could not find any example to extract domain name say…
ramuvan
  • 53
  • 1
  • 3
5
votes
2 answers

Custom domains in a Rails App

I want users of my service to be able to add their own custom domains. For example, www.[their domain].com should be able to access their application's index and show pages. My service is implemented in Rails 3. I've seen apps like Tumblr offer this…
jim
  • 1,137
  • 2
  • 12
  • 22
5
votes
2 answers

Do I have have to use Amazon Route 53's DNS Service (and pay for it), if I register and manage my domain with them?

I have worked with several godaddy domains in the past. But, for the new project infrastructure I wish to setup, I am planning on registering domain names from the new Amazon's Route 53 - Domain Registration. My question is do I also need to pay for…
Hari Krishna Ganji
  • 1,647
  • 2
  • 20
  • 33
5
votes
2 answers

Domain name and route53 issue

I'm having difficulties configuring my domain through Route53. I keep getting a DNS_PROBE_FINISHED_NXDOMAIN error. My domain, oscha.jp, is registered through jp-domains.com. I created a hosted zone in R53 and added an alias record pointing to my…
beterthanlife
  • 1,668
  • 2
  • 18
  • 30
5
votes
2 answers

how to set https for naked domain?

I have been using openshift for quite some time. Since letsencrypt is in beta, I thought I gave it a try. My current setup: www.digrin.com is an alias to my openshift url - digrin-digrincom.rhcloud.com digrin.com A tag points to wwwizer redirect…
Lucas03
  • 2,267
  • 2
  • 32
  • 60
5
votes
3 answers

Can I use non latin characters in my robots.txt and sitemap.xml?

Can I use non latin characters in my robots.txt file and sitemap.xml like this? robots.txt User-agent: * Disallow: /somefolder/ Sitemap: http://www.domainwithåäö.com/sitemap.xml sitemap.xml
user1087110
  • 3,633
  • 11
  • 34
  • 43
5
votes
1 answer

Validating Internationalized URLs - Is this going to be a problem?

After reading about the new Arabic URLs, and with more languages to come, how should URL validation be done for internationalized applications? Does the validation change at all and will existing solutions break? Is regex still a good approach? If…
VirtuosiMedia
  • 52,016
  • 21
  • 93
  • 140
5
votes
2 answers

Return root domain from url in R

Given website addresses, e.g. http://www.example.com/page1/# https://subdomain.example2.co.uk/asdf?retrieve=2 How do I return the root domain in R, e.g. example.com example2.co.uk For my purposes I would define the root domain to have…
Alex
  • 15,186
  • 15
  • 73
  • 127
5
votes
1 answer

How does one google app engine app serve multiple domains?

Or can it be done? For example, I want to help a few friends to setup their shopping cart websites. They have their website domain names already purchased. But I want to pay one google app engine application at www.mywebsite.com, and I want to…
Splash
  • 1,288
  • 2
  • 18
  • 36
5
votes
3 answers

how to get domain url in initializer file, rails

i was wondering if it was possible to get the domain url ie localhost or myapp.heroku.com from an initializer file? i believe the request.url and the request methods only work in controllers. is there an equivalent to the…
Sasha
  • 3,281
  • 7
  • 34
  • 52
4
votes
1 answer

Can i use a route constraint here?

If i have the following URL: /someurl And i have two domain names: us.foo.com au.foo.com I want this to 200 (match): us.foo.com/someurl But this to 404 (not match): au.foo.com/someurl The route looks like this: RouteTable.Routes.MapRoute( …