website does not load without www

Good morning!
I have a situation with one of our websites. The site is hosted off site.  Every so often when someone go to our web c-m-p.com. It does not load,  you have to www.c-m-p.com.  any suggestions on why that is?  nothing has changed with my registrar.
tips54Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

strivoliCommented:
Some browsers (and sometime behavior changes from version to version) add www automatically to the URL the users type in the address text box. For those that don't, the solution is adding *.domain.com to the DNS.
0
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
You could also add a redirect rule to redirect all non wwwrequests to www

http://kb.siteground.com/how_to_redirect_nonwww_urls_to_www/
0
Don JohnstonInstructorCommented:
And to expand on that comment, on some browsers, I don't have to add ".com".  I can type "google" or "cisco" in the address bar and the browser will automatically fill out the rest.
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

tips54Author Commented:
Strivoli,
I already have (* (All Others)       7200       204.100.163.112 ) on my DNS with the registra. and it does not work.
Monty,
the website is hosted off premise.
0
Jan SpringerCommented:
what you need is a ServerAlias directive in your web server configuration for that domain and make sure that www.domain.com and domain.com both point to the same address in DNS.

I don't know IIS, but that is the term in Apache.
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
You have a 301 redirect set up on your server.  If you add c-m-p.com to the address bar, your site redirects to www.

What you are describing sounds like you are using a search bar to add the web address and this is common.   What browser are you using?
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Your server is on media temple running nginx.

Media temple has instructions on how to set up  your redirect.  http://kb.mediatemple.net/questions/1889/How+do+I+use+the+Redirect+Domains+tool%3F

If you are having issues, you may want to double check that set up.

But from what you are describing, it does sound like you are having browser issues and not webserver issues.  I tried multiple times on chrome/mac and couldn't reproduce any problems.   Try clearing your cache.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tips54Author Commented:
I think it's browser related as well.  I use FireFox and I don't have that issue.  The problem occurs with IE.
0
Dave BaldwinFixer of ProblemsCommented:
That page redirects properly in Firefox, Chrome, and IE8 on my computer.  There may be a setting in "Private Browsing" that blocks redirects.  If that is what is happening, you can't do anything about it.  Sometimes 'redirects' are blocked as a 'security measure'... but pages are redirected for perfectly normal reasons fairly often.
0
tips54Author Commented:
I will check with the end user.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.