Uniform Resource Locators are a generic scheme for specifying the location of resources. They are most commonly used for identifying locations on the Internet (such as webpages and email addresses) but can be used to reference almost anything.

learn more… | top users | synonyms

137
votes
7answers
13k views

What’s the point in having “www” in a URL?

Other than for historical reasons, is there is reason to have “www” in a URL. Should I do a permanent redirect from www.xyz.com to xyz.com or xyz.com to www.xyz.com? Which one would you suggest and ...
57
votes
22answers
10k views

How the heck is http://to./ a valid domain name?

Apparently it's a URL shortener. It resolves just fine in Chrome and Firefox. How is this a valid top-level domain? Update: for the people saying it's browser shenanigans, why is it that: ...
37
votes
1answer
3k views

How can one distinguish the host and the port in an IPv6 URL?

URLs always have this format: <protocol>://<host>[:<port>]/[<path>][#<hash>] The problem is that IPv6 uses colons, just like the separator of port and host, e.g: ...
15
votes
5answers
1k views

How can I enforce that my urls always start with www?

I want to ensure that users come to www.mydomain.com even if they arrive through the alias mydomain.com. This is so that I have control over cookies on subdomains, and so that Google sees one single ...
14
votes
5answers
6k views

Can an attacker sniff data in a URL over HTTPS?

Can data included in a URL be considered secure if the connection is made over HTTPS? For example, if a user clicks a link in an email that points to https://mysite.com?mysecretstring=1234 would it ...
14
votes
6answers
1k views

to www or not to www [duplicate]

Possible Duplicate: What’s the point in having “www” in a URL? Simple question : should we use www in front of the url address or not... some site said we should and some said exacly the ...
12
votes
1answer
2k views

How to set up Google ShortName service for my domain, so that the FQDN isn't needed

The blog post "A 'tinyurl' service for your domain" explains how to set up a ShortName service for your domain using Google Apps. For example, if your domain is example.com and you use Google Apps, ...
10
votes
13answers
10k views

Using .local for internal websites [duplicate]

Is it okay to use app.mycoolname.local for URLs that are private / internal? We have several applications that are web based, but they are private apps and are not exposed to the public. We have ...
8
votes
3answers
2k views

What determines whether the FQDN is interpreted as IPv6 or IPv4?

When I type a Fully Qualified Domain Name (FQDN) in my URL bar, the browser connects to some mapping table (where is this table stored? with the service provider?) that determines where the file ...
8
votes
3answers
503 views

Enterprise internal URL conventions

developer here... I'd like your IT perspective on this one... I'm building a new internal web app for my company, and starting to think about how it will be deployed. Many of the existing web apps ...
8
votes
2answers
4k views

Disabling URL decoding in nginx proxy

When I browse to this URL: http://localhost:8080/foo/%5B-%5D server (nc -l 8080) receives it as-is: GET /foo/%5B-%5D HTTP/1.1 However when I proxy this application via nginx (1.1.19): location ...
7
votes
8answers
9k views

Why can't some websites be shown without the “www” in the URL?

I used to type the website URL without the "www" and it works fine with almost all sites that I have tried, so far. But I realize that my university's website never show up if you don't type the ...
7
votes
1answer
9k views

Who (What?!) is “http://1.1.1.1/bmi”? [closed]

I'm not sure if this is the place to ask but I found some pages who contain links in them that start with "http://1.1.1.1/bmi". Who or what is 1.1.1.1? or maybe http://1.1.1.1/bmi has a meaning more ...
7
votes
4answers
5k views

Rewritten URLs with parameter length > 255 don't work

I'm using mod_rewrite to rewrite URLs like this: http://example.com/1,2,3,4/foo/ By doing this in .htaccess: RewriteEngine On RewriteRule ^([\d,]+)/foo/$ /foo.php?id=$1 [L,QSA] It works fine, ...
6
votes
11answers
546 views

Will my URL stay secret if I never link to it?

I have a URL that I would like to share with my friend who needs the information on it, but I do not want the public to see it. The URL refers to an index.html, which is in my public_html and ...
6
votes
4answers
3k views

How to make a URL point to a Tomcat instance?

Sorry if this question makes no sense (no expert here), but I understand that tomcat listens to port 8080 and that url are usually addressed to 80. Is there a way to tell DNS that urls should point to ...
5
votes
2answers
8k views

nginx url rewriting. i just don't get it

Ok, an example url is http://www.mysite.com/?p=account&view=settings the p uri is a constant. all urls have it. the view is one of many optional uri. i've tried to understand url rewriting ...
5
votes
4answers
20k views

How do you configure IIS 7 to use a subdirectory as the default document?

So I have a website running on a discount asp.net account, and I put an asp.net mvc app in a subdirectory. If my url is 'www.website.com' and my app is in directory 'sample', then ...
5
votes
2answers
1k views

Django rewrites URL as IP address in browser - why?

I am using django, nginx and apache. When I access my site with a URL (e.g., http://www.foo.com/) what appears in my browser address is the IP address with admin appended (e.g., ...
4
votes
2answers
425 views

Domain name change with minimum seo impact

I am owner of an existing (3 yr. old) domain http://www.22shrutiharmonium.com and my website appears at the top of the search results in case of some search phrases like "22 shruti" , "22 shruti ...
4
votes
2answers
473 views

Faster way to ping URL than curl [closed]

What would be the fastest way to check whether the specified URL is working? (responding in OK http status code)? For now I'm using curl, but I have bunch of URLs to test in a loop, so I'm looking ...
4
votes
3answers
3k views

What URL should the browser display with this DNS configuration?

If I have the following records in the DNS: hostname Record Type address benmccormack.com A 216.10.244.61 www.benmccormack.com CNAME ...
4
votes
5answers
2k views

Redirecting http://www.example.com/index.html to http://www.example.com/ (without looping)

For aesthetic reasons (I prefer when there is a strict one-to-one mapping between URL and pages), I do not like the fact that http://www.example.com/index.html and http://www.example.com/ yield the ...
4
votes
1answer
2k views

Prevent URL Rewrite rules from being inherited by subdirectories in IIS7

I have a URL Rewrite setup for clean URLs in a CMS and my web.config looks like this: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> ...
4
votes
2answers
788 views

URL rewrite in IIS 7

I have a question. I'm using IIS 7 URL rewrite. It works fine, but now I want this: http://www.example.com/http://www.domain.com to be: http://www.example.com/www.domain.com I have no clue on ...
3
votes
7answers
405 views

What does the “//” in “http://serverfault.com/questions/ask” stand for?

I use URLs all the time typing them in with and without "//" after the "http:" but what does the "//" really stand for?
3
votes
4answers
374 views

Redirect www from DNS records

Related to this question: What’s the point in having “www” in a URL? How can I do a “www” redirection form a DNS record level? I don’t want to tweak apache or IIS to achieve this.
3
votes
4answers
3k views

How to add URL's to wiki (MediaWiki) powered documentation?

We have an internal company wiki. The wiki engine being used is MediaWiki, the wiki engine that runs Wikipedia. Some of it contains IT stuff. One of the things i want want to have are hyperlinks to ...
3
votes
1answer
862 views

Using curl to make a HEAD request with a hard timeout

I'd like to use curl to send a HTTP HEAD request to a URL to verify that it is working correctly (server is up and sends a successful response). At the end, I need the final HTTP response code ...
3
votes
3answers
6k views

IIS URL Rewrite HTTP to HTTPS with Port

My website has two bindings: 1000 and 1443 (port 80/443 are in use by another website on the same IIS instance). Port 1000 is HTTP, port 1443 is HTTPS. What I want to do is redirect any incoming ...
3
votes
2answers
970 views

How to change the URL on my Amazon EC2 webserver

I am at the point in playing around with EC2 that I have launched a webserver. Right now, the website URL looks like http://ec2-<some numbers>.compute-1.amazonaws.com/ I am evaluating the ...
3
votes
3answers
450 views

Sane Sharepoint 2007 URLs

In the current setup, the shared documents section has extremely convoluted URLs that are hardimpossible to remember, such as the following: ...
3
votes
3answers
1k views

Is it ok to not use 'www' in my website subdomain url?

We have a website that is a subdomain of our primary domain, such as site.domain.com. The official URL of the website is http://site.domain.com, but some people keep referring to it as ...
3
votes
1answer
6k views

nginx- Rewrite URL with Trailing Slash

I have a specialized set of rewrite rules to accommodate a mutli site cms setup. I am trying to have nginx force a trailing slash on the request URL. I would like it to redirect requests for ...
3
votes
1answer
4k views

Squid selects parent depending on requested URL?

I have a basic squid configuration that connects to the Internet directly, I need a way to use a parent peer depending on the URL. So for example: I configure it to use a local proxy that links it ...
3
votes
3answers
9k views

404 Error on a file that exists?

A script makes a GET request to my URL like so: http://mydomain.com/cgi-bin/uu_ini_status_audios.pl?tmp_sid=b742be1d131c4d32237a9f1fcdca659e&rnd_id=0.2363453360320319 However, I get a 404 ...
3
votes
1answer
519 views

How to change all Exchange external URLs without adversely affecting external users?

We have an Exchange 2010 SP2 system consisting of a single Mailbox/Hub/CAS server and a single Edge server. The MHC server is exposed to Internet users via a TMG 2010 reverse proxy. All Exchange web ...
3
votes
3answers
1k views

Using Computer name in URL causes issues when connecting to Web Services

The set of applications I work on all access the same 8 or so web services that we have. These services and applications all reside on the same box and all use the computer name when trying to ...
3
votes
0answers
90 views

ISA wrong translation of the schema URL included in WSDL

I have a WSDL behind ISA server. The WSDL includes a schema <xsd:include schemaLocation="myschema.xsd"/> However, when accessed through ISA, some implicit mapping changes the server name to the ...
2
votes
2answers
6k views

Simple apache2 redirect from one domain to another

What I want to do is the following: My domain xy.example.com no longer exists. Thus I want to do a simple redirect to the new domain abc.example.com. It should be a redirect, that also works when ...
2
votes
8answers
515 views

Small domain names

I'm want to register a small domain name. I want it to be easy to use from a mobile phone. The '.com' extension is hard to use because you have to press 'o' then 'm'. Does anyone has any ...
2
votes
3answers
127 views

What's the point in redirecting users to “www2.”?

On several large-scale websites, I've seen being redirected from http://www.example.com/ to http://www2.example.com/ One of such examples is Netflix. My hypothesis is that this is used to: Either ...
2
votes
4answers
4k views

Absolute urls not working with Apache2 AJP proxy Tomcat

I don't seem to get how to configure ReverseProxy correctly. The URLs returned are all for the root directory "/", not "/tomcat" and only the main "default" tomcat page is displayed. I use Apache2 as ...
2
votes
2answers
4k views

Add trailing slash when it's missing in nginx

I'm running Magento on Nginx using this config: http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/configuring_nginx_for_magento. Now I want to 301 all URLs without trailing slash ...
2
votes
2answers
2k views

How to configure both apache and tomcat on same url?

Say I have a registered URL mywebsite.com pointing to my server with a public IP address. I want to run both tomcat and apache to serve pages (i.e., some static pages on apache and some dynamic pages ...
2
votes
4answers
2k views

URL Dash Disadvantage

Anyone know any hard facts about the disadvantage of having a dash in your URL? Heard some disparaging words about having dashes in your URL and it just so happens that our company has a dashes in ...
2
votes
1answer
1k views

Windows Internet shortcut with embedded username:password [closed]

URLs of form http://username:password@example.com:80/ work fine in the address bar of any browser I tried, yet when I create a shortcut in Windows and try to launch it, it says it cannot find the ...
2
votes
1answer
78 views

How come I can only visit the subdomain if I include the index.php in the address?

How come I can only visit the subdomain, e.g. subdomain.domain.com, if I include index.php? subdomain.domain.com, doesn't work. subdomain.domain.com/index.php works. do I have to change something ...
2
votes
1answer
852 views

Nginx url mapping

Right now I have my website running on tomcat, www.domain:11000/projectName, I am trying to map when the user enters www.domain:10000 (would do port 80 but my ISP blocks port 80 so I use port ...
2
votes
2answers
125 views

Make shortened and long urls play together on the same domain (RewriteRule)

Long story short, I want to have both example.com/aJ5 and example.com/any-other-url working together. I'm using apache and not very good at writing regex. I have already a global RewriteRule which ...