The consensus is clear. You don’t like websites that force you to use the “www” sub-domain, making everyone type www.example.com rather than just example.com. So how do you fix it? With Apache, the world’s most popular web server software, it’s easy.
There’s three things to do.
- Make sure you have DNS entries to provide an IP address for both the domain example.com itself and the www sub-domain.
- Make sure you have Apache configured to serve out your website to both of those domains.
- (Optional) Add a URL re-writing rule so that whichever way users type the website address, their browser will always display your preferred default, with or without the www.
Continue reading “Removing the “www” sub-domain in Apache”
I’m currently researching some websites for a story I’m writing, and I’m amazed that one of the sites requires you to specify the “www” sub-domain or it just won’t work. “WTF? It’s 2011,” I thought. But am I wrong?
I decided to ask on Twitter. “How would you describe a business whose website demands that you use the ‘www’ sub-domain or it won’t work?” Here’s the first responses I got.
Ignorant. Fucking idiots. Sub Standard? Lame. Misconfigured. My work place *sigh* Partying like it was 1999. In need of some DNS sysadmining? Antiquated. One that doesn’t know how to configure their services properly. Pedantic. Woefully Witless Website? DNS-illiterate? Paying for poor advice, choosing inadequate consultants. One that needs help addressing user behaviour.
Well that seems fairly clear…
I had to stop looking after that, my question generated far more responses that I’d expected and the consensus was obvious pretty damn fast.
One person described it as a cPanel-based business, but I disagree. I use the cPanel web hosting control panel at Prussia.Net, and by default it sets up websites to work both with and without the “www”.
Another said he was about to go on a rant about bom.gov.au but they’ve finally fixed it. As has Australia Post at austpost.com.au.
Are there any particularly annoying examples of this phenomenon?
Stilgherrian’s links for 11 March 2009 through 18 March 2009, posted after considerable delay in some cases:
- Conroy’s clean feed | Background Briefing: ABC Radio’s 45-minute exploration. “In the name of protecting children, the government will decree we’ll be forbidden to see ‘unwanted’ and ‘inappropriate’ things on the web. But exactly what that means is a secret, and the thin end of the censorship wedge. Reporter, Wendy Carlisle.”
- The Top 500 Worst Passwords of All Time | What’s My Pass?: Humans are remarkably predictable. Even when they think they’re being obscure.
- One Laptop per Child trial | Centre for Learning Innovation: ’Pong’s video about the first Australian trial of the OLPC, showing kids using the XOs in a primary school in rural New South Wales. Interviews with Pia Waugh and the educators involved. For soem reason, DET have cut the credits off the end, which seems a bit rude.
- The real facts about Telstra and the Fake Stephen Conroy | nowwearetalking: Telstra’s first official response comes via their blog.
- Telstra man behind Fake Stephen Conroy | smh.com.au: Leslia Nassar has revealed himself as the man behind Fake Stephen Conroy. And now the shitfight begins…
- Social networking & social norms | Aide-Memoire: My friend Kate Carruthers links to some interesting discussions about how we’re creating and negotiating new social norms for online social networks. A good a starting point as any.
- File Sharing Has Become the “New Normal” for Most Online Canadians | Daily Exchange: New Canadian research on attitudes to “file sharing”. 45% say people who use peer-to-peer file sharing services to download music and movies are regular Internet users doing what people should be able to do on the Internet. Only 3% believe file-sharers are criminals who should be punished by law.
- Banned hyperlinks could cost you $11,000 a day | smh.com.au: Websites linking to Wikipedia and an anti-abortion website have been threatened with fines.
- ABC Mobile Web Site Failed Accessibility Test | Link: “Currently I am teaching mobile and accessible web design to second year and postgraduate students at The Australian National University in the course ‘Networked Information Systems’ (COMP2410). The ABC
[Mobile] home page would not be of an acceptable standard for student work on this course.”
- You can’t spell Lowest Common Denominator without “ABC Mobile” | Department of Internets: A less-than-complimentary review of the ABC Mobile website.
- ABC Mobile: The new supposedly-mobile-friendly website from Australia’s ABC. But…
- We Have Lasers!!!!!!!!!!: Just like “Sexy People” but… with lasers! Lasers improve everything, right?
- Sexy People: Billed as “a celebration of the perfect portrait”, this collection of over-produced and overly-sentimental portrait photography reminds us just how bad the 1970s and 1980s really were.
- A gentle introduction to video encoding | dive into mark: A set of six articles providing an orientation to to issues involved in video encoding, written with a suitably cynical tone given the dog’s breakfast of formats available.
- Happy 20th Birthday WWW | Link: 13 March 2009 marked the 20th anniversary of the CERN paper outlining what would become the World Wide Web.
- Law Enforcement (Powers and Responsibilities) Amendment (Search Powers) Bill 2009 | NSW Parliament: This Bill proposes giving far more extensive search powers to NSW Police, including the ability to secretly enter premises next to the suspect without notifying the owner or tenant, and to secretly install monitoring software on third-party computers.
- Unicorns and Cupcakes: Two of the worst styles of kitsch collide in an explosion of… kitsch.
- An interview with an anonymous blog commenter | Joanna Geary: A regular commenter on the Birmingham Post‘s website, “Clifford” chats about his experience.
- australian screen: Australia’s audiovisual heritage online. “Explore over 1,000 Australian film and television titles produced over the last 100 years, with clips, curator notes and other information.”
- Gary Hayes Emerging Media Diagrams | Flickr: “A range of charts created by Gary Hayes across games, social networks, cross-media, broadband services, virtual worlds. Used in various presentations already and all marked as creative commons – attribution, non-derivative, non-commercial.”