My domains do not work without the www in URL

Posted on 2009-04-21
Last Modified: 2013-12-05
I recently found out that none of the domains on my server work without the "www" in the URL.  In other words for domain "", WILL work, whille won't (just an example).

I have my own DNS on my server but I cannot see which entry might be the one I might need.  I need specific information on what to add to the DNS in order to rectify this.

I already have a line that says:

(same as parent folder)  Host A  [my IP address]

I'm pretty sure the problem lies in my DNS, just not sure what to do.

Thanks for all who respond.
Question by:blaster998
    LVL 3

    Expert Comment

    Can you try creating a CNAME record instead of an A record?  Add as an alias for

    Can you verify that DNS is working properly?  When you run nslookup on the server does it return the same IP for both and

    Author Comment

    I have a record in DNS like:
    www       Alias (CNAME)     [domain name]  <---without "www"
    Is this what you mean?
    I did a NSLOOKUP and it DID get the same IP address for both scenarios using "www" and "non www" for the domain
    LVL 3

    Expert Comment

    What web server are you using?  IIS 5?  If so, you may want to make sure the web server is configured properly.

    For IIS 5:


    Author Comment

    Yes.. IIS 5.  So my settings are correct and its probably a web server issue?

    Author Comment

    One of my domains DOES work without the "www".  The only difference in the DNS entries is the MX line for email that the domain (which works) HAS, the other doesn't.
    LVL 5

    Expert Comment


    if DNS has a www entry and it is pointing to the correct web  server, the issue could  be that there is no entry in the host headers configuration for this site

    have a look at the following link:
    LVL 2

    Assisted Solution

    you will need to another header to your website

    In website properties click on advance and in website identification add an entry without www


    Author Comment

    Thanks Asethi, I went into IIS 6.0 (not IIS 5)  and looked at the "advanced tab".  The 2 entries are already there for both "www" and without "www".  Just to be sure, I deleted the entry that didn't have the "www" and re-added it.
    Tested the domain again, but I'm still getting an errror "Oops!  This link appears broken"
    LVL 70

    Accepted Solution


    The DNS part is easy enough to test. Run:


    If you get the right IP address then DNS has finished. Then it's time to look on the web server. I would check the following:

     - The Host Headers (sounds like you have)
     - The Logs for the default site and the site holding the host header

    In the logs, check for the values used to access the site, and see if it's hitting the default web site rather than the specific site. This does assume that you still have a default web site with no host header defined.


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
    One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now