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

119
votes
8answers
9k 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 ...
55
votes
22answers
9k 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: ...
30
votes
1answer
1k 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
5k 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 ...
9
votes
13answers
8k 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 ...
7
votes
8answers
7k 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 ...
6
votes
11answers
544 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
4k 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, ...
5
votes
2answers
2k 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 ...
5
votes
2answers
995 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
4answers
2k 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 ...
4
votes
2answers
408 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
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
4answers
14k 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 ...
4
votes
2answers
760 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
398 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
345 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
2answers
537 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
442 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
712 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
473 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
936 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
76 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
8answers
513 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
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 ...
2
votes
1answer
6k 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 ...
2
votes
1answer
601 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 ...
2
votes
4answers
3k 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
1k 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
3answers
4k 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 ...
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
300 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
2answers
1k 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
1answer
77 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
687 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
1answer
3k 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 ...
2
votes
1answer
5k 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 ...
2
votes
1answer
886 views

Removing the /folder/ from Wordpress using mod rewrite?

I'm working on a blog installed in its own sub folder so the URL for an article looks like this: I need it to just look like this: http://www.sampleurl.com/article I'm not able to install it on ...
2
votes
3answers
110 views

URL Query String Causes Layout to Break

I have an Apache server based Wordpress site that rewrites URLs to be "pretty". When I include a query parameter in the url the site breaks. So: http://mysite.com works fine but: ...
2
votes
4answers
110 views

Change the prefix of a website? (IE: www.example.com/bob_11 -> bob_11.example.com)

Some websites have variable prefixes. For example: www.example.com/bob_11 is presented as bob_11.example.com. How do I do that? I assume its a sub-directory, but can't find anything explaining how to ...
2
votes
1answer
2k views

Apache: redirect specific URL to a local server on different port

This seems straightforward, but I can't make it work. I have a pretty trivial webserver that only needs to do two things: example.com/status.html returns a local file (this works) example.com/atom ...
2
votes
2answers
3k views

How to configure IIS 7.5 to allow special chars in Url for ASP.NET 3.5?

I'm trying to configure my IIS 7.5 to allow specials chars in the url for ASP.NET. This is important to support wide-spread legacy url's on a new system. Sample url: ...
2
votes
4answers
126 views

Website Versioning Practices

I tried searching, but I couldn't really figure out the best search terms to find my answer. I have a Ubuntu 10.04 server with Apache. I want to set up a site that will be versioned, so my file ...
2
votes
3answers
6k 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 ...
2
votes
1answer
46 views

Access all websites on a server via a shared domain

My setup is: Nginx(80) as a transparent proxy Apache(81) as back-end web server The paths to each domain on the server are like this: /var/www/$username/data/www/$domainname Of course to access ...
2
votes
3answers
664 views

Using nginx and/or varnish to cache server-generated 301 redirects

I'm implementing a sort of url-shortener service. What happens is that I have some backend app server that takes in a request, does some computation and returns a 301 redirected url back upstream to ...